Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Showing a Screen in Easy Splitter

Hi there,

currently I am trying to build up an application with a splitter consisting of two seperate screens. My current approach looks like this:

          lo_main_container    TYPE REF TO    cl_gui_custom_container,
          lo_vertical_splitter TYPE REF TO    cl_gui_easy_splitter_container,
          lo_left_container    TYPE REF TO    cl_gui_container,
          lo_right_container  TYPE REF TO   cl_gui_container,
          lo_help_container    TYPE REF TO    cl_gui_gos_container.

**Build up the Splitters
    CREATE OBJECT lo_main_container
        container_name = iv_container_name.

    CREATE OBJECT lo_vertical_splitter
        parent      = lo_main_container
        orientation = 1.

    lo_left_container = lo_vertical_splitter->top_left_container.
    lo_right_container = lo_vertical_splitter->bottom_right_container.
    lo_vertical_splitter->set_sash_position( 20 ).
    CREATE OBJECT lo_help_container
               EXPORTING parent = lo_left_container
                         dynnr = '0010'
                         repid = sy-cprog.

The application should now display the Screen number 0010 on the left side. But unfortunately it does not work. I just get a plain screen on the left.

Can you tell me where the fault is? Where did I thought the wrong way? Is it a complete wrong approach or just some stupid faults?

I would be very thankful if you could help me with this. If you need futher informations just let me know!

Kind Regards,


Former Member

No, you can embed splitter inside a subscreen, but not vice versa. Containers are purely for GUI controls.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question