1. Create several screens:
- 9001 - main screen with table control
- 9002 - subscreen for tab pages
- 9003 subscreen for 1st tab page for table control
2. Declare selection screen as subscreen in your program
SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN NESTING LEVEL 4.
SELECT-OPTIONS: so_ebeln FOR gs_sscr-ebeln.
SELECTION-SCREEN: SKIP.
SELECTION-SCREEN: PUSHBUTTON /2(12) btn_go USER-COMMAND btn_go.
SELECTION-SCREEN: SKIP.
SELECTION-SCREEN END OF SCREEN 1100.
3. On subscreen 9002 create two subscreen areas:
- one for the selection screen
- second for the subscreen with table control
This subscreen must have following logic:
As a result you will get the following:
On the tab "TAB1" you can see two subscreens:
1) selection screen with the options and the button
2) subscreen with the tab control