Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

GUI Status - Button ICON_FILTER - sy-ucomm

$
0
0

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


Viewing all articles
Browse latest Browse all 8332

Trending Articles