cancel
Showing results for 
Search instead for 
Did you mean: 

Hide / Disable the SELECT ALL / DESELECT ALL button pls.?

former_member194142
Participant
0 Kudos

Hello

Pls. let me know how to disable / greyed out the SELECT ALL / DESELECT ALL button/option on ALV?

I did for INSERT row as below, but not sure how to do for SELECT ALL / DESELECT ALL


* Hide insert button

  lr_value_p->if_salv_wd_std_functions~set_edit_insert_row_allowed(
                          abap_false ).
  lr_value_c->if_salv_wd_std_functions~set_edit_insert_row_allowed(
                          abap_false ).

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi,

You can hide the SELECT ALL / DESELECT ALL as below


  DATA lo_model   TYPE REF TO cl_salv_wd_config_table.

     ..........

lo_model = lo_interface->get_model( ).

.......

lo_model->if_salv_wd_table_settings~set_selection_mode(

EXPORTING value = cl_wd_table=>e_selection_mode-single ).

Hope this helps you.

Regards,

Rama

former_member194142
Participant
0 Kudos

Sure,Thank you, actually not yet tested bcz our system is very slow

Regards

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi,

Is your issue resolved?If so,please close the ticket my marking reply as correct answer.

Regards,

Rama