Skip to Content
avatar image
Former Member

ALV Filter with Spl chararecter not possible ?

Hi Experts .

I have alv table displayed with Filter option . I want to filter Column "Description" (Char 40).

Filter works fine with the normal charecters A to Z 0 to 9.

When try to filtr with description containing $ , &, @ , Filter does not any results in ALV table .

Is that the filter cannot be done with the special characters or is to be handled separately .

Please let me know if any work arounds

Thanks in advance,

Patil

Edited by: Badarinarayan Patil on Nov 26, 2008 10:58 AM

IF_SALV_WD_STD_FUNCTIONS~IS_FILTER_COMPLEX_ALLOWED = X is already been tried (Nogo)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 27, 2008 at 10:06 AM

    Hi Patil,

    I have tried replicating the scenario and its working perfectly fine. Am able to filter using special characters like $, * and &. I have sent the respective snapshots to the id mentioned in your business card. Below is the relevant parts of my coding:

    Data:     lr_config          TYPE REF TO cl_salv_wd_config_table,
       lr_filter          TYPE REF TO if_salv_wd_std_functions.
    
      lr_config        = lr_if_controller->get_model( ).
      lr_filter          ?= lr_config.
    
      lr_filter->set_filter_complex_allowed( value = abap_true ).

    Regards,

    Uday

    Add comment
    10|10000 characters needed characters exceeded