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: 

TABBED BLOCK -- Selection Screen

former_member212005
Active Contributor
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

former_member212005
Active Contributor
0 Kudos

Thanks for all the suggestions.