Application Development and Automation 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: 
Read only

Transaction codes for roles

Former Member
82,659

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
Read only

Former Member
35,657

Hi,

Use table AGR_1251 and filter by S_TCODE object.

Rakesh

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

10 REPLIES 10
Read only

Former Member
35,658

Hi,

Use table AGR_1251 and filter by S_TCODE object.

Rakesh

Read only

0 Likes
35,657

Hi

Goto SUIM- Transactions - > Executable by a SAP role

Read only

0 Likes
35,657

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

Read only

Former Member
0 Likes
35,657

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.

Read only

Former Member
0 Likes
35,657

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

Read only

0 Likes
35,657

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.

Read only

Former Member
0 Likes
35,657

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.

Read only

0 Likes
35,657

This message was moderated.

Read only

Rizwan9697
Participant
0 Likes
35,655

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
Read only

0 Likes
35,655

as shown below

Mohammed