<?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: Filtering a list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887030#M371969</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;before outputing the new list set the system field sy-listi:&lt;/P&gt;&lt;P&gt;sy-listi = sy-listy - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2007 10:33:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-08T10:33:14Z</dc:date>
    <item>
      <title>Filtering a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887029#M371968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an output list displayed to screen. I wish to filter the displayed output depending on a set of rules entered by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Person Name      date of birth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Smith                   1.12.1979&lt;/P&gt;&lt;P&gt;Jones                   15.12.1979&lt;/P&gt;&lt;P&gt;Doe                      22.6.1980&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A user wishes to redisplay the list showing all those born during 1979. Simply re-outputting does not work as the original list still sits below. I somehow need to clear the original list before re-outputting. I know ALV gives me this facility, but in this case ALV is not an option. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 10:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887029#M371968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T10:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887030#M371969</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;before outputing the new list set the system field sy-listi:&lt;/P&gt;&lt;P&gt;sy-listi = sy-listy - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;br&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 10:33:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887030#M371969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T10:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887031#M371970</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;U can insert a filter button, this filter should be a popup showing a ranges (select-options) with all fields you display in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ruotine to display the data should be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB WHERE (FILTER).&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this way if the filter isn't setted all data will be printed else only the data in according to the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The routine to be listed the data should be called every times the data are re-displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 10:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887031#M371970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887032#M371971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here you have to go for interactive reporting give the hotspot to your date of birth field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after writing the fields in the basic list use hide itab-dob.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now &lt;/P&gt;&lt;P&gt;at line-selection&lt;/P&gt;&lt;P&gt;data : year(5).&lt;/P&gt;&lt;P&gt;year = itab-dob(4).&lt;/P&gt;&lt;P&gt;concatenate year '%' into year&lt;/P&gt;&lt;P&gt;refresh itab.&lt;/P&gt;&lt;P&gt;select f1 f2   from  dbtab into table itab where dob like year. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-lsind = 0.&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write :  /   itab....&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 10:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887032#M371971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T10:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887033#M371972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;now, move contents to temp internal table. refresh original internal table. move contents from temp table based on filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 10:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887033#M371972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T10:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887034#M371973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiba, unfortunately my user do not want to use hotspots. However, combining bits of all suggestions has given me the solution I was looking for. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 11:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-a-list/m-p/1887034#M371973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T11:00:10Z</dc:date>
    </item>
  </channel>
</rss>

