<?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 Re: ALV (CL_SALV_TABLE) using exclude value filter on refresh in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cl-salv-table-using-exclude-value-filter-on-refresh/m-p/12649191#M2014902</link>
    <description>&lt;P&gt;No issue for me with this program, I can manually exclude amount 0.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    DATA sflight_s TYPE TABLE OF sflight.
    DATA salv TYPE REF TO cl_salv_table.
    SELECT * FROM sflight INTO TABLE @sflight_s.
    MODIFY sflight_s FROM value #( price = 0 ) TRANSPORTING price WHERE price = 666.
    CALL METHOD cl_salv_table=&amp;gt;factory
      IMPORTING
        r_salv_table = salv
      CHANGING
        t_table      = sflight_s.
    salv-&amp;gt;get_functions( )-&amp;gt;set_all( ).
    salv-&amp;gt;display( ).&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Probably the rest of your program has a bug, please help us reproduce your problem, share a minimal reproducible example.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 10:10:26 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-12-13T10:10:26Z</dc:date>
    <item>
      <title>ALV (CL_SALV_TABLE) using exclude value filter on refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cl-salv-table-using-exclude-value-filter-on-refresh/m-p/12649190#M2014901</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
  &lt;P&gt;I'm currently in a pickle. We have a custom ALV (CL_SALV_TABLE), with automatic refresh functionality. If I use exclude single values/ exclude ranges, after refresh, these types of filters are treated like select single values / select ranges.&lt;/P&gt;
  &lt;P&gt;So, if I try to exclude the lines "0" quantity from the ALV, after refresh I get only the lines with zero quantity; hence the exclude filter is treated like a normal select filter.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2119890-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;If I try to manually set the filter after refresh, there is no field which tells me what type of filter it is (Select single value/ Select range/ Exclude single value/ Exclude range).&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2119889-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Anyone has any idea how to overcome this issue? I was even wondering if I can limit the filter to "Select single values" &amp;amp; "Select ranges" without the "Exclude" options but I didn't managed to restrict the filter.&lt;/P&gt;
  &lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 21:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cl-salv-table-using-exclude-value-filter-on-refresh/m-p/12649190#M2014901</guid>
      <dc:creator>former_member798495</dc:creator>
      <dc:date>2022-12-12T21:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: ALV (CL_SALV_TABLE) using exclude value filter on refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cl-salv-table-using-exclude-value-filter-on-refresh/m-p/12649191#M2014902</link>
      <description>&lt;P&gt;No issue for me with this program, I can manually exclude amount 0.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    DATA sflight_s TYPE TABLE OF sflight.
    DATA salv TYPE REF TO cl_salv_table.
    SELECT * FROM sflight INTO TABLE @sflight_s.
    MODIFY sflight_s FROM value #( price = 0 ) TRANSPORTING price WHERE price = 666.
    CALL METHOD cl_salv_table=&amp;gt;factory
      IMPORTING
        r_salv_table = salv
      CHANGING
        t_table      = sflight_s.
    salv-&amp;gt;get_functions( )-&amp;gt;set_all( ).
    salv-&amp;gt;display( ).&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Probably the rest of your program has a bug, please help us reproduce your problem, share a minimal reproducible example.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 10:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-cl-salv-table-using-exclude-value-filter-on-refresh/m-p/12649191#M2014902</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-12-13T10:10:26Z</dc:date>
    </item>
  </channel>
</rss>

