<?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 internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666890#M1668095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you mean filtering data from a internal table 1. at time or 2. in loop processing .&lt;/P&gt;&lt;P&gt;1. first case use delete command with condition.&lt;/P&gt;&lt;P&gt;2. use check or if condition with continue and exit and modify table.&lt;/P&gt;&lt;P&gt;please don't mind if i understood your question wrongly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 11:53:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-20T11:53:10Z</dc:date>
    <item>
      <title>Filtering internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666889#M1668094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I want to apply a filter in codes to an internal table. Is there any function that allow me to do that easily or should I write it by myself?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;&lt;EM&gt;Moderator message : Vague question, discussion locked.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 11:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666889#M1668094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T11:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666890#M1668095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you mean filtering data from a internal table 1. at time or 2. in loop processing .&lt;/P&gt;&lt;P&gt;1. first case use delete command with condition.&lt;/P&gt;&lt;P&gt;2. use check or if condition with continue and exit and modify table.&lt;/P&gt;&lt;P&gt;please don't mind if i understood your question wrongly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 11:53:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666890#M1668095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T11:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666891#M1668096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Are you taking about applying a filter to the data in the internal table?&lt;/P&gt;&lt;P&gt;If Yes below is the procedure:&lt;/P&gt;&lt;P&gt;1.You can take data in a internal table using select statements.&lt;/P&gt;&lt;P&gt;2.Use the data you got in the 1st internal table as a filter to get some another data from some another table using concept of "FOR ALL ENTRIES".&lt;/P&gt;&lt;P&gt;Below is a small eg:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"fetching data from bkpf table as per posting date and company code and filling i_bkpf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; select bukrs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; belnr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xblnr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; waers&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; budat from bkpf into table i_bkpf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where&amp;nbsp;&amp;nbsp; budat in s_pos and bukrs in s_ccode .&lt;/P&gt;&lt;P&gt;&amp;nbsp; "fetching data from bseg table as per the data available in i_bkpf and company code.&lt;BR /&gt;&amp;nbsp; select bukrs&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; menge&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmbtr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; meins&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; matnr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ebeln&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lifnr&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; shkzg&amp;nbsp; from bseg into table&amp;nbsp; i_bseg for all entries in i_bkpf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where bukrs = i_bkpf-bukrs and lifnr in&amp;nbsp; s_vendno and shkzg in s_dc.&lt;/P&gt;&lt;P&gt;In short you are applying filter for data that is present in i_bkpf internal table and getting i_bkpf table.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 12:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666891#M1668096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T12:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666892#M1668097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Can you tell us what is your exact requirement. so that we can help you.&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 12:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666892#M1668097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T12:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666893#M1668098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I am trying to imitate ALV filtering in my abap code. In my program, I am submitting another program and getting its output data to send as excel attachment. While doing so, I am extracting layout data (also filtering options of ALV) and applying these to the output internal table. For example; I need to use below data to my raw data in ABAP codes;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/83702" /&gt;&lt;/P&gt;&lt;P&gt;Filter data of ALV: (lr_handle)&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/83638" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 14:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filtering-internal-table/m-p/8666893#M1668098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-20T14:21:18Z</dc:date>
    </item>
  </channel>
</rss>

