10-08-2007 5:27 AM
abap program..to get the list of TCODES allowed by the basis person for a user/me.....code plz....
10-08-2007 5:35 AM
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.
10-08-2007 5:29 AM
Hi Naveen,
Check the tables,
USR01
USR02
UST10S
Thanks,
Reward If Helpful.
10-08-2007 5:35 AM
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.
10-08-2007 5:35 AM
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
10-08-2007 5:42 AM
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
10-08-2007 8:18 AM
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