Get Example source ABAP code based on a different SAP table
ABAP_SELSCR - Tabstrips This example demonstrates how selection screens can be included in tabstrips.
ABAP_SOURCE_CODE ABAP_EXEC >
ABAP_DESCRIPTION The two selection screens 1100 and 1200 are defined as subscreens. The static next dynpro number of dynpro 100 is 100. A tab strip area called mytabstrip> is created with two tab titles, BUTTON1> and BUTTON2>, plus an identically named function code without typing. All tabs are assigned a shared subscreen area area>. The dynpro flow logic for dynpro 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.> This program is almost identical in programming to the executable example for Selection Screens as Subscreens> and shows similar behavior. The only difference is that the pushbuttons have been replaced with tab titles, and the control mytabstrip> has been declared and filled. Scrolling between the tab pages is programmed 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 dynpro number of the subscreen selection screen which is to be displayed in the subscreen area area> of the tabstrip.