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

to know the t.code from program

Former Member
0 Likes
855

Hi all,

How to see/know the transaction code from SE38? or any other methods to know if we know only program name not known t.code?

early reply highly appriciated/awarded.

Soma

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
839

Hi,

goto se80 tcode and select "program" in the list box and give the program name in the next input field then press enter.

a tree structure will appear to you below the field.in that expand the "transactions" node then u can see the transaction codes for that program.

if u want to get it programatically wriote code like this.


DATA:tran_code like sy-tcode.
SELECT tcode into tran_code FROM tstc WHERE pgmna = 'program name'.
  WRITE:/ tran_code.
ENDSELECT.

rgds,

bharat.

5 REPLIES 5
Read only

Former Member
0 Likes
839

Goto SE38..

Give your program name...

Click Ctrl + Shift + F3 (Where used list)

A popup will appear

Select only "Transactions" check box....

And click "OK"

It will give you the transactions...

Read only

Former Member
0 Likes
839

hi,

I understand that you have program name and now you are looking for a tcode associated to it ... for that check TST* tables ...

Regards,

Santosh

Read only

Former Member
0 Likes
840

Hi,

goto se80 tcode and select "program" in the list box and give the program name in the next input field then press enter.

a tree structure will appear to you below the field.in that expand the "transactions" node then u can see the transaction codes for that program.

if u want to get it programatically wriote code like this.


DATA:tran_code like sy-tcode.
SELECT tcode into tran_code FROM tstc WHERE pgmna = 'program name'.
  WRITE:/ tran_code.
ENDSELECT.

rgds,

bharat.

Read only

Former Member
0 Likes
839

Go to se38..

And give the program name.

Press where useed list and select transaction.

You will find the transaction.

Regards,

Madan.

Read only

Former Member
0 Likes
839

Hi,

All Transaction Codes are stored in table TSTC along with the Program name. So check the entries of table TSTC for respective program

Satya