<?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 error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163833#M1711458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seem to be several notes that might apply to this situation. Here are the numbers with the symptoms text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1054457 - &lt;/P&gt;&lt;P&gt;You call transaction F871 to enter a request with reference to a funds commitment. The request has at least two items, that refer to the same item in the funds commitment. When you save the request, the program terminates with a short dump.&lt;BR /&gt;When you update the KB tables (KBLE, KBLK.), a termination occurs in the INSERT_POS_IN_DB form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1400545 - &lt;/P&gt;&lt;P&gt;You use the correction report RKMOBREP to correct commitment data for earmarked funds. When you do this, the system generates duplicate commitments.&lt;BR /&gt;If you run the payroll now, the update may terminate with the dump SAPSQL_ARRAY_INSERT_DUPREC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;419538 - At production startup, you delete all earmarked funds created in Funds Management with the report RFDLKBLX, in accordance with the IMG documentation. When you do this, the relevant commitments in CO are not deleted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2012 23:52:56 GMT</pubDate>
    <dc:creator>juan_suros</dc:creator>
    <dc:date>2012-11-16T23:52:56Z</dc:date>
    <item>
      <title>SAPSQL_ARRAY_INSERT_DUPREC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163830#M1711455</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;I've come across the above mentioned error while running Standard TX FMX1 in the following function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPSQL_ARRAY_INSERT_DUPREC&amp;nbsp;&amp;nbsp; &lt;EM&gt; -- runtime error&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;CX_SY_OPEN_SQL_DB&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; &lt;EM&gt; -- exception&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;INCLUDE LFMR3U16.&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;"FMR3_UPDATE_KBLKPW&amp;nbsp;&amp;nbsp; &lt;EM&gt;--FM&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Portion of code where this error occurs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 1 function fmr3_update_kblkpw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 2 *"----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 3 *"*"Verbuchungsfunktionsbaustein:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 4 *"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 5 *"*"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 6 *"&amp;nbsp; IMPORTING&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 7 *"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE(INSERT) LIKE&amp;nbsp; FMDY-XFELD OPTIONAL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 8 *"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VALUE(I_FLG_WAS_PARKED) LIKE&amp;nbsp; BOOLE-BOOLE DEFAULT SPACE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; 9 *"&amp;nbsp; TABLES&lt;/P&gt;&lt;P&gt;&amp;nbsp; 10 *"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_KBLK STRUCTURE&amp;nbsp; KBLK OPTIONAL&lt;/P&gt;&lt;P&gt;&amp;nbsp; 11 *"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_KBLP STRUCTURE&amp;nbsp; KBLP OPTIONAL&lt;/P&gt;&lt;P&gt;&amp;nbsp; 12 *"----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; 13&amp;nbsp;&amp;nbsp; if insert is initial.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 14&lt;/P&gt;&lt;P&gt;&amp;nbsp; 15 * geparkte Zeilen vorher löschen&lt;/P&gt;&lt;P&gt;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if i_flg_was_parked = con_true.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loop at t_kblk.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; delete from kblp&amp;nbsp; where belnr = t_kblk-belnr.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endloop.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 21&lt;/P&gt;&lt;P&gt;&amp;nbsp; 22 * Update&lt;/P&gt;&lt;P&gt;&amp;nbsp; 23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modify kblk&amp;nbsp; from table t_kblk.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 24&lt;/P&gt;&lt;P&gt;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modify kblp&amp;nbsp; from table t_kblp.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 26&lt;/P&gt;&lt;P&gt;&amp;nbsp; 27&amp;nbsp;&amp;nbsp; else.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 28 * Beim Insert doppelte Belegnummernvergabe verhindern&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert kblk&amp;nbsp; from table t_kblk.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&amp;nbsp; 31&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; insert kblp&amp;nbsp; from table t_kblp.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 32&lt;/P&gt;&lt;P&gt;&amp;nbsp; 33&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp; 34&lt;/P&gt;&lt;P&gt;&amp;nbsp; 35 endfunction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;&lt;EM&gt;*******************************&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;I've read in several forums that applying a note could resolve this issue. However, I do not know which specific note to apply. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;Any help with this will be greatly appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S31"&gt;Thanks in advance &lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 19:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163830#M1711455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T19:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163831#M1711456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the dump clearly says thats &lt;/P&gt;&lt;P&gt;you are try to insert&amp;nbsp; a duplicate record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to explore that you can find that value in Short dump details.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 19:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163831#M1711456</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2012-11-16T19:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163832#M1711457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls try to put the break point at the statement "insert kblk&amp;nbsp; from table t_kblk." and execute the transaction and see what are the values inserting into the table kblk. I think those values are already exist in table kblk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Also check with your functional consultant is there any process is done in a wrong way recently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 22:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163832#M1711457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-16T22:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163833#M1711458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seem to be several notes that might apply to this situation. Here are the numbers with the symptoms text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1054457 - &lt;/P&gt;&lt;P&gt;You call transaction F871 to enter a request with reference to a funds commitment. The request has at least two items, that refer to the same item in the funds commitment. When you save the request, the program terminates with a short dump.&lt;BR /&gt;When you update the KB tables (KBLE, KBLK.), a termination occurs in the INSERT_POS_IN_DB form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1400545 - &lt;/P&gt;&lt;P&gt;You use the correction report RKMOBREP to correct commitment data for earmarked funds. When you do this, the system generates duplicate commitments.&lt;BR /&gt;If you run the payroll now, the update may terminate with the dump SAPSQL_ARRAY_INSERT_DUPREC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;419538 - At production startup, you delete all earmarked funds created in Funds Management with the report RFDLKBLX, in accordance with the IMG documentation. When you do this, the relevant commitments in CO are not deleted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2012 23:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error/m-p/9163833#M1711458</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2012-11-16T23:52:56Z</dc:date>
    </item>
  </channel>
</rss>

