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: 

TabStrip in Selection Screen

Former Member
0 Kudos

Hi All,

I have used tabstrip in selection screen of alv report. In tabstrip I have 2 tabs, one is "Initial Run" & second is "Incremental Run".

I want to check active tab after start of selection and based on active tab my report gives output. Every thing runs perfect in foreground.

But when I run same thing in background, at that time system uses my default tab (Initial Run) even though I have selected Incremental Run Tab.

Please help me if I miss any thing in code.

Regards,

Meet Gohel

3 REPLIES 3

anup_deshmukh4
Active Contributor
0 Kudos

Use a varient and save it and using a varient run the program in background

Former Member
0 Kudos

Hi Meet,


SELECTION-SCREEN: BEGIN OF TABBED BLOCK tabs FOR 10 LINES,
                  TAB (20) button1 USER-COMMAND push1
                                   DEFAULT SCREEN 200,
                  TAB (20) button2 USER-COMMAND push2
                                   DEFAULT SCREEN 300,
                  END OF BLOCK tabs.

In the above code tabs is the name of the tabstrip. In your program a global structure with the same name will be created with a structure having three components: prog of type c with length 40, dynnr of type c and length 4, and activetab of type c with length 132. So from trhe value of the component dynnr and activetab of tabs you can know which tab is activated.

For more details press F1 on the keyword TABBED.

Regards

Dillip Sahoo

Former Member
0 Kudos

Hi Meet,

Is your issue solved or getting the same problem?

Regards

Dillip Sahoo