<?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: Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461601#M552343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: itab1 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab2 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab3 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab4 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab5 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab6 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab7 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab8 type standrad table of mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: variable type n.&lt;/P&gt;&lt;P&gt;        l_table type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbol: &amp;lt;fs_any&amp;gt; type table of any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;on change of vendor_num.&lt;/P&gt;&lt;P&gt;  variable = variable + 1.&lt;/P&gt;&lt;P&gt;  concatenate itab variable into l_table.&lt;/P&gt;&lt;P&gt;  assign (l_table) to &amp;lt;fs_any&amp;gt;.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs_any&amp;gt; = itab.&lt;/P&gt;&lt;P&gt;  append &amp;lt;fs_any&amp;gt; .&lt;/P&gt;&lt;P&gt;endon.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this will dynamically move the contents to different internal tables.&lt;/P&gt;&lt;P&gt;however you need to define those internal table in type statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try it...hope it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2007 06:53:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-03T06:53:18Z</dc:date>
    <item>
      <title>Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461596#M552338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I have 10 records in internal table, first 5 records is for one vendor and remaining 5 records for another vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1. How can i store  first  5 records in one internal table?&lt;/P&gt;&lt;P&gt; 2. How can i store records from 6-10 in another internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461596#M552338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T06:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461597#M552339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Udaya,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt; if itab-vendor = 'A'.&lt;/P&gt;&lt;P&gt;append itab1&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;  append itab2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;clear: itab,&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:41:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461597#M552339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T06:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461598#M552340</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;PRE&gt;&lt;CODE&gt;SORT ITAB by LIFNR.

LOOP AT ITAB.
 AT NEW LIFNR.
 MOVE ITAB to ITAB1.
 ENDAT.

MOVE ITAB to ITAB2.  " This will work from 6 to 10 records

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461598#M552340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T06:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461599#M552341</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;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If itab-vendor =  'B'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif itab-vendor = 'D'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461599#M552341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T06:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461600#M552342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;if sy-tabix le 5.&lt;/P&gt;&lt;P&gt;  move itab data to itab1.&lt;/P&gt;&lt;P&gt;  append itab1.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  move itab data to itab2.&lt;/P&gt;&lt;P&gt;  append itab2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful,&lt;/P&gt;&lt;P&gt;Aleem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461600#M552342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T06:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461601#M552343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: itab1 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab2 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab3 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab4 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab5 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab6 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab7 type standrad table of mara,&lt;/P&gt;&lt;P&gt;itab8 type standrad table of mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: variable type n.&lt;/P&gt;&lt;P&gt;        l_table type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbol: &amp;lt;fs_any&amp;gt; type table of any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;on change of vendor_num.&lt;/P&gt;&lt;P&gt;  variable = variable + 1.&lt;/P&gt;&lt;P&gt;  concatenate itab variable into l_table.&lt;/P&gt;&lt;P&gt;  assign (l_table) to &amp;lt;fs_any&amp;gt;.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs_any&amp;gt; = itab.&lt;/P&gt;&lt;P&gt;  append &amp;lt;fs_any&amp;gt; .&lt;/P&gt;&lt;P&gt;endon.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this will dynamically move the contents to different internal tables.&lt;/P&gt;&lt;P&gt;however you need to define those internal table in type statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just try it...hope it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 06:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461601#M552343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T06:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461602#M552344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this question is answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 09:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2461602#M552344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T09:45:46Z</dc:date>
    </item>
  </channel>
</rss>

