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 search for tcodes in derived roles

Former Member
0 Kudos

hi guys.

i need to find tcodes in a list of derived roles that we have. i used SE16N and uploaded the list derived roles and executed. it gave me message "no values found". I tried to use the same method for single roles and gave me the desired result but not for derived roles. can anyone help me resolving the mystry.

your input will be appreciated.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

>

> hi guys.

> i need to find tcodes in a list of derived roles that we have. i used SE16N and uploaded the list derived roles and executed. it gave me message "no values found". I tried to use the same method for single roles and gave me the desired result but not for derived roles. can anyone help me resolving the mystry.

> your input will be appreciated.

Your mystery is that you have not thought about the derived role concept completely

no offence ....

If you have seen you cannot add a t-code to derived role correct ...you add it parent role and then it automatically gets replicated in all the derived roles.

So AGR_TCODES if this is the table you are using will not give you the t-codes if you use the derived role but if you use the parent role for it ..you will get the t-codes ...and as you know the t-codes would be same as you cannot add a t-code to derive role until deleting the inheritance relationship.

Ok so now if you want to get list of t-codes of the derived role itself directly ..check table AGR_1251 and run it for object S_TCODE.....you will get the t-codes.

6 REPLIES 6

Former Member
0 Kudos

>

> hi guys.

> i need to find tcodes in a list of derived roles that we have. i used SE16N and uploaded the list derived roles and executed. it gave me message "no values found". I tried to use the same method for single roles and gave me the desired result but not for derived roles. can anyone help me resolving the mystry.

> your input will be appreciated.

Your mystery is that you have not thought about the derived role concept completely

no offence ....

If you have seen you cannot add a t-code to derived role correct ...you add it parent role and then it automatically gets replicated in all the derived roles.

So AGR_TCODES if this is the table you are using will not give you the t-codes if you use the derived role but if you use the parent role for it ..you will get the t-codes ...and as you know the t-codes would be same as you cannot add a t-code to derive role until deleting the inheritance relationship.

Ok so now if you want to get list of t-codes of the derived role itself directly ..check table AGR_1251 and run it for object S_TCODE.....you will get the t-codes.

0 Kudos

Nishant, your comment was a little arrogant but true. Thanks everyone for taking part in this thread.

0 Kudos

>

> Nishant, your comment was a little arrogant but true. Thanks everyone for taking part in this thread.

Sorry about that mate ...I get excited at times

Former Member
0 Kudos

Hello,

Try t-code SE16->AGR_TCODES

You will get the list of t-codes assinged in the derived role as well.

Regards,

Geetha.

0 Kudos

> You will get the list of t-codes assinged in the derived role as well.

Besides the fact that the table was already mentioned, this table only holds the tcodes for the parent roles. Derived roles do not have tcode assignments themselves.

So if you do not search on the parent role name this table will not return any usable information.

0 Kudos

Can get the details based on Based on role details.