SAP TAB STRIP CONTROL1 ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_DYNPRO - Tabstrips with Scrolling in SAP GUI
This example demonstrates the use of tabstrip controls with local scrolling.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The static next dynpro number of dynpro 100 is 100. It is a tabstrip page called mytabstrip created with three tabs, PUSH1, PUSH2, PUSH3 and identically named function codes of type p. One of the subscreen areas sub1 to sub3 is assigned to each tab title. The push button is called BUTTON and has the function code OK. Three subscreen dynpros 110 to 130 are also defined that fit into the subscreen areas mentioned above. The dynpro flow logic of subscreens 110 to 130 does not contain any module calls.
When the program is executed, the user sees a screen, the second tab page of which is active because before dynpro 100 is called, the component activetab of the structure mytabstrip is set to PUSH2. The user can scroll between the tab pages without raising the event PAI. One of the three subscreen dynpros is included on each ta b page.
When the user chooses Continue, the PAI event is raised, and an information message displays the function code of the tab title of the page that is currently active.