<?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 dump while saving PO in ME22N in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-dump-while-saving-po-in-me22n/m-p/3911951#M937905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This occurs because you try to insert a data with a key that already exists on the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had once a similar problem with ME22 and I solved it by debugging and discovering which was the corrupt data. I think there was an error during PO savingand not all data was inserted, leaving some inconsistent data in tables. Later, when you try to save the purchase order, a data with same key is generated and tried to be inserted. If this is your case, you have two options: complete the data manually (inserting data in necessary tables) or delete the inconsistent data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2008 23:04:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-29T23:04:32Z</dc:date>
    <item>
      <title>SAPSQL_ARRAY_INSERT_DUPREC dump while saving PO in ME22N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-dump-while-saving-po-in-me22n/m-p/3911950#M937904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPSQL_ARRAY_INSERT_DUPREC dump while updating PO in ME22N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error analysis&lt;/P&gt;&lt;P&gt;    An exception occurred. This exception is dealt with in more detail below&lt;/P&gt;&lt;P&gt;    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was&lt;/P&gt;&lt;P&gt;     neither&lt;/P&gt;&lt;P&gt;    caught nor passed along using a RAISING clause, in the procedure&lt;/P&gt;&lt;P&gt;     "/SAPSLL/OBJIDX_DB_UPDATE_R3" "(FUNCTION)"&lt;/P&gt;&lt;P&gt;    .&lt;/P&gt;&lt;P&gt;    Since the caller of the procedure could not have expected this exception&lt;/P&gt;&lt;P&gt;     to occur, the running program was terminated.&lt;/P&gt;&lt;P&gt;    The reason for the exception is:&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;I tried to find SNOTE for this, but cannot find for ECC5.0. Can anybody help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 22:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-dump-while-saving-po-in-me22n/m-p/3911950#M937904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T22:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC dump while saving PO in ME22N</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-dump-while-saving-po-in-me22n/m-p/3911951#M937905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This occurs because you try to insert a data with a key that already exists on the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had once a similar problem with ME22 and I solved it by debugging and discovering which was the corrupt data. I think there was an error during PO savingand not all data was inserted, leaving some inconsistent data in tables. Later, when you try to save the purchase order, a data with same key is generated and tried to be inserted. If this is your case, you have two options: complete the data manually (inserting data in necessary tables) or delete the inconsistent data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2008 23:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-dump-while-saving-po-in-me22n/m-p/3911951#M937905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-29T23:04:32Z</dc:date>
    </item>
  </channel>
</rss>

