‎2007 Feb 09 3:40 PM
Hi,
In MB1A transaction we want to give authorizations , only for movement type 221.
We do not want to give authorizations for special stock 'Q'.
(We added authorization object M_MSEG_BWA with movement type 221).
But still its allowing to go ahead with special stock 'Q'.
Can anybody help?
Regards,
Priti.
‎2007 Feb 09 4:31 PM
Hi Priti,
I was just looking @ your query and checked out all the available authorization objects and unfortunately no authorization objects check the field you want checked, i.e. Special Stock Indicator SOBKZ. (You can also see this from table
TOBJ). Hence solution (little bit of a pain and my only help) - create an Z authorization object, the same as M_MSEG_BWA but add SOBKZ as a field into it and check this object in the user exit attached to line item processing (since the indicator is @ item level). Just see whether the user exit EXIT_SAPM07DR_001 helps in this regard.
Ofcourse, you would need to create the profiles on the new auth. object and attach them to users - but if it works, then it was all worth it
I hope you find an easier solution too.
Rgds,
Aditya
‎2007 Feb 09 8:30 PM
Hi Aditya,
I checked and there was no standard object available for SOBKZ.
Thanks for the solution.
Regards,
Priti
‎2007 Jun 08 4:37 AM
Aditya,
We want to add some checking of MB1A when the user press Enter key or Save the document. Would u mind tell me what's the user exit program we need to modify?
EXIT_SAPM07DR_001 or zxmbcu05?
regards
Jack