<?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: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196865#M1625786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is number range problem for contract documents, I would suggest you to go to VOV8 and double click on the "Sales Document Type" which is giving you this error (for example VBOS). Now look at the field "No. range int. assig." It will have some number assigned to it (example 09). Note down that number and go to transaction VN01, click on overview and look for the number you noted down in the column NR status note down the number it is the number SAP is trying to assign when a contract is created but that number might already exists in VBAK table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution: So go to VBAK table for document category G  and look for the highest number assigned now go to VN01  in change mode and change "NR status" number one or two higher than the highest in VBAK. (for example if the highest number in VBAK of document category G "contracts"  is 40073493 change current number in VN01 to 60073494)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 16:50:36 GMT</pubDate>
    <dc:creator>sjeevan</dc:creator>
    <dc:date>2011-09-15T16:50:36Z</dc:date>
    <item>
      <title>VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196860#M1625781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While saving a contract through transaction VA41 i am facing the update termination error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dump Analysis : &lt;/P&gt;&lt;P&gt;Short text                                                                                &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;/P&gt;&lt;P&gt;Dump provide the following key words to search SAP note's &lt;/P&gt;&lt;P&gt;"SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"                                             &lt;/P&gt;&lt;P&gt;"SAPLV45U" or "LV45UF0V"                                                                     &lt;/P&gt;&lt;P&gt;"VBKD_BEARBEITEN"   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But unfortunately i am not able to find relevant note for this issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saw entries which got populated in DA_XVBKDI, found duplicate entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Its is while creation of contract not at change of contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs will be appreciable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adnan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 09:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196860#M1625781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T09:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196861#M1625782</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;Check for any user exit, enhancement implementation. Please debug the code when the ITAB values are getting duplicate. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196861#M1625782</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T12:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196862#M1625783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you will find any note for this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you may have messed up some codes in any enhancements/ exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have set the UPDKZ variable to I instead of U. This is the reason of getting the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug the application and check if DA_XVBKDI has duplicate entries. Deleting the duplicate record will solve the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Mishra!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196862#M1625783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T12:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196863#M1625784</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;May be one of the below reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Data issue: You are using wrong data to create document&lt;/P&gt;&lt;P&gt;2) Bug in user exit or badi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Reventh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 15:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196863#M1625784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-15T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196864#M1625785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi A, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This error means that a transaction / program was attempting to commit &lt;/P&gt;&lt;P&gt;information to the database that would result in a duplicate entry in a &lt;/P&gt;&lt;P&gt;table with primary key. Depending on when and where you are getting it it &lt;/P&gt;&lt;P&gt;can be caused by some SAP bugs in Phsyical Inventory Document Clearing, &lt;/P&gt;&lt;P&gt;numbver ranges being out of synchronization after a client copy etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is your Production system search on OSS for a solution, if this is a &lt;/P&gt;&lt;P&gt;QA or DEV box - check number range object settings etc. to see if you have &lt;/P&gt;&lt;P&gt;become out of line since the last client copy went into them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using the SAP version below 4.7 then below SAP note may helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note 406861 - Update termination when saving sales order or contract&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naresh Nelapatla on Sep 15, 2011 6:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 15:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196864#M1625785</guid>
      <dc:creator>former_member206439</dc:creator>
      <dc:date>2011-09-15T15:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196865#M1625786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is number range problem for contract documents, I would suggest you to go to VOV8 and double click on the "Sales Document Type" which is giving you this error (for example VBOS). Now look at the field "No. range int. assig." It will have some number assigned to it (example 09). Note down that number and go to transaction VN01, click on overview and look for the number you noted down in the column NR status note down the number it is the number SAP is trying to assign when a contract is created but that number might already exists in VBAK table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution: So go to VBAK table for document category G  and look for the highest number assigned now go to VN01  in change mode and change "NR status" number one or two higher than the highest in VBAK. (for example if the highest number in VBAK of document category G "contracts"  is 40073493 change current number in VN01 to 60073494)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 16:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196865#M1625786</guid>
      <dc:creator>sjeevan</dc:creator>
      <dc:date>2011-09-15T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: VA41 - Update termination error - SAPSQL_ARRAY_INSERT_DUPREC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196866#M1625787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for providing inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Shiva H - No relevant changes are found in enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Abhinab - custom code is not setting the UPDKZ as 'I' it is standard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Reventh - No relevant changes are found in enhancement.&lt;/P&gt;&lt;P&gt;           Faulty data possible... but same data is not reproducing the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Naresh &amp;amp; Jevan - number range is OK and it is 6.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Won't be able to debug as environment is prod. I saw table entries through transaction SM13. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for more information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 14:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/va41-update-termination-error-sapsql-array-insert-duprec/m-p/8196866#M1625787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-22T14:57:50Z</dc:date>
    </item>
  </channel>
</rss>

