A tabstrip control is a screen element that is made up of multiple tab pages. Every tab page contains a one line tab title which is linked to a function code and which can be used to select the tab page by clicking once. Under the tab title, a tab page is made up of a subscreen area. Each tab title must have a subscreen area assigned to it, in which any subscreens can be displayed. There are two ways to do this:
- Paging in the SAP GUI
You need to assign a separate subscreen area to each tab title, and define the function codes of the tab titles with function type "P". If the user selects a tab title, the event PAI is not triggered. The respective subscreens are included once in each individual subscreen area by using the
CALL SUBSCREENstatement of the flow logic. If the user selects a tab title, the SAP GUI pages to the relevant tab page and displays its subscreen.
- Paging in ABAP Programs
You need to assign the same subscreen area to each tab title, and define the function codes of the tab titles without typing. If the user selects a tab title, the event PAI is triggered. The relevant subscreen is included dynamically with the
CALL SUBSCREENstatement of the flow logic in the subscreen area each time the user pages. In the ABAP program, the relevant tab page must be activated using
CONTROLSand the correct subscreen dynpro for the subscreen area must be specified.
When paging in the SAP GUI, if you select a tab title entry checks are not made and data is not transported to the ABAP program. Only if user action triggers the PAI event are all the entries checked and the data of all screens transported. When paging in the ABAP program, the entries are checked for each selection of a tab title and the current tab page data is transported to the ABAP program of the subscreen dynpro.