BAPI_MATERIAL_SAVEDATA - Authorization issue .
I am using BAPI_MATERIAL_SAVEDATA to change material master data in my program .
I am updating the Planned delivery time field in MRP2 view.
My program is working fine in development server where i am having authorization for MM01 and MM02. But when I am trying to exicute the same program in Quality server it is throwing Authorization error. I am having authorization for MM02 only and i am not having authorization for MM01 but i am using the
BAPI_MATERIAL_SAVEDATA to change the Material(MM02) .
Please guide me . What could be the reason for my issue and any suggestion would be helpful
Thanks in advance.
Try doing the same Activity manually in MM02 with the same data that you are passing to the BAPI.
You may be able to trap something here.
In addition to this just to confirm this is auth error try executing your program with Background UserID or any other user ID which generallt has more Auth.