cancel
Showing results for 
Search instead for 
Did you mean: 

[WDA - ALV] Disabling dropdown listbox for view selection in ALV toolbar

Former Member

Is there a way how I can remove the "view selection" dropdown listbox from the ALV grid's toolbar?

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

In cl_salv-config_table you have these settings -

DATA:
  lr_model type ref to cl_salv_wd_config_table,
  lr_filter  TYPE REF TO if_salv_wd_std_functions.    "Reference for the standard alv function
 
*" Set the UI elements.
if lr_model is not initial.
  lr_filter  ?= lr_model.         "Model object for ALV
 
 
lr_filter->set_view_list_allowed( abap_false ).

Regards,

Lekha.

Answers (0)