Skip to Content
avatar image
Former Member

Same program/ different tcode with different selection screen

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

9 Answers

  • avatar image
    Former Member
    Jul 15, 2009 at 06:10 AM

    Hi,

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

    regards,

    Rama reddy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 06:13 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 06:13 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 15, 2009 at 06:14 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 15, 2009 at 06:14 AM

    Hi,

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

    Thanks,

    Sri.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 06:15 AM

    hi,

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

    go to SE93 and make it

    Hope this helps

    Regards

    RItesh J

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 15, 2009 at 06:15 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 06:16 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 15, 2009 at 07:27 AM

    Thanks to All !!

    Add comment
    10|10000 characters needed characters exceeded