Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  SAP GUI User Dialogs →  General Dynpros →  Statements in the Dynpro Flow Logic →  Subscreens, Tabstrips, and Splitter Controls →  Subscreens, Tabstrips, and Splitter Controls - Examples 

Dynpros, Splitter Control

This example demonstrates a splitter control.

Other versions: 7.31 | 7.40 | 7.54

Source Code

REPORT demo_dynpro_splitter_control.

DATA splitter TYPE REF TO cl_dynpro_splitter.

START-OF-SELECTION.

  CREATE OBJECT splitter
    EXPORTING
      splitter_name = 'SPLITTER'.

  CALL SCREEN 100.

MODULE set_status OUTPUT.
  SET PF-STATUS 'SCREEN_100'.
ENDMODULE.

MODULE set_sash OUTPUT.
  splitter->set_sash( ).
ENDMODULE.

MODULE cancel.
  LEAVE PROGRAM.
ENDMODULE.

MODULE get_sash INPUT.
  splitter->get_guisash( ).
ENDMODULE.

Description

A subscreen is assigned to both parts of the splitter control. The subscreens are called in the dynpro flow logic.