Skip to Content
0
Former Member
Apr 11, 2014 at 07:37 PM

GUI Status - Button ICON_FILTER - sy-ucomm

775 Views

Hello experts,

I need to display the standard button "icon_filter_undo" (undo filter), but only if some filter has been previously applied.

I set the standard button on Application Toolbar, and in PF-STATUS of "reuse_alv_grid_display" I used:

SET PF-STATUS 'ZALV01' EXCLUDING fcode.

Ok, the report runs and "icon_filter_undo" is not displayed yet.

When I apply some filter on the ALV with the standard button "icon_filter", it does not trigger user_command, in my debug, sy-ucomm comes empty, and even if it came with some value, I dont know how to know if some filter has been applied or not. If some filter has been applied, the idea is to use SET PF-STATUS 'ZALV01' with the button to be displayed.

How to know if some filter has been applied or not?

Thank you,

Tatiana