sapdev logo background
sapdev logo sapdev logo
Comments

SAP SEL SCREEN TABSTRIP ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Selection Screens in Tabstrips
The example shows how to include selection screens in tabstrips.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
Two selection screens, 1100 and 1200, are defined as subscreens. The static next screen number of screen 100 is 100. A tabstrip area called mytabstrip with two tab titles, BUTTON1 , BUTTON2 , and identically named function codes has been created without typing. All tab titles have a common subscreen area area assigned. The flow logic of screen 100 is as follows:
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN area INCLUDING sy-repid number.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
CALL SUBSCREEN area.
MODULE user_command_0100.
From a coding point of view, this program is almost identical to the example for Selection Screens as Subscreens and shows similar behaviour. The only difference is that the pushbuttons have been replaced with tab titles and that the control mytabstrip has been declared and filled accordingly. Browsing the tabstrip pages is coded in the ABAP program. Whenever a tab title is chosen, the function code of the OK field is assigned to the component activetab of the structure mytabstrip . At the same time, the variable number is filled with the screen number of the subscreen selection screen which is to be displayed in the subscreen area area of the tabstrip.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SEL_SCREEN_SUBSCREEN_ABEXA
SEL_SCREEN_WITH_SUBSCR_ABEXA




comments powered by Disqus