on 10-22-2015 10:16 PM
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.
Thanks,
Rajesh K Sahu
Hi,
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
EXPORTING
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.
ENDIF.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.