sapdev logo background
sapdev logo sapdev logo
Comments

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



Return to SAP documentation index


ARTICLE

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

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
This program defines two selection screens, 100 and 200, as subscreens and defines a tabstrip area with three tab titles on the standard selection screen 1000. Only the third tab title is statically assigned a subscreen dynpro 300 of the same program.
The input and output fields of screen 300, p1 to q3 , have been created by adopting the parameters from the ABAP program and have been assigned to the modification group "MOD" . The pushbutton has the function code TOGGLE . The flow logic of dynpro 300 is as follows:
PROCESS BEFORE OUTPUT.
MODULE init_0100.
PROCESS AFTER INPUT.
MODULE user_command_0100.
The two dialog modules are defined in the ABAP program.
When the program is executed, the system displays the standard selection screen. At the event INITIALIZATION , the tab title texts have been determined, the subscreen selection screen 100 has been assigned initially to the tabstrip area, and the first tab title has been enabled.
User actions on the selection screen are evaluated in the event block AT SELECTION-SCREEN . In particular, if the user chooses the first two tab titles, the system dynamically assigns the corresponding subscreens and enables the tab titles. This is not necessary for the third tab title, since when it is chosen the static assignment of dynpro 300 is automatically placed in the structure mytab .
Before displaying the subscreen dynpro, the system executes the PBO
module init_0100 , and any user action on the subscreen dynpro trigger the execution of the PAI module. This is also the case if a tab title is chosen. Afterwards, AT SELECTION-SCREEN is triggered.
Messages in the status bar indicate where actions are performed and processed.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SEL_SCREEN_WITH_SUBSCR_ABEXA
SEPERATION_CONCERNS_GUIDL




comments powered by Disqus