cancel
Showing results for 
Search instead for 
Did you mean: 

Set Filter in ALV for all user, Disable 'Delete Filter' Button.

Former Member
0 Kudos

Hello experts.

I set filter in ALV at SAP-CONFIG-MODE for all end-users.

But when someone click 'Delete Filter' button, Filter canceled.

Is there any way that set delete filter button disabled?

I want to display only rows I filtered.

There is 'Disabled' setting on config-mode but we need to select rows on ALV..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

I dont know what is in your code but you can refer this links

http://scn.sap.com/thread/440439

http://scn.sap.com/thread/1826717

Thanks.

former_member210266
Active Participant
0 Kudos

Hi

In the ALV configuration, write the following code.

Instead of disabling the standard function,just make it invisible.

DATA lo_alv TYPE REF TO cl_salv_wd_config_table.

DATA lo_std_del             TYPE REF TO cl_salv_wd_function_std.

lo_std_del = lo_alv>if_salv_wd_function_settings~get_function_std(
if_salv_wd_c_std_functions=>FILTER ).
lo_std_del->set_visible( '01' ).

Regards

Swati