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

Assign Tcode to a ABAP Program

Former Member
0 Likes
15,218

Hello ABAP Experts,

What is the procedure to assign a Tcode to a ABAP Program. So when ever you execute the Tcode the program is executed.

Suggestions appreciated.

Thanks,

BWer

1 ACCEPTED SOLUTION
Read only

Former Member
8,422

hi bwer,

goto transaction SE93

GIVE NAME-> CREATE

ENTER SHORT DESCRIPTION

AND THE RADIO BUTTON <b>SELECT PROGRAM AND SELECTION-SCREEN.</b>

THEN SPECIFY THE PROGRAM NAME.

HOPE THIS HELPS,

DO REWARD IF IT HELPS,

PRIYA.

Message was edited by: Priya

7 REPLIES 7
Read only

sridhar_k1
Active Contributor
0 Likes
8,422

Create a tcode in SE93 and assign program.

Regards

Sridhar

Read only

Former Member
8,422

hi,

go to se93.

give a transaction code which u want to create.

then give the the program name , to which u want to attach the code.

reward if helpful.

regards,

keerthi.

Read only

Former Member
8,423

hi bwer,

goto transaction SE93

GIVE NAME-> CREATE

ENTER SHORT DESCRIPTION

AND THE RADIO BUTTON <b>SELECT PROGRAM AND SELECTION-SCREEN.</b>

THEN SPECIFY THE PROGRAM NAME.

HOPE THIS HELPS,

DO REWARD IF IT HELPS,

PRIYA.

Message was edited by: Priya

Read only

Former Member
0 Likes
8,422

Go to se93 ,give a transaction code of your choice,it should start with either "Z" OR "Y".

then based on the program select the approriate one in the pop up window i.e

FOR EX MODULE POOL PROGRAM SELECT THE -- PROGRAM AND SCREEN DIALOG TRANSACTION.

ETC.

lET ME KNOW IF YOU NEED ANYTHING ELSE.

SWATHI

Read only

Former Member
0 Likes
8,422

Hi,

1) Go to the program

2) In ABAP editor, u will find

'Other Object (Shift + F5)' icon on application

tool bar

3) Click on that

4) Program name by default would have appeared

5) Select the Transaction radio button

6) Give the tcode name there

7) Click on Create (F5)

😎 Now a pop up window will come where u need to

enter the transaction details like short text

and start object (type of the program)

9) Press Ok

10) Now it will take u to 'Change Report Transaction'

screen

11) enter the program name

(if needed other details also) and save it.

12) Transaction code would have been created

This is other way of assigning tcode to a program

Read only

Former Member
0 Likes
8,422

Hi,

following are the steps:

1:go to SAP transaction :SE93.

2:Enter the TCODE you want to assign to program.

3:Press create button.

4:Enter short description.

5:It will ask You program name to which tcode is to be assigned and screen number as well..

6: To get screen no :

i) Go to Abap editor (SE38)

ii)open ur program that need to be assigned tcode.

iii)In the menu bar select - system -staus

it will show u screen number.

This will create tcode for ur program.

Read only

Former Member
0 Likes
8,422

Hi,

Following Is the procedure :

1] Go To other objects (or press Shift + F5).

2] Choose Transaction Checkbox.

3] Now goto cretae button ( or press F5).

4] This will lead you to create transaction screen.

5] Fill necessary parameters like program name , TCODE name , screen number.

6] Save it and activate the same.

Another way to create TCODE :

1] Goto transaction SE93.

2] Follow steps 4,5,6 as explained above.