Skip to Content

call a transaction code using tabstrib

Hi experts
I have requirement to create a program that calls the two different dynpros from two different programs, this should with the help of two TABSTRIPS.

My first Idea was to do this by calling the required program when we click on the TABSTRIPS . as this program has no selection screen and the dynpro suppos be directly called, but till now everything was in vain !!!

here how should the TABSTRIP look like when i click on it.....

selection-screen begin of screen 101 as subscreen.
selection-screen begin of block b1 with frame title text-001.

selection-screen end of block b1.
selection-screen end of screen 101.

selection-screen begin of screen 102 as subscreen.
selection-screen begin of block b2 with frame title text-002.

selection-screen end of block b2.
selection-screen end of screen 102.


selection-screen begin of tabbed block one for 20 lines.
selection-screen tab (15) name1 user-command ucomm1
default screen 101.
selection-screen tab (17) name2 user-command ucomm2
default screen 102.
selection-screen end of block one.

initialization.

  name1 = 'Tab 1'.
  name2 = 'Tab 2'.
start-of-selection.

if sy-ucomm = 'Tab 1'.
  call TRANSACTION 'Z_initial01'.
  ENDIF.

Please could some one guid me to achive this ??

Best Regards

Jenie

test10.png (4.9 kB)
test02.png (26.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 16, 2018 at 05:18 PM

    Hi Jennifer,

    Could you please explain why calling different programs?

    Following SAP TABSTRIP documentation for you understanding how it works.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2018 at 01:25 AM

    I think this should be done using subscreen in module pool not selection screen.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.