on 12-16-2014 4:12 PM
Hi Guru,
I would like to block the possibility to put DLFL status on Equipment/Serial number with IQ02 or IE02 who have stock on hand (s/n with status ESTO)
Do you know how to do that?
Thank you!
Greetings Lucille,
Try to create an Equipment User Status Profile in OIBS with a User Status such as BDEL "Block deletion" and make that status Set when the status ESTO is set (I'm unable to name the relevant business transaction without looking it up,but there is bound to be one if there is a System Status, I think...)
Then for the User Status make the business transactions mentioned by Xavier Covis Forbidden.
The idea being to set & unset BDEL whenever ESTO is set / unset. Then BDEL becomes your transaction control for setting the Inactivity or Deletion Flags.
Another way of doing this,and one that should not be mentioned in good company, is using the t-code BS22 to edit the System Status ESTO itself, but I would advise against making changes to a System Status, this can mess up your system badly...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I checked, and unfortunately, this idea is not workable, as it seems it is not possible to have an Equipment status set automatically by a goods movement of a serialised material.
You can however Forbid the goods movements, so maybe you could create two stati, one ADEL (blocking the goods movements) and BDEL for blocking deletions, and then they would need to be set manually in IE02. But this seems cumbersome for your end users.
Alternatively, you could try to activate a user exit IQSM0007 Serial numbers, user exit for goods movements to set a status BDEL on the Equipment after a goods movement.
But, if you are going to develop anyway, you might as well use the ready solution provided by Mr Jogeswara Rao Kavala
Hello Lucille,
To complete my reply in terms of user-exit IEQM0003, I am giving the code to be put here, which produces the error message shown below when user sets DLFL status to an Equipment with ESTO status and then tries to Save. Means he will not be able to set DLFL for an Equipment with ESTO status.
Error pop-up
The code to be put in the include ZXEQMU02
Best of luck
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should be possible with user-exit IEQM0003
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lucille Berthiaume,
You can also control this with the following authorization roles.
For Inactive or active mark deletion flag to the equipment
Objet: I_BETRVORG
Field Name BETRVORG (INAK,INAZ,LVMS,LVMZ)
Regards,
Xavier
Hi Lucille,
Yes, it's correct your consideration "The person has or has no access without consideration to the stock on hand."
There are different solutions depending on the stringency of control.
My first idea was by procedure and control by role only, I mean was only one person or qualified persons can make this change of state.
The second I can propose and more hard in ABAP is to modify the program in some Enhancement and and put this code " SET PF-STATUS <> Excluding <>."
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/set_pf_s.htm
This will give in gray the GUI bottom or option do you need control.
Regards,
Xavier
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.