‎2009 Aug 31 3:23 PM
Hi Experts,
We have a program which uses the BAPI_MATERIAL_SAVEDATA which will update the MINLOTSIZE in the MRP view
The BAPI is checking for 2 Authorization objects M_MATE_STA (Authorization to change the MRP View) and M_MATE_MAR (Authorization to change the Material Type) for Activity = 1 ( Create ). The User have the authorization for the first one and not for the second (bt the user have the authorization for the Activity = 2 ) which raises the exception in the program resulting in the failure of the update.
I think the BAPI works in this way first it will check for 01 activity and then checks for 02 activity. but while checking for 01 activity it raises an exception its coming out and doesn't check for 02. I feel like its the bug in the program.
when the user updates the field using the transaction MM02 it works perfectly.
Can anyone help me on how to solve this issue.
Thanks,
Prem.
‎2009 Aug 31 3:52 PM
Hi,
You can try using transaction SU53 after you run the BAPI and check if the user needs any extra authorization.
If not, you should look for an OSS NOT and post a customer message to SAP if you don't find anything.
Regards,
Gilberto Li
‎2009 Aug 31 4:06 PM
As gilbert suggested,
take a screenshot of SU53 after you run the BAPI and send it to basis. Basis will understand what roles need to be added to the user.
Thanks
Kiran