2010 May 27 10:55 AM
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
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
2010 May 27 11:14 AM
Use a varient and save it and using a varient run the program in background
2010 May 27 11:26 AM
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
2010 May 31 7:30 AM
Hi Meet,
Is your issue solved or getting the same problem?
Regards
Dillip Sahoo