<?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 BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700219#M1769019</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This Error may occur with one of the following reasons.&lt;/P&gt;&lt;P&gt;1.Dead Locks. &lt;/P&gt;&lt;P&gt;2.Inserting record and updating the same record in the loop.&lt;/P&gt;&lt;P&gt;3.Table Locks.&lt;/P&gt;&lt;P&gt;4.Not using &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;COMMIT WORK AND WAIT after the INSERT and the UPDATE statements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;5.&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;ROLLBACK WORK if INSERT or UPDATE fails.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestion is to use 'Lock Objects' and 'Commit' after successful insertion/updation and rollback when fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 17:17:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-09-04T17:17:44Z</dc:date>
    <item>
      <title>SAPSQL_ARRAY_INSERT_DUPREC error in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700216#M1769016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating sales order using function module BAPI_SALESORDER_CREATEFROMDAT2 in two different programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First program will be used to create orders in foreground.&lt;/P&gt;&lt;P&gt;2.Second program will be used to create orders in background/Foreground.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried to create sales order via second program its creating DUMP&lt;/P&gt;&lt;P&gt;"&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; "SD_PARTNER_UPDATE" "(FUNCTION)""&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the program was able to create sales order without any issues in both the cases.before calling this function module I checked the value from boh the palces, I don't find any differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone faced similar kind of issues? Anyone have clue for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:11:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700216#M1769016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T16:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC error in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700217#M1769017</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;You should check the partenrs data transfered to the BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the data are from?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700217#M1769017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T16:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC error in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700218#M1769018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am passing AG, WE, ZE, KB, Z1 partner details to BAPI, I dont find any difference in the data in both the programs. But if I execute from program 2, its throwing this DUMP( I put a debug point in program ZXCSVU05 ), its getting called two times, when I execute from First program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same code I used in both the program, same data is coming till BAPI but its giving dump in one program not in other program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gowrishankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700218#M1769018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T16:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAPSQL_ARRAY_INSERT_DUPREC error in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700219#M1769019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This Error may occur with one of the following reasons.&lt;/P&gt;&lt;P&gt;1.Dead Locks. &lt;/P&gt;&lt;P&gt;2.Inserting record and updating the same record in the loop.&lt;/P&gt;&lt;P&gt;3.Table Locks.&lt;/P&gt;&lt;P&gt;4.Not using &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;COMMIT WORK AND WAIT after the INSERT and the UPDATE statements.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;5.&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;ROLLBACK WORK if INSERT or UPDATE fails.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestion is to use 'Lock Objects' and 'Commit' after successful insertion/updation and rollback when fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 17:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapsql-array-insert-duprec-error-in-bapi-salesorder-createfromdat2/m-p/9700219#M1769019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-09-04T17:17:44Z</dc:date>
    </item>
  </channel>
</rss>

