2009 Jun 15 8:16 PM
I am needing to disable individually the generic alv buttons in CL_SALV_TABLE.
I see how to disable buttons by group. eg-
lr_functions->set_group_export( abap_false ).
lr_functions->set_group_filter( abap_false ).
lr_functions->set_group_sort( abap_false ).
etc....
However, I cannot find source codes to disable individual buttons. Is it possible to do this?... and if so would appreciate an example coding.
Best Regards,
Dean Atteberry.
2009 Jun 15 11:05 PM
There are method available in the class CL_SALV_FUNCTIONS_LIST which can be helpful to active / deactive certain button.
Like: To remove the SORT Ascending button:
data: lr_functions type ref to cl_salv_functions_list.
lr_functions = gr_table->get_functions( ).
lr_functions->SET_SORT_ASC( ).
Regards,
Naimesh Patel
2009 Jun 15 11:05 PM
There are method available in the class CL_SALV_FUNCTIONS_LIST which can be helpful to active / deactive certain button.
Like: To remove the SORT Ascending button:
data: lr_functions type ref to cl_salv_functions_list.
lr_functions = gr_table->get_functions( ).
lr_functions->SET_SORT_ASC( ).
Regards,
Naimesh Patel
2009 Jun 16 6:46 PM