‎2018 May 08 1:38 PM
Hi all,
I am using CL_SALV_TABLE to create ALV. I need only the OK button to continue, no other functions. I have already disabled the generic functions like this:
lr_functions->set_group_export( abap_false ).
but can I also hide/disable the other buttons? F1 Help? Arrows to move?

Thank you for your help,
Tim
‎2018 May 08 1:56 PM
Hi Tim Krause,
Use SET_ALL method to disable the buttons in CL_SALV_TABLE.
DATA: lr_functions TYPEREFTO cl_salv_functions_list.
lr_functions = go_alv->get_functions().
lr_functions->set_all(' ').
Output:

Regards
Rajkumar Narasimman
‎2018 May 08 1:56 PM
Hi Tim Krause,
Use SET_ALL method to disable the buttons in CL_SALV_TABLE.
DATA: lr_functions TYPEREFTO cl_salv_functions_list.
lr_functions = go_alv->get_functions().
lr_functions->set_all(' ').
Output:

Regards
Rajkumar Narasimman
‎2018 May 09 7:46 AM
Hi,
thank you for your comment. How is your go_alv defined? For me, the functions->set_all('') does not have an impact, so functions are still there.
BR,
Tim
‎2018 May 09 7:59 AM
Used CL_SALV_TABLE for GO_ALV and set_screen_popup method to display popup window.
DATA go_alv TYPE REF TO cl_salv_table.
Instead of getting the functions and clearing all the buttons, even if you comment the code LR_FUNCTIONS while displaying popup, only ok button will display as shown in previous screenshot.
‎2018 May 09 8:19 AM