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: 

how to get list of TCODE allowed to be executed for a user

naveenvishal
Contributor
0 Kudos

abap program..to get the list of TCODES allowed by the basis person for a user/me.....code plz....

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

check in the tables :

AGR_SELECT

AGR_TCDTXT

AGR_TCODE3

AGR_TCODES

here you will get role name and then the tcode attached to it,

AGR_USERS

AGR_USERT

these are the tables where user is attached to role.

first check whether a role contains particular t.code and then check whether user has access to that role or not.

5 REPLIES 5

Former Member
0 Kudos

Hi Naveen,

Check the tables,

USR01

USR02

UST10S

Thanks,

Reward If Helpful.

Former Member
0 Kudos

hi,

check in the tables :

AGR_SELECT

AGR_TCDTXT

AGR_TCODE3

AGR_TCODES

here you will get role name and then the tcode attached to it,

AGR_USERS

AGR_USERT

these are the tables where user is attached to role.

first check whether a role contains particular t.code and then check whether user has access to that role or not.

Former Member
0 Kudos

Hi

User is assigned with Roles

and Roles are attached to specific Transaction Codes

check the tables

AGR_USERS

AGR_TCODES

USR10

UST12

and for User related data USR01,USR02 and USR03

Regards

Anji

uwe_schieferstein
Active Contributor
0 Kudos

Hello Naveen

The more elegant approach is to use the<i> User Information System</i> (area menu <b>SUIM</b>). Enter SUIM into the command field of the <i>SAP Easy Access</i> screen and choose: <i><b>Transactions -> Executable for user</b></i>

Regards

Uwe

uwe_schieferstein
Active Contributor
0 Kudos

Hello Naveen

If you need a programmatic approach have a look at function module <b>SUSR_TCODES_LIST_SELOPT_USER</b> (release 4.6c) which is called by the SUIM report.

Regards

Uwe