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

how to find Tcode

Former Member
0 Likes
7,292

hi all

my search criteria is t_code

i want to find how many user have the right for same.

sachin

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,711

hi,

When initiating a transaction, a system program performs a series of checks to ensure the user is authorized.

1. The program checks whether the transaction code exists in table TSTC.

2. The program checks whether the transaction code is locked by the administrator (transaction code SM01).

3. The program checks whether the user has the authority to start the transaction. Authorization object S_TCODE (transaction start) contains the authorization field TCD (transaction code). The user must have the appropriate authorization for the transaction code to be started (for example, FK01, Create Vendor).

4. The program checks whether an authorization object is assigned to the transaction code. If this is the case, the program checks whether the user has an authorization for this authorization object. The transaction code/authorization object assignment is stored in table TSTCA.

Note: An SAP program controls steps 1 through 4. It displays an automatic message to the user if an authorization attempt fails in the step.

5. The system performs authorization checks in the ABAP program using the ABAP statement AUTHORITY-CHECK.

Regards

Sudheer

8 REPLIES 8
Read only

Former Member
0 Likes
2,711

Hi Sachin

goto SE11/12 enter table name as TSTC and execute that table then it iwll display all the t-codes.

How to Process "Being Created" Sessions

Regards,

kumar.

Read only

Former Member
0 Likes
2,711

Hi,

You can find all transaction codes in TSTC table.

Regards,

V.Raghavender.

Read only

Former Member
0 Likes
2,712

hi,

When initiating a transaction, a system program performs a series of checks to ensure the user is authorized.

1. The program checks whether the transaction code exists in table TSTC.

2. The program checks whether the transaction code is locked by the administrator (transaction code SM01).

3. The program checks whether the user has the authority to start the transaction. Authorization object S_TCODE (transaction start) contains the authorization field TCD (transaction code). The user must have the appropriate authorization for the transaction code to be started (for example, FK01, Create Vendor).

4. The program checks whether an authorization object is assigned to the transaction code. If this is the case, the program checks whether the user has an authorization for this authorization object. The transaction code/authorization object assignment is stored in table TSTCA.

Note: An SAP program controls steps 1 through 4. It displays an automatic message to the user if an authorization attempt fails in the step.

5. The system performs authorization checks in the ABAP program using the ABAP statement AUTHORITY-CHECK.

Regards

Sudheer

Read only

Former Member
0 Likes
2,711

goto se11, type TSTCT, you'll have the list of tcode's

or got se93 and type se* press F4, you'll get the list of tcodes...

Regards,

Pavan P.

Read only

Former Member
0 Likes
2,711

Hi..

If u Need to Find the Tcode means .. Goto se11 and tablename TSTC.

or..

If u need to find, what all the transcations will be Executed for the particluar user means.. Goto Tcode <b>SUIM.</b>

In that Expand the TRANSACTIONS TREE.

And execute the .. EXECUTABLE FOR USER.

And give the user name..

Now u may able to know what transactions will be executed for the particular user.

If any queries Means Reply me.

Hope it will helps.

Regards

Bala..

Read only

0 Likes
2,711

Dear

i want to find t_code MM01 for that how many user have right's?

Read only

0 Likes
2,711

Hi sachin,

The authorization object S_TCODE (transaction start) contains the field TCD (transaction code). The user must have an authorization with a value for the selected transaction code. The system checks whether the transaction code is assigned an authorization object. If so, a check is made that the user has authorization for this authorization object.

rgds

Deepak.

Read only

former_member784222
Active Participant
0 Likes
2,711

Hi,

You can use fm

'AUTHORITY_CHECK'.

Usage

Call 'AUTHORITY_CHECK'

EXPORTING

USER = <USER>

OBJECT = 'S_TCODE'

FIELD1 = 'TCD'

VALUE1 = <TRANSACTION CODE>

IMPORTING

SY-SUBRC = <VAL>.

Trap the exception.

You can use this FM in a program.

Hope this helps.

Thanks and regards,

S. Chandra Mouli.