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

Re: BAPI for checking Authorization

Former Member
0 Likes
450

Hi,

we have a requirement that user based on profit center assigned in his role has to execute the report, we want to use BAPI in program to check the logon user is authorized to execute the report.

please help to provide BAPI for checking user authorization

Regds

Sri

2 REPLIES 2
Read only

Former Member
0 Likes
422

Hi,

you do not need to use BAPI for this purpose. Use statement [AUTHORITY-CHECK|http://help.sap.com/abapdocu_70/en/ABAPAUTHORITY-CHECK.htm] instead.

Regards,

Adrian

Read only

Former Member
0 Likes
422

Hi

Get an Authorisation object create """XXXXXX""" from basis or an Functional consultant .

And using PATTERNS option u can call this object in your programme with the fields required .

Regards

Swapnil