<?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/2750089#M639532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;append lines of &amp;lt;itb1&amp;gt; to &amp;lt;itb2&amp;gt; willl do.. &lt;/P&gt;&lt;P&gt;if u need to copy complete &amp;lt;itb1&amp;gt; data to &amp;lt;itb2&amp;gt;&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;loop at &amp;lt;itb1&amp;gt;.&lt;/P&gt;&lt;P&gt;move-corresponding &amp;lt;itb1&amp;gt; to &amp;lt;itb2&amp;gt;.&lt;/P&gt;&lt;P&gt;append &amp;lt;itb2&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please reward points if it helps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Phani Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Sep 2007 12:15:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-11T12:15:27Z</dc:date>
    <item>
      <title>Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750086#M639529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to copy a portion of an internal table to another. &lt;/P&gt;&lt;P&gt;Help me out on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 08:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750086#M639529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T08:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750087#M639530</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;loop at itab assigning &amp;lt;curr_itab_line&amp;gt; where field = value.
append &amp;lt;curr_itab_line&amp;gt; to newITab.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;do n times.
read bla bla.
append bla bla.
enddo.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was this your requirement??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gianpietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:10:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750087#M639530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750088#M639531</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;use move-corresponding &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 09:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750088#M639531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T09:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750089#M639532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;append lines of &amp;lt;itb1&amp;gt; to &amp;lt;itb2&amp;gt; willl do.. &lt;/P&gt;&lt;P&gt;if u need to copy complete &amp;lt;itb1&amp;gt; data to &amp;lt;itb2&amp;gt;&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;loop at &amp;lt;itb1&amp;gt;.&lt;/P&gt;&lt;P&gt;move-corresponding &amp;lt;itb1&amp;gt; to &amp;lt;itb2&amp;gt;.&lt;/P&gt;&lt;P&gt;append &amp;lt;itb2&amp;gt;.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please reward points if it helps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Phani Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 12:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750089#M639532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T12:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750090#M639533</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;There are two ways to do that: append line and insert line. &lt;/P&gt;&lt;P&gt;By using append line the rows of a table are copied to the end of another table. &lt;/P&gt;&lt;P&gt;By using insert line the rows of a table are copied to any position other than the end of another table.&lt;/P&gt;&lt;P&gt;Both are written before loop at statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert a single line into a database table, use the following:&lt;/P&gt;&lt;P&gt;insert into itab values wa.&lt;/P&gt;&lt;P&gt;The contents of the work area wa are written to the database table dbtab. It is a good idea to define the work area with reference to the structure of the database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert several lines into a database table, use the following:&lt;/P&gt;&lt;P&gt;insert wa from table into itab.&lt;/P&gt;&lt;P&gt;This writes all lines of the internal table itab to the database table in one single operation. If one or more lines cannot be inserted because the database already contains a line with the same primary key, a runtime error occurs. You can prevent the runtime error occurring by using the addition ACCEPTING DUPLICATE KEYS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 17:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/2750090#M639533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T17:34:17Z</dc:date>
    </item>
  </channel>
</rss>

