<?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 CX_SY_OPEN_SQL_DB dump in ME32K in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882962#M1688266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanamala , &lt;/P&gt;&lt;P&gt;&amp;nbsp; I had observed similar dump in some other transaction&amp;nbsp; and the reason for that was some one had changed the number range and system got the next number from the number range , but it already existed in the table , so during execution of insert command program dumped.&lt;/P&gt;&lt;P&gt;May be you can check if this is the case in your system also , in debugging see what is the value it tries to insert and from where is this value obtained.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Aug 2012 07:04:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-08-07T07:04:43Z</dc:date>
    <item>
      <title>SAPSQL_ARRAY_INSERT_DUPREC CX_SY_OPEN_SQL_DB dump in ME32K</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882961#M1688265</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;&lt;STRONG style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;User has entered duplicate condition record while changing the contract and getting an update termination error in &lt;SPAN style="text-decoration: underline;"&gt;KONM&lt;/SPAN&gt; table .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11pt; font-family: 'Calibri','sans-serif';"&gt;it is entered in to dump plz can any one tell me how to remove this dump .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Error&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAPSQL_ARRAY_INSERT_DUPREC&lt;BR /&gt;Exception&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CX_SY_OPEN_SQL_DB&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Occurred on&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31.07.2012 at&amp;nbsp;&amp;nbsp; 14:51:23&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Transaction......... "ME32K "&lt;BR /&gt;Program............. "SAPLV13A"&lt;BR /&gt;Screen.............. "RSM13000 3000"&lt;BR /&gt;Screen line......... 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP/4 Open SQL array insert results in duplicate database records.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;What happened?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Error in ABAP application program.&lt;/P&gt;&lt;P&gt;The current ABAP program "SAPLV13A" had to be terminated because one of the&lt;BR /&gt;statements could not be executed.&lt;/P&gt;&lt;P&gt;This is probably due to an error in the ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error analysis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;An exception occurred. This exception is dealt with in more detail below&lt;BR /&gt;. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was&lt;BR /&gt; neither&lt;BR /&gt;caught nor passed along using a RAISING clause, in the procedure "KONM_CHANGE"&lt;BR /&gt; "(FORM)"&lt;BR /&gt;.&lt;BR /&gt;Since the caller of the procedure could not have expected this exception&lt;BR /&gt; to occur, the running program was terminated.&lt;BR /&gt;The reason for the exception is:&lt;BR /&gt;If you use an ABAP/4 Open SQL array insert to insert a record in&lt;BR /&gt;the database and that record already exists with the same key,&lt;BR /&gt;this results in a termination.&lt;/P&gt;&lt;P&gt;(With an ABAP/4 Open SQL single record insert in the same error&lt;BR /&gt;situation, processing does not terminate, but SY-SUBRC is set to 4.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How to correct the error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The exception must either be prevented, caught within the procedure&lt;BR /&gt; "KONM_CHANGE"&lt;BR /&gt;"(FORM)", or declared in the procedure's RAISING clause.&lt;BR /&gt;To prevent the exception, note the following:&lt;BR /&gt;Use an ABAP/4 Open SQL array insert only if you are sure that none of&lt;BR /&gt;the records passed already exists in the database.&lt;/P&gt;&lt;P&gt;You may able to find an interim solution to the problem&lt;BR /&gt;in the SAP note system. If you have access to the note system yourself,&lt;BR /&gt;use the following search criteria:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------&lt;BR /&gt;"SAPSQL_ARRAY_INSERT_DUPREC" CX_SY_OPEN_SQL_DBC&lt;BR /&gt;"SAPLV13A" or "LV13AU02"&lt;BR /&gt;"KONM_CHANGE"&lt;BR /&gt;-----------------------------------------------------------------------&lt;BR /&gt;If you cannot solve the problem yourself, please send the&lt;BR /&gt;following documents to SAP:&lt;/P&gt;&lt;P&gt;1. A hard copy print describing the problem.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To obtain this, select the "Print" function on the current screen.&lt;BR /&gt;-&lt;/P&gt;&lt;P&gt;2. A suitable hardcopy prinout of the system log.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To obtain this, call the system log with Transaction SM21&lt;BR /&gt;&amp;nbsp;&amp;nbsp; and select the "Print" function to print out the relevant&lt;BR /&gt;&amp;nbsp;&amp;nbsp; part.&lt;/P&gt;&lt;P&gt;3. If the programs are your own programs or modified SAP programs,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; supply the source code.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; To do this, you can either use the "PRINT" command in the editor or&lt;BR /&gt;&amp;nbsp;&amp;nbsp; print the programs using the report RSINCL00.&lt;/P&gt;&lt;P&gt;4. Details regarding the conditions under which the error occurred&lt;BR /&gt;&amp;nbsp;&amp;nbsp; or which actions and input led to the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * perform database update&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case kc_updkz.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when updkz_new.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;-----------&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert konm from table konm_tab.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; here it is entered in to dump where it is trieng to insert record which is duplicate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when updkz_update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; update konm from table konm_tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when updkz_delete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delete konm from table konm_tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endcase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; * pass back returncode of database update&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kc_subrc = sy-subrc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endform.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "KONM_CHANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Information on where terminated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The termination occurred in the ABAP program "SAPLV13A" in "KONM_CHANGE".&lt;BR /&gt;The main program was "RSM13000 ".&lt;/P&gt;&lt;P&gt;The termination occurred in line 655 of the source code of the (Include)&lt;BR /&gt; program "LV13AU02"&lt;BR /&gt;of the source code of program "LV13AU02" (when calling the editor 6550).&lt;BR /&gt;The program "SAPLV13A" was started in the update system.&lt;BR /&gt;Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in&lt;BR /&gt; the&lt;BR /&gt;procedure "KONM_CHANGE" "(FORM)" but was not handled locally, not declared in&lt;BR /&gt; the&lt;BR /&gt;RAISING clause of the procedure.&lt;BR /&gt;The procedure is in the program "SAPLV13A ". Its source code starts in line 628&lt;BR /&gt;of the (Include) program "LV13AU02 ".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 06:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882961#M1688265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-07T06:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC CX_SY_OPEN_SQL_DB dump in ME32K</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882962#M1688266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanamala , &lt;/P&gt;&lt;P&gt;&amp;nbsp; I had observed similar dump in some other transaction&amp;nbsp; and the reason for that was some one had changed the number range and system got the next number from the number range , but it already existed in the table , so during execution of insert command program dumped.&lt;/P&gt;&lt;P&gt;May be you can check if this is the case in your system also , in debugging see what is the value it tries to insert and from where is this value obtained.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2012 07:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882962#M1688266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-07T07:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC CX_SY_OPEN_SQL_DB dump in ME32K</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882963#M1688267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2012 05:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-cx-sy-open-sql-db-dump-in-me32k/m-p/8882963#M1688267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-08-17T05:22:54Z</dc:date>
    </item>
  </channel>
</rss>

