<?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: Dump at INSERT Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550046#M1074476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;your query is correct.But the problem is data while yoy are inserting into the table it violates the key relation.&lt;/P&gt;&lt;P&gt;Here there might be two reasons &lt;/P&gt;&lt;P&gt;1.Already some data might be there in the  table with same key fields which you are going to insert from the internal table&lt;/P&gt;&lt;P&gt;2.Otherwise in your internal table some duplicate records may be there&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2008 09:39:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-23T09:39:05Z</dc:date>
    <item>
      <title>Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550040#M1074470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im reading data from a local file to a internal table. The internal table is also getting populated with those values. With this internal table Im inserting records into a Database Table. This internal table is having same structure as Database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But Im getting the following dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"RSQL error 13 when accessing table "Y16V_AO_LEVEL_IN ".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plese find my code beow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: G_T_Y16V_AO_LEVEL_IN TYPE TABLE OF
          Y16V_AO_LEVEL_IN WITH HEADER LINE.

      INSERT y16v_ao_level_in FROM TABLE g_t_y16v_ao_level_in.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good answers will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sasidhar Reddy Matli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550040#M1074470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550041#M1074471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to specify all the fields present in database table and put the data in all fields before inserting the data...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste some more piece of code wherein you are moving the data to the database table before insert statement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, correct the code as&lt;/P&gt;&lt;P&gt;Insert into &amp;lt;database table&amp;gt; from table &amp;lt;workarea&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:24:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550041#M1074471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550042#M1074472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check whether database table structure is same as internal table. Also there might be the data present with same key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:24:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550042#M1074472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550043#M1074473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;/P&gt;&lt;P&gt;INSERT INTO dbtab FROM TABLE itab_wa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550043#M1074473</guid>
      <dc:creator>Sathish</dc:creator>
      <dc:date>2008-09-23T09:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550044#M1074474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  The dump might be because of duplicate entries or records have the same key fields in the table with your using to insert.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Vijaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550044#M1074474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550045#M1074475</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;Declare one work area and try to upload the entries.&lt;/P&gt;&lt;P&gt;Or..,&lt;/P&gt;&lt;P&gt;This may occurs because if you try to update the same file second time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand with following analysis..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;If you use an ABAP/4 Open SQL array insert to insert a record in
 the database and that record already exists with the same key,
 this results in a termination.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550045#M1074475</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-09-23T09:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550046#M1074476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;your query is correct.But the problem is data while yoy are inserting into the table it violates the key relation.&lt;/P&gt;&lt;P&gt;Here there might be two reasons &lt;/P&gt;&lt;P&gt;1.Already some data might be there in the  table with same key fields which you are going to insert from the internal table&lt;/P&gt;&lt;P&gt;2.Otherwise in your internal table some duplicate records may be there&lt;/P&gt;&lt;P&gt;regrads&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:39:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550046#M1074476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550047#M1074477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sasidhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables: ZEMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;           NAME TYPE ZEMP-NAME,&lt;/P&gt;&lt;P&gt;           END OF ITAB.&lt;/P&gt;&lt;P&gt;DATA: WA LIKE LINE OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPLOAD ALL THE DATA INTO ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB INTO WA.&lt;/P&gt;&lt;P&gt;ZEMP-NAME = WA-NAME.&lt;/P&gt;&lt;P&gt;INSERT ZEMP.&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;CLEAR WA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:39:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550047#M1074477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550048#M1074478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;it may be due to duplicate entries or records have the same key fields in the table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use modify statement insead of insert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 09:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550048#M1074478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dump at INSERT Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550049#M1074479</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 can suggest u donot use INSERT statement but use MODIFY Statement so that if that record exist then the previous record is to be modified .and not exist then it will be inserted in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if useful..&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt; Sachhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 13:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dump-at-insert-statement/m-p/4550049#M1074479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T13:31:40Z</dc:date>
    </item>
  </channel>
</rss>

