SAP TAB STRIP CONTROL2 ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_DYNPRO - Tabstrips with Scrolling on the ABAP Server
This example demonstrates the use of tabstrip controls with centralized scrolling.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The static next dynpro number of dynpro 100 is 100. The layout of dynpro 100 and the subscreen dynpros 110 to 130 is the same as in the executable example with local scrolling. The function codes of the three tab titles are not typed and a common subscreen area sub is assigned to all tab titles.
The dynpro flow logic of dynpro 100 makes a dynamic binding to PBO, a subscreen dynpro in the subscreen area sub. The dynpro flow logic of subscreen dynpros 110 to 130 does not contain any module calls.
This example works in exactly the same way as the example with local scrolling except that scrolling between the tabstrip pages is programmed in the ABAP program. Each time the user chooses a tab title, the function code from the OK field is assigned to the activetab component of structure mytabstrip. At the same time, the variable number is given the dynpro number of the subscreen dynpro to be displayed in the subscreen area SUB of the tabstrip.