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: 

Same program/ different tcode with different selection screen

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

regards,

Rama reddy

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

shaik_sajid
Active Contributor
0 Kudos

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

sridhar_meesala
Active Contributor
0 Kudos

Hi,

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

Thanks,

Sri.

Former Member
0 Kudos

hi,

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

go to SE93 and make it

Hope this helps

Regards

RItesh J

former_member187457
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Thanks to All !!