cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Authorization check by user

01-05-2010 3:45 PM
Pawan_Kesari Active Contributor
1493 views 0 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

I need to do determine if a user is authorized to execute a certain transaction. What is the easiest way to implement this. I have been looking at ABAP statement AUTHORITY-CHECK but am not sure if it will work for me.

0 Likes
View Entire Topic
Pawan_Kesari
Active Contributor
0 Likes

You can use Authority object S_TCODE to check if user has authority to execute particular transaction. Pass transaction code in id 'TCD'

AUTHORITY-CHECK OBJECT 'S_TCODE' FOR USER user_name ID 'TCD' FIELD 'ME23N'.