Filters not defined? Yes they are, I just defined them!

In my CL_SALV_TABLE application, I set a filter in the screen. I then run this code:
lr_filters = ir_salv_table->get_filters( ).
  IF lr_filters->is_filter_defined( ) = abap_false.
    EXIT.
  ENDIF.
It always tells me there are no filters defined. But there are. I just defined them and can see them on the screen!
I've used cl_gui_cfw=>flush( ). I'm currently on 7.01 SP 7, and can't find a note for this. Any ideas?

I wish I hadn't used it! But I can't change it until next release of the software.
The CL_SALV_TABLE object is an instance in the same class as the method in which I'm getting the filters. Hmm. Interesting. When I debug an event triggered on the ALV - I can see the filter. The lack of filter is when I'm processing the PAI... Maybe there's more than one instance hanging around...
Edited by: Matt on Aug 27, 2011 11:19 AM

Similar Messages

Maybe you are looking for