12-16-2009 8:56 AM
Dear Experts,
How to check transaction code maintained for user Role.
For Example I have one User X who have Authorization of T. Code J1ID
is it possible to find out T. Code J1ID is maintained in which role, User have No of Roles in his ID I dont want to search it by open each and every Role. is there any short way to search T. Code.
Thanks,
JA
12-16-2009 9:01 AM
Hi Javeed,
There are many ways to do it.
Go to SUIM>> Roles> Complex Selection Criteria>
Enter the User ID: USERX
In the Objects enter: S_TCODE (Press Enter)
Enter the Tcode as the field value of this object.
Then click on execute, you will get the list of roles assigned to this userX having above mentioned Tcode. Let me know if you need any more information on this.
12-16-2009 9:01 AM
Hi Javeed,
There are many ways to do it.
Go to SUIM>> Roles> Complex Selection Criteria>
Enter the User ID: USERX
In the Objects enter: S_TCODE (Press Enter)
Enter the Tcode as the field value of this object.
Then click on execute, you will get the list of roles assigned to this userX having above mentioned Tcode. Let me know if you need any more information on this.
12-16-2009 9:10 AM
Second option is through tables.
1 - Go to SE16, table name: agr_users.
2 - Pull out all the list of roles which are assigned to userX.
3 - Now check table agr_1251> Object:S_TCODE> Enter the tcode as the field value (LOW) also enter all the role names which were pulled out in point 2.
4 - Execute it which will list out all the roles having access to that Tcode.
Let me know if you need any more information on this.
12-16-2009 9:19 AM
12-16-2009 9:32 AM
> You could also use the table AGR_TCODES.
AGR_TCODES is notouriously unreliable as it only looks in the role menu. That doesn't always match with the actual S_TCODE object entries in the role. Also with searching tables you could miss transactions hidden in S_TCODE ranges......
12-16-2009 11:11 AM
You are right.. this would also exclude the transaction added manually in S_TCODE and I remember having my share of difficulties when roles have difference in agr_1251 and agr_tcodes.
Thanks,
CP
12-17-2009 7:09 AM