cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Filter with Spl chararecter not possible ?

Former Member
0 Kudos

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)

Accepted Solutions (0)

Answers (1)

Answers (1)

uday_gubbala2
Active Contributor
0 Kudos

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