Showing a Screen in Easy Splitter
currently I am trying to build up an application with a splitter consisting of two seperate screens. My current approach looks like this:
DATA: 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 EXPORTING container_name = iv_container_name. CREATE OBJECT lo_vertical_splitter EXPORTING 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!