<?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: Append records to datatable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835746#M355705</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;If you want to insert records into database table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type standard table of ztable,&lt;/P&gt;&lt;P&gt;         wa type ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa-f1 = 'ABC'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;wa-f2 = 'CDE'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;wa-f3 = 'EFG'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;wa-f4 = 'GEH'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;append wa to itab.&lt;/P&gt;&lt;P&gt;...."append similarly other records&lt;/P&gt;&lt;P&gt;insert ztable from table itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2007 05:25:56 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2007-01-05T05:25:56Z</dc:date>
    <item>
      <title>Append records to datatable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835743#M355702</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 created a datatable in SE11 with 4 columns and i need to update data into it using ABAP can u please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 05:18:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835743#M355702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T05:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Append records to datatable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835744#M355703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it  is  standared table  or  ztable  if  it is ztable make maintinance view  and upload data...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 05:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835744#M355703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T05:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Append records to datatable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835745#M355704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;You can use the command INSERT &amp;lt;dbtab&amp;gt; FROM TABLE &amp;lt;itab&amp;gt; to create several rows in a database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table &amp;lt;itab&amp;gt; that you should specify here must have the same line structure as the corresponding database table and the new data records. The client field that might exist in the internal table &amp;lt;itab&amp;gt; will only be taken into consideration if the CLIENT SPECIFIED addition is specified. If there is no CLIENT SPECIFIED addition, the current execution client applies. If it is possible to create all the lines, sy-subrc is automatically set to zero.If, however, even one data record cannot be created, a runtime error occurs. This means that the entire insertion operation is discarded (database rollback). If, in such a case, you want to have records that can be inserted actually inserted, use the command addition ACCEPTING DUPLICATE KEYS. If there is an error, this addition suppresses the runtime error (and thus also the database rollback), sets the return code (sy-subrc) to 4, and inserts all the records without errors.The sy-dbcnt system field contains the number of rows that were successfully inserted in the database.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balaji Reddy G&lt;/P&gt;&lt;P&gt;***Rewards if answers are helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 05:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835745#M355704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-05T05:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Append records to datatable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835746#M355705</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;If you want to insert records into database table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type standard table of ztable,&lt;/P&gt;&lt;P&gt;         wa type ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa-f1 = 'ABC'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;wa-f2 = 'CDE'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;wa-f3 = 'EFG'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;wa-f4 = 'GEH'."some valid value according to your fields&lt;/P&gt;&lt;P&gt;append wa to itab.&lt;/P&gt;&lt;P&gt;...."append similarly other records&lt;/P&gt;&lt;P&gt;insert ztable from table itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2007 05:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-records-to-datatable/m-p/1835746#M355705</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-01-05T05:25:56Z</dc:date>
    </item>
  </channel>
</rss>

