Defining a tab strip in the Screen Painter 
To define a tab strip at the current development stage, you must use the graphical Screen Painter.
Execute the following steps to create a simple tab strip:
Set the tab strip borders
To determine the tab strip area, proceed as follows:
Define the tab titles
By default, the new tab strip contains two tab titles. Technically, tab titles are treated like pushbuttons. This becomes obvious when you double-click on a tab title in the attributes window. For each tab title, enter field name, field text, and function code.
You can also define tab titles as templates and fill them with texts at runtime.
To create additional tab titles, drag pushbuttons into the tab titles line.
Define the subscreen area
Each tab title must be allocated to a subscreen area.
Proceed as follows:
You can also allocate the subscreen by entering the name of the subscreen area into the reference field in the attributes window or in the field list.

For information on crfeating tab strips in the alphanumeric Screen Painter see
Defining tab strips.
Definition in ABAP
You declare the tab strip in the module pool like Table Controls using the CONTROLS statement.
CONTROLS: MYTABSTRIP TYPE TABSTRIP
.In this example, MYTABSTRIP is the field name of the tab strip in the Screen Painter. At runtime, at present only the attribute ACTIVETAB is available, which determines the currently active tab page. You fill it with the function code of the corresponding tab title.
To activate the tab title whose function code is "F1", use the statement
MYTABSTRIP-ACTIVETAB = 'F1'.

The tab strip controlling is fully integrated into the screen concept, allowing you to use it for batch input.
Program the flow logic
Scrolling on the application server

data: dynpronr(4) type c,
modul(30) type c value ‘Programmname’,
ok_code like SY-UCOMM
....
controls: tabstrip1 type tabstrip.
...
Flow logic:
PROCESS BEFORE OUTPUT.
Module setpage.
Module modifyscreen.
CALL SUBSCREEN sub1 INCLUDING modul dynpronr.
...
PROCESS AFTER INPUT.
CALL SUBSCREEN SUB1.
Module fcode.
...
*-------------------------------------------*
Module setpage output.
if dynpronr is initial.
dynpronr = ‘0200’.
tabstrip1-activetab = ‘TAB1’.
endif.
endmodule.
*-------------------------------------------*
Module modifyscreen output.
LOOP AT SCREEN.
...
MODIFY SCREEN.
ENDLOOP.
*-------------------------------------------*
Module fcode.
case ok_code.
when ‘TAB1’.
dynpronr = ‘0200’.
tabstrip1-activetab = ok_code.
clear ok-code.
when ‘TAB2’.
dynpronr = ‘0300’.
tabstrip1-activetab = ok_code.
....
Scrolling in the SAP GUI

Ablauflogik:
PROCESS BFORE OUTPUT.
CALL SUBSCREEN sub1 INCLUDING ‘modul1’ ‘0100’.
CALL SUBSCREEN sub2 INCLUDING ‘modul2’ ‘0101’.
CALL SUBSCREEN sub3 INCLUDING ‘modul3’ ‘0102’.
...
PROCESS AFTER INPUT.
CALL SUBSCREEN sub1.
CALL SUBSCREEN sub2.
CALL SUBSCREEN sub3.
...

For more information on programming tab strips, see the
Tab Strips in the ABAP documentation.