Skip to Content

cl_salv_table Remove function code

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

capture1.png (14.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 08 at 12: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

    Add comment
    10|10000 characters needed characters exceeded