‎2008 Oct 17 9:04 AM
I have a program which uses a tabbed block with 5 subscreens.
This is actually a program which will be run in background.
I select a particular subscreen and save the parameters as a variant.
When I execute it in background I need to know which tab screen's data is the variant recorded for.
In other words I need to know which is the active tab as per the variant I saved.
If I saved the variant for TAB3 and run the program in background,
I need to know at run time that the active tab is TAB3.
The reason why I need to know is because some processing has to be done based on TAB called for.
‎2008 Oct 17 9:24 AM
Hello,
The main you use of BACKGROUND means no interaction to the user.
So we can see anything or any process it is like this before pressing in background start doing the debugging then you find your requirements.
‎2008 Oct 17 9:42 AM
Why donot u follow a specific naming convention for input fields under each tab for example all input fields under TAB3 can be ended with 3.
Say I have 2 parameters in tab3 then in the program we check the contents of them and based on that we can decide which tab is selected.
if p_val3 is not initial or
p_fld3 is not initial.
<< TAB3 is selected
l_tab3 = 'X'.
endif.
if l_tab3 = 'X'.
<< Do further processing
endif.
Hope it will solve ur problem.
‎2008 Oct 21 12:42 PM