Application Development 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: 

table for authorisation values

Former Member
0 Kudos

Hi,

I have one requirement to fetch the plants for which user is authorised.

In user profile authorisation data, authorisation for plant is given at organisational level. I need to fetch the plant value from organisational level and comapre it with the value in z table. If the value does not match, system should display message " no authorisation for given plant".

My question is that where are these authorisation values stored? Do we have any BAPI or FM to fetch these values? I have only userID as input and WERKS as field. I believe that in authorisation data, no authorisation object is available at organisational level.

Request your help.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Nikhil,

Make use of AUTHORITY-CHECK in your program to validate the authorization to execute the report.

Check the link below for better understanding of Authority-check:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a5...

Revert in case you need more info.

1 REPLY 1

Former Member
0 Kudos

Hi Nikhil,

Make use of AUTHORITY-CHECK in your program to validate the authorization to execute the report.

Check the link below for better understanding of Authority-check:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a5...

Revert in case you need more info.