<?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: Problem in Insert Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280519#M1723937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vignesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp; pl give me syntax.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rakesh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2013 12:33:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-21T12:33:48Z</dc:date>
    <item>
      <title>Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280513#M1723931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt; I had Create one MOdule- Pool Programme. when i insert data in Z DB table only update first line. multiple line item are not inserted in DB table. &lt;/P&gt;&lt;P&gt;Code is Below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;INSERT zgateentry&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;IT_INSERT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCEPTING DUPLICATE KEYS&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt; Rakesh,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280513#M1723931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T11:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280514#M1723932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;loop it_insert into wa_insert.&lt;/P&gt;&lt;P&gt;insert zgateentry from wa_insert.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;try this ....&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Vinoth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:23:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280514#M1723932</guid>
      <dc:creator>vinoth_aruldass</dc:creator>
      <dc:date>2013-02-21T11:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280515#M1723933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Hi Rakesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;If a row with the same primary key or the same unique secondary index exists in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;the database table for one or more of the rows to be inserted, these rows cannot &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;be inserted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;If addition &lt;SPAN class="qtext"&gt;ACCEPTING DUPLICATE KEYS&lt;/SPAN&gt; is specified, all rows will be inserted which satisfies the condition duplicate keys and the remaining rows are rejected and sy-subrc equal to 4.u can check sy-dbcnt will shown the number of rows inserted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Vignesh Yeram&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:39:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280515#M1723933</guid>
      <dc:creator>vigneshyeram</dc:creator>
      <dc:date>2013-02-21T11:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280516#M1723934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Hi Rakesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;If a row with the same primary key or the same unique secondary index exists in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;the database table for one or more of the rows to be inserted, these rows cannot &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;be inserted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;If addition &lt;SPAN class="qtext"&gt;ACCEPTING DUPLICATE KEYS&lt;/SPAN&gt; is specified, all rows will be inserted which satisfies the condition duplicate keys and the remaining rows are rejected and sy-subrc equal to 4.u can check sy-dbcnt will shown the number of rows inserted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: calibri, verdana, arial, sans-serif; font-size: 12pt;"&gt;Vignesh Yeram&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:40:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280516#M1723934</guid>
      <dc:creator>vigneshyeram</dc:creator>
      <dc:date>2013-02-21T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280517#M1723935</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;It should work. Can you post the contents of your internal table? I hope you are not expecting duplicate records to be inserted in the database table. That won't happen even if you use ACCEPTING DUPLICATE KEYS. This addition does not allow you to add duplicate records in a database table. Just that if your internal table has duplicate records, it prevents a runtime error if you try to insert those records in the database. If your internal table has duplicate records and you don't use the addition ACCEPTING DUPLICATE KEYS, then you would get a runtime error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280517#M1723935</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-02-21T11:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280518#M1723936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Hi Akshat,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;I meant the same, may be where Rakesh is trying, internal table might contain duplicate records.it's better if he post the contents of the internal table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;If a row with the same primary key or the same unique secondary index exists in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;the database table for one or more of the rows to be inserted, these rows cannot &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;be inserted it will give dump&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;If addition &lt;SPAN class="qtext"&gt;ACCEPTING DUPLICATE KEYS&lt;/SPAN&gt; is specified, all rows will be inserted which is unique and the remaining rows are rejected and sy-subrc equal to 4.you can check sy-dbcnt will shown the number of rows inserted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;Vignesh Yeram&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:04:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280518#M1723936</guid>
      <dc:creator>vigneshyeram</dc:creator>
      <dc:date>2013-02-21T12:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280519#M1723937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vignesh,&lt;/P&gt;&lt;P&gt;&amp;nbsp; pl give me syntax.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rakesh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:33:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280519#M1723937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T12:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280520#M1723938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear vinoth,&lt;/P&gt;&lt;P&gt; i had already use that but not working.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 12:37:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280520#M1723938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-21T12:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280521#M1723939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax is :-&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;1) INSERT dbtab FROM&lt;SPAN class="L0S52"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;itab ACCEPTING DUPLICATE KEYS&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Could you please paste the entries present in internal table and database table so that it will be better to understand the expected output from you and the problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;2) if this does not work please use:-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY dbtab FROM itab.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; COMMIT WORK.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;It is better to update database table once instead of hitting the database again n again inside the loop.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Vignesh Yeram&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:38:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280521#M1723939</guid>
      <dc:creator>vigneshyeram</dc:creator>
      <dc:date>2013-02-21T16:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280522#M1723940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear vignesh,&lt;/P&gt;&lt;P&gt; i had already use both syntax but not working.&lt;/P&gt;&lt;P&gt;my internal table data are below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 000000000130&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130222&amp;nbsp;&amp;nbsp;&amp;nbsp; RAKES&amp;nbsp;&amp;nbsp;&amp;nbsp; RAKESH&amp;nbsp;&amp;nbsp;&amp;nbsp; AADDINATH CORPORATION&amp;nbsp;&amp;nbsp;&amp;nbsp; FDAS&amp;nbsp;&amp;nbsp;&amp;nbsp; SPLENDER&amp;nbsp;&amp;nbsp;&amp;nbsp; 231321&amp;nbsp;&amp;nbsp;&amp;nbsp; 090243&amp;nbsp;&amp;nbsp;&amp;nbsp; 000000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; 000000000130&amp;nbsp;&amp;nbsp;&amp;nbsp; 20130222&amp;nbsp;&amp;nbsp;&amp;nbsp; RAKES&amp;nbsp;&amp;nbsp;&amp;nbsp; RAKESH&amp;nbsp;&amp;nbsp;&amp;nbsp; AADDINATH CORPORATION&amp;nbsp;&amp;nbsp;&amp;nbsp; FDAS&amp;nbsp;&amp;nbsp;&amp;nbsp; SPLENDER&amp;nbsp;&amp;nbsp;&amp;nbsp; HULB&amp;nbsp;&amp;nbsp;&amp;nbsp; 090243&amp;nbsp;&amp;nbsp;&amp;nbsp; 000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in iternal table there is 2 line item but, in DB table store only one line Item.in DB Table one Primary key. first row (2) is Primarty key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In DB Table :&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;000000000130&lt;/TD&gt;&lt;TD&gt;20130222&lt;/TD&gt;&lt;TD&gt;RAKES&lt;/TD&gt;&lt;TD&gt;RAKESH&lt;/TD&gt;&lt;TD&gt;AADDINATH CORPORATION&lt;/TD&gt;&lt;TD&gt;FDAS&lt;/TD&gt;&lt;TD&gt;SPLENDER&lt;/TD&gt;&lt;TD&gt;231321&lt;/TD&gt;&lt;TD&gt;090243&lt;/TD&gt;&lt;TD&gt;000000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;store only first Entry...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 04:00:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280522#M1723940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-22T04:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280523#M1723941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;if you need all the entries don assign the key figure in the table ..&lt;/P&gt;&lt;P&gt;hope it helps,&lt;/P&gt;&lt;P&gt;Vinoth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 04:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280523#M1723941</guid>
      <dc:creator>vinoth_aruldass</dc:creator>
      <dc:date>2013-02-22T04:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Insert Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280524#M1723942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;If a row with the same primary key or the same unique secondary index exists in &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;the database table for one or more of the rows to be inserted, these rows cannot &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003366; font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;be inserted, it means in ur case primary key is the first only field 000000000130 in it is already present in DB table, so you try to insert same value 000000000130 again it will not be inserted it will give dump. if dump is to be avoided then u can also use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;INSERT dbtab FROM&lt;SPAN class="L0S52"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;itab ACCEPTING DUPLICATE KEYS&lt;BR /&gt;But in this case also same primary key will not be inserted it should be unique always.if the internal table contains two entries with same primary key only first entry will be inserted with above syntax if database table does not have the same primary key.&lt;/P&gt;&lt;P&gt;if you want to insert all the records you have to increase the primary key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the concept is you cannot insert the same primary key again.&lt;BR /&gt;Hope above explanation helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vignesh Yeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2013 09:25:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-insert-statement/m-p/9280524#M1723942</guid>
      <dc:creator>vigneshyeram</dc:creator>
      <dc:date>2013-02-22T09:25:23Z</dc:date>
    </item>
  </channel>
</rss>

