Skip to Content
avatar image
Former Member

How to deactivate splitter control in screen splitter ALV screen

Hi Experts,

i have came across a requirement where need to deactivate the splitter control option (screen up/down option) in a Screen splitter ALV screen. Basically screen splitter devides a ALV screen into subscreens.

Could anyone please let me know how to deactivate this screen resizing option in a ALV splitter screen?

please refer attached screen shot.


Rajesh K Sahu

eabico.jpg (95.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 23, 2015 at 03:46 AM


    If you are using the CL_GUI_SPLITTER_CONTAINER to split the container then the method

    SET_ROW_SASH can be used to remove the splitter

    DATA o_spli  TYPE REF TO cl_gui_splitter_container.

    CALL METHOD o_spli->set_row_sash
             id                  = 2
             type              = o_spli->type_sashvisible        " to disply sash in container
             value             = o_spli->false                         " true-visible
           EXCEPTIONS                                                " fale-invisible
             cntl_error        = 1
             cntl_system_error = 2
             OTHERS            = 3.
         IF sy-subrc <> 0.
           MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

    Hope this helps

    Add comment
    10|10000 characters needed characters exceeded