<?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 regarding ADDONTABLE. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911389#M57148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I HAVE 15FIELDS IN MY ADDONTABLE ZXXX,&lt;/P&gt;&lt;P&gt;I HAVE 10FIELDS IN INTERNALTABLE, I want to insert&lt;/P&gt;&lt;P&gt;those 10Fields internal table records into ADDONTABLE ZXXX, &lt;/P&gt;&lt;P&gt;is it not possible to do? ..lets assume that remaining 5fields are empty. how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Jan 2005 04:08:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-01-16T04:08:57Z</dc:date>
    <item>
      <title>regarding ADDONTABLE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911389#M57148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I HAVE 15FIELDS IN MY ADDONTABLE ZXXX,&lt;/P&gt;&lt;P&gt;I HAVE 10FIELDS IN INTERNALTABLE, I want to insert&lt;/P&gt;&lt;P&gt;those 10Fields internal table records into ADDONTABLE ZXXX, &lt;/P&gt;&lt;P&gt;is it not possible to do? ..lets assume that remaining 5fields are empty. how to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2005 04:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911389#M57148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-16T04:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ADDONTABLE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911390#M57149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide definitions of your tables.  I do not know what ADDONTABLE means.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Jan 2005 19:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911390#M57149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-16T19:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ADDONTABLE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911391#M57150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear Ambi Chan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What i understood is that from the internal &lt;/P&gt;&lt;P&gt;table, you want to transfer the records&lt;/P&gt;&lt;P&gt;to the database table without writing 10&lt;/P&gt;&lt;P&gt;lines for each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For this purpose, one can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  move-corresponding itab to dbtab.&lt;/P&gt;&lt;P&gt;  append dbtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The first line will transfer fields&lt;/P&gt;&lt;P&gt;   with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find it useful, pls give points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2005 06:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911391#M57150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-01-17T06:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ADDONTABLE.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911392#M57151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ambichan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what is meant by an ADDONTABLE. Here's what I do understand. Crrect me if I have misunderstood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ZXXX is a database table and it has 15 fields. &lt;/P&gt;&lt;P&gt;2. You have an internal table which has 10 of the fields in the table ZXXX.&lt;/P&gt;&lt;P&gt;3. Assuming that the other 5 fields are all initial, you want to transfer the contents of the internal table to the database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that is what you are looking for, then it can be done. But not directly. here's how you do it - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data itab_new type ZXXX occurs 0 with header line.

loop at itab_old. " this is your table with 10 fields.
  move-corresponding itab_old to itab_new.
  append itab_new.
endloop.

insert ZXXX from table itab_new.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Was that what you were looking for ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=zwcc%2fwm4ups%3d"&amp;gt;anand Mandalika&amp;lt;/a&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2005 06:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-addontable/m-p/911392#M57151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-31T06:27:58Z</dc:date>
    </item>
  </channel>
</rss>

