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: 

Transaction codes for roles

Former Member

Hi,

How can i see all the transaction codes with T.codes assigned to one role. Becuase in PFCG we can't see the t.codes in the menu tab

Thanks,

Satya

1 ACCEPTED SOLUTION

Former Member

Hi,

Use table AGR_1251 and filter by S_TCODE object.

Rakesh

10 REPLIES 10

Former Member

Hi,

Use table AGR_1251 and filter by S_TCODE object.

Rakesh

0 Kudos

Hi

Goto SUIM- Transactions - > Executable by a SAP role

0 Kudos

Hi,

The best way is to goto t-code SE16 -> AGR_1251 -> give the role name in field AGR_Name and S_Tcode in Object field and execute it,you will get all the t-codes under that role.

Because sometimes t-codes are manually maintained under S_Tcode object under the role, at that time you can not see all t-codes under Menu tab or through SUIM

Please confirm if it helps.

Regards,

Jagan

former_member187565
Active Contributor
0 Kudos

Hi Satya,

> Becuase in PFCG we can't see the t.codes in the menu tab

You can see the tcodes in the menu tab in PFCG.why not?

In PFCG ->write the role whose tcode you want to see->click the change role (pencil)button->click Menu tab->In role menu when you expand the tree you can see the Tcodes which are within the role.

Former Member
0 Kudos

MM

Go to PFCG

Display/change mode

Press glass icon near by printer left side(switch on technical names)

M.1

Go to T-Code PFCG

Enter role name

Go to change mode are display mode

Hit printer icon

You will get the list of T-Codes

M2.

Go T-Code SUIM

Transactions

Executable for role

Enter role name

Execute

M3.

Go to se16/se17

Enter Table name AGR_1251

Execute

Under output make all x

Execute

M4.

PFCG

Enter role

Go to display/change mode

Find s_tcode

Select field tcd or double click you will get list of t-codes

0 Kudos

If you can not see the MENU in the role you might be in a derived role, so find the mother role and look in the menu tab of that role!

This error is also related to the GUI variant you use! So also update to the newest GUI with all pached applied. If you do that you will see the menu in Derived roles again, but of course can not update these in the derived roles.

Former Member
0 Kudos

Another way via SE16n is using two tables.

1. AGR_USERS:     Input the user ID then execute. extract into spreadsheet and copy the roles

2. AGR_TCODES:   Paste the roles to Role Field and execute

Extended name field will provide you the t-codes you need. Not sure though if it lists all the transaction per role but I guess yes.

0 Kudos

This message was moderated.

Rizwan9697
Participant
0 Kudos

Finally I will get to know, its simple via known Table : AGR_1251 and select Object Status as "U - Manual" then you will get exact set of roles which having manual inserted Tcodes in the role under Auth Obj : S_Tcode.

Mohammed

0 Kudos

as shown below

Mohammed