<?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: SAPSQL_ARRAY_INSERT_DUPREC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419611#M201555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function is trying to insert a duplicate record in some database table. IF this is happening from the standard function module, check for OSS notes on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try executing the same in the foreground, place a breakpoint at the message statement and find out which table is causing the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2006 15:53:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-14T15:53:48Z</dc:date>
    <item>
      <title>SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419610#M201554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would someone tell me what is this "ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC"? &lt;/P&gt;&lt;P&gt;(Message no: 671; Message Type: A)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The job cancelled by this message.  It is happened in &lt;/P&gt;&lt;P&gt;"BAPI_INCOMINGINVOICE_CREATE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix this message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 15:51:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419610#M201554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T15:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419611#M201555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function is trying to insert a duplicate record in some database table. IF this is happening from the standard function module, check for OSS notes on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try executing the same in the foreground, place a breakpoint at the message statement and find out which table is causing the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note :Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 15:53:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419611#M201555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T15:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419612#M201556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use an ABAP/4 Open SQL array insert only if you are sure that none of&lt;/P&gt;&lt;P&gt;the records passed already exists in the database.&lt;/P&gt;&lt;P&gt;The ABAP/4 Open SQL array insert results in duplicate database records.&lt;/P&gt;&lt;P&gt;records in the data base.&lt;/P&gt;&lt;P&gt;If you use an ABAP/4 Open SQL array insert to insert a record in&lt;/P&gt;&lt;P&gt;the database and that record already exists with the same key,&lt;/P&gt;&lt;P&gt;this results in a termination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(With an ABAP/4 Open SQL single record insert in the same error&lt;/P&gt;&lt;P&gt;situation, processing does not terminate, but SY-SUBRC is set to 4.)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 15:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419612#M201556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T15:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419613#M201557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program is trying to insert duplicate entries into database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can able to know the table name from update / system log SM13 / SM21 Tocdes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 16:00:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419613#M201557</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-06-14T16:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419614#M201558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at OSS note 661864. the correction there might fix your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a relatively recent note that talks about this problem for this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 16:03:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419614#M201558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T16:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419615#M201559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should not happen with standard tables as SAP takes care of it normally. But if your incoming invoices use external number range and if you used the same number twice, may be that is one reason. Also you will know where you are getting duplicate record by going to ST22 and look for the dump analysis. If possible let us know the table on which you get this dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once in a while updates fail while in update task due to very rare system hiccups(like database full etc). In such cases, it is possible to have this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, check if you are updating any custom tables(Z tables) in some user exit that may be causing this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 16:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec/m-p/1419615#M201559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T16:06:37Z</dc:date>
    </item>
  </channel>
</rss>

