Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi Error Msg

Former Member
0 Likes
712

I am modifying a report which uses BAPI_BUPA_ADDRESS_ADD to update addresses for business partners.

However some of the addresses are not updated & the bapi error msg(return table)for them is "No authorization to change partner in role".

Any idea what the error msg indicates or where I can get more info about the error msg.

Thanks

Amu

3 REPLIES 3
Read only

former_member186741
Active Contributor
0 Likes
521

this sounds like it's a standard sap security or authorisation message. You are probably not authorised to do what it says. Try to do the underlying transaction manually and see if the same thing happens in some cases. What you can do is, in debug mode, set a beakpoint on statement 'call transaction'. The set the call mode to 'A' to show all screens or 'E' to stop on the error. This might help you. To check out the error more look at the 'return' table. The ID and NUmber refer to message class. Go and view the message in se91 and then do a where used to see where it pops up.

Read only

suresh_datti
Active Contributor
0 Likes
521

In the retrun table, you will also see the message id & message number. Go to SE91 & enter the id & number and click on the 'where used list' icon. This should give you list of the programs from where the error gets triggered..

Regards,

Suresh Datti

Read only

0 Likes
521

Get a snap-shot of the message and email it to the Basis Guys requesting them for access to that transaction. They will add that transaction(s) to your role.

If this helps, award point suitably.