<?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: Update terminate during return sales order creation (Delivery processing) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994204#M1343085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue was resolved by calling function RV_DELIVERY_INIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Sep 2009 17:54:56 GMT</pubDate>
    <dc:creator>roger_colaco2</dc:creator>
    <dc:date>2009-09-02T17:54:56Z</dc:date>
    <item>
      <title>Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994201#M1343082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have having issues with a scenario while creating delivery in a 4.7 system. When creating a return order (using FM SD_SALESDOCUMENT_CREATE) our system is configured to automatically generate deliveries for the return SO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario we are facing an issue in is, during data processing, a delivery is created using FM W_FRM_DELIVERY_CREATE_GENERAL, delivery is then processed for picking and PGI using FM WS_DELIVERY_UPDATE. &lt;/P&gt;&lt;P&gt;For the next record, a return order is created using FM SD_SALESDOCUMENT_CREATE, which also automatically tries to create the delivery. At this point we get an update terminate upon COMMIT and dump says SAPSQL_ARRAY_INSERT_DUPREC pointing towards form VBFA_BEARBEITEN. &lt;/P&gt;&lt;P&gt;Based on my analysis, while updating table VBFA the internal table DA_XVBFAI also has document flow for the previously processed regular sales order for which the system tries to insert a record in VBFA. This is a duplicate record and the update is terminated. The buffer nees to be refreshed and I tried using FM SHP_DELIVERY_BUFFER_REFRESH and LE_DELIVERY_REFRESH_BUFFER. None of these seem to refresh the VBFA buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if anyone can share their experience with this issue. Thanks for your help! &lt;/P&gt;&lt;P&gt;-Roger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 15:52:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994201#M1343082</guid>
      <dc:creator>roger_colaco2</dc:creator>
      <dc:date>2009-08-21T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994202#M1343083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try using one of these function modules BUTX_FRG0010_CLEAR_BUFFER or CK_F_SHARED_BUFFER_DELETE or COM_IL_DB_RESET_BUFFER or SNC_USER_FLUSH_BUFFER .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR Jaideep,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 16:27:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994202#M1343083</guid>
      <dc:creator>jaideepsharma</dc:creator>
      <dc:date>2009-08-21T16:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994203#M1343084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I checked these functions and none of these refresh the delivery buffer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 19:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994203#M1343084</guid>
      <dc:creator>roger_colaco2</dc:creator>
      <dc:date>2009-08-21T19:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994204#M1343085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue was resolved by calling function RV_DELIVERY_INIT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2009 17:54:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994204#M1343085</guid>
      <dc:creator>roger_colaco2</dc:creator>
      <dc:date>2009-09-02T17:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994205#M1343086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May I know how you used this fm as right now we also encountered the problem of SAPSQL_ARRAY_INSERT_DUPREC during the delivery processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 06:13:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994205#M1343086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T06:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994206#M1343087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roger, you &lt;SPAN style="color: #333333; font-size: 12px;"&gt;resolve&lt;/SPAN&gt;d my question, thanks very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 14:15:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994206#M1343087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-22T14:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994207#M1343088</link>
      <description>&lt;P&gt;This suggestion solve my problem too. I used FM BAPI_CUSTOMERRETURN_CREATE to create Sales Document and Delivery, But I was getting an error because delivery is saved in update tasking. I have tried a lot of solution and FM. But this one solved my problem. Tks.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 05:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994207#M1343088</guid>
      <dc:creator>former_member733573</dc:creator>
      <dc:date>2021-03-26T05:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update terminate during return sales order creation (Delivery processing)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994208#M1343089</link>
      <description>&lt;P&gt;Me too, solved with RV_DELIVERY_INI just before of call bapi.&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 21:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-terminate-during-return-sales-order-creation-delivery-processing/m-p/5994208#M1343089</guid>
      <dc:creator>Manuel_Hurtado</dc:creator>
      <dc:date>2021-05-13T21:58:08Z</dc:date>
    </item>
  </channel>
</rss>

