Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_MATERIAL_SAVEDATA - Authorization issue .

Hello ,

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.

Jagadeshwar.G

Former Member
Former Member replied

Hi Jagadeshwar,

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.

Regards

Shital

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question