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

Same program/ different tcode with different selection screen

Former Member
0 Likes
3,279

Is it possible to have one program with more than one t-codes so that we can get different selection screens...with each t-codes while the program will remain the same.

9 REPLIES 9
Read only

Former Member
0 Likes
2,106

Hi,

yes you can create different t code for same program..

regards,

Rama reddy

Read only

Former Member
0 Likes
2,106

Yes, you can. Go to SE93 and specify the T-code names. While creating, mention the correct selection screen numbers for the respective T-Codes.

Read only

Former Member
0 Likes
2,106

Hi,

Yes you can do that. The process is as follows.

1. Create two transaction codes say T1 and T2 for same program.

2. Now in your program check the transaction code value using SY-TCODE.

3. If it is T1 then invoke the first screen say S1 else invoke screen S2.

Regards,

P Bansal

Read only

Former Member
0 Likes
2,106

Hi anju,

If you are speaking about Module pool Programs,then yeah you can have different tcodes for the same program with different screens.

tcode1 - Program1 & screen 9000.

tcode2 - Program1 & screen 9001.

Also you can have new tocde for the same program and same screen as well.

tcode1 - Program1 & screen 9000.

tcode2 - Program1 & screen 9000.

Regards

Sajid

Read only

sridhar_meesala
Active Contributor
0 Likes
2,106

Hi,

You can create any number of transactions in a program and each transaction should be associated with the screen number.

Thanks,

Sri.

Read only

Former Member
0 Likes
2,106

hi,

yes you can make different T-CODE for the same program

go to SE93 and make it

Hope this helps

Regards

RItesh J

Read only

RahulKeshav
Active Contributor
0 Likes
2,106

Hi AS,

Yes you can have two tcodes for same program...

As for as Selection screen is concern..there is a field "SCREEN" in se93 ....i think u can put diff.diff screen there...

Plz try....

thnx

Rahul

Read only

Former Member
0 Likes
2,106

Hi,

You can also associate a screen number to each transaction code for same program.

Also SE 93 transaction can be used to manage this.

Read only

Former Member
0 Likes
2,106

Thanks to All !!