<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic alv filter not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752007#M640135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;In my alv report if char field is there like Kunnr, Maktx and when  i am filtering its not working its showing blank value.&lt;/P&gt;&lt;P&gt;where as when i am using some Numric or Int value like VBELN or ERDAT and Filtering its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what will be the Problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="24" type="ul"&gt;&lt;P&gt;Point is Assured.*****************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Sep 2007 07:00:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-05T07:00:04Z</dc:date>
    <item>
      <title>alv filter not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752007#M640135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;In my alv report if char field is there like Kunnr, Maktx and when  i am filtering its not working its showing blank value.&lt;/P&gt;&lt;P&gt;where as when i am using some Numric or Int value like VBELN or ERDAT and Filtering its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what will be the Problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="24" type="ul"&gt;&lt;P&gt;Point is Assured.*****************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:00:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752007#M640135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: alv filter not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752008#M640136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try entering the filter text with *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TEST&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752008#M640136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: alv filter not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752009#M640137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i found to filter records : you can use the code below &lt;/P&gt;&lt;P&gt;1/ fill the internal table filter_1&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: FILTER_1 TYPE SLIS_T_FILTER_ALV,
WA_FILTER TYPE slis_filter_alv.
* Filter für detail setzen
WA_FILTER-TABNAME = 'WT_EDIT_PLT'.
WA_FILTER-FIELDNAME = 'KUNNR'.
WA_FILTER-SIGN0 = 'I'.
WA_FILTER-OPTIO = 'BT'.
WA_FILTER-VALUF_INT = '0000300080'. 
WA_FILTER-VALUT_INT = '0000300090'.
APPEND WA_FILTER TO FILTER_1.



2/export the internal table filter_1 to the function module REUSE_ALV_LIST_DISPLAY.

  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING     i_callback_program             = wv_repid
                     i_callback_user_command        = 'USER_COMMAND'
                     is_layout                      = wps_layout
                     it_fieldcat                    = wpt_fieldcat
                     i_default                      = 'X'
                     i_save                         = 'A '
                     it_events                      = wpt_events[]
                     IT_FILTER                   = filter_1
 
       TABLES        t_outtab                       = wpt_itab
       EXCEPTIONS    program_error                  = 1
                     OTHERS                         = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the displayed ALV list will concern kunnr between '0000300080' AND '0000300090'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpfull&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752009#M640137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: alv filter not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752010#M640138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that ur trying to filet on fields like descriptions. I guess the problem is with the case of the letters ( u r searching with uppercase and the entry is in lower case). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are filtering after keying the value - then i will suggest you to pick it from the drop down list while applying the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve ur prob. if it doesnt then revert back.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 07:59:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752010#M640138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T07:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: alv filter not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752011#M640139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Patil,&lt;/P&gt;&lt;P&gt;Your idia is working, Point has been Given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Thannks all .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 08:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752011#M640139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T08:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: alv filter not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752012#M640140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all,&lt;/P&gt;&lt;P&gt;Point has been given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Sep 2007 09:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-filter-not-working/m-p/2752012#M640140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-05T09:30:22Z</dc:date>
    </item>
  </channel>
</rss>

