SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → User Dialogs → Screens → Statements in the Screen Flow Logic → Subscreens, Tabstrips, and Splitter Controls →Splitter Controls
A splitter control is a screen element that divides the area which it covers into two subscreen areas, either horizontally beside each other or vertically one above the other. The division is made by a (sash). The horizontal or vertical position of the sash is specified statically in the definition of the splitter control. It can be set to PBO in the ABAP program and changed by the user whilst the screen is being displayed.
Inserting subscreen dynpros into both subscreen areas takes place in exactly the same way as direct insertion using the CALL SUBSCREEN statement in the dynpro flow logic. Any subscreens can be inserted, particularly those that contain splitter controls again.
In ABAP programs, the position of the sash of a splitter controls is controlled using an instance of the CL_DYNPRO_SPLITTER class. If, before sending this screen, an object of this class is created and its constructor is given the name of a splitter control, this is bound to the splitter control and its methods can be used to set and read the position of the sash. The sash position is specified by percentage and refers to the width or height of the splitter control. In the object, the position is represented by a private attribute. Important methods of the class are:
A splitter control can have a function code assigned to it, which can be used to react to changes to the sash position made by the user in ABAP programs.
Notes
Example
Refer to Dynpros, Splitter Controls.