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: 

how to attach a transaction code in a program

Former Member
0 Kudos

Hi

experts can u people please tell me how to execute a program through transaction code

without going to selection screen .i know through transaction code se 93 .but how to

attach to a program for execution

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi Gaurav,

go to se93 tcode and give the tcode name and press create ... in the popup select the second radio button ( with selection screen ) and after that give the report name for which you wnat the tcode and save after giving the description ..

Regards,

Santosh

9 REPLIES 9

Former Member
0 Kudos

hi Gaurav,

go to se93 tcode and give the tcode name and press create ... in the popup select the second radio button ( with selection screen ) and after that give the report name for which you wnat the tcode and save after giving the description ..

Regards,

Santosh

Former Member
0 Kudos

While creating the transaction code(using SE93) if values are fixed then select 'Transaction With Parameters' option and in that by selecting the program you can directly give values in the screen fields.

Former Member
0 Kudos

Go to SE93. Create a Z t-code eg. ZONE. Save the T-Code in a Package.

In the text box "Program Name " give the name of the Z program that u want to execute using the T-code. Save and activate.

Regards,

Dinesh

Reward if useful

Former Member
0 Kudos

hi Gaurav,

go to se93 tcode and give the tcode name and press create ... in the popup select the second radio button ( with selection screen ) and after that give the report name for which you wnat the tcode and save after giving the description ..

Regards,

Suresh.A

Former Member
0 Kudos

hi,

U can create the transcation code by using SE93 & SE80.

go to t-Code SE93 -> write the name of ur t-code that u want to create e.g ZCODE -> click create -> write short text, if it is module pool select dialog transaction radiobutton and if it is a report select Program and selection screen (report transaction) radiobutton. -> enter the program name ->tick SAP GUI for windows -> save

OR

go to SE80 ->write the program name -> right click on the program name -> create -> transaction -> and then follow the above process.

if useful please reward points.

Former Member
0 Kudos

Hi Gaurav,

go to ur program in se38.

now click on Display object list button(After Execute and where-used-list buttons)

now right click on the program name and create T-Code.

Regards,

Ramana Prasad.T

Former Member
0 Kudos

Hi..

u can create a transaction for table,program,variant and function modules also using se93..select the 2nd radio button and provide the prgrm name..save n activate..

hermanoclaro
Participant
0 Kudos

Hi,

You can do it both by SE93 or CTRLSHIFTF5 while editing your program. With the second option, a menu will appear at your left on the screen, right click the name of your program and select Create>Transaction.

At the screen of the transaction creation, there will be a lot of options to choose, like where can the program can be run (Web, saplogon, etc.) and what screen it starts and how your program should be run.

Regards,

-h

Former Member
0 Kudos

HI IF U CREATE A SELECTION SCREEN THE SCREEN NUMBER IS BY DEFAULT 1000 NUMBER

AFTER YOU ENTER INTO SE93 TRANSACTION

IT ASKS FOR DESCRIPTION AFTER THAT ENTER PROGRAM NAME AND SCREEN NUMBER AS 1000 FOR UR CREATED SELECTION SCREEN

AND SAVE IT

THATS OK

FROM NEXT TIME ON WORDS IF U ENTER THAT TRANSACTION THAT WILL WORK

REGARDS

NARESH