<?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: Sales order Bapi - Delivery Bapi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134682#M1365980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Carsten and Amit for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use 'Submit' and in that i call the delivery bapi, i pass the same parameters as i was passing in the original pgm .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after submit it creates delivery , but if i call in same loop after sales order bapi, with same parameter, it gives error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table we have checked entries is there, that's why it creates delivery in submit pgm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it related any where to LUW concept ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Sep 2009 11:48:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-10T11:48:40Z</dc:date>
    <item>
      <title>Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134676#M1365974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to create Sales order, i am using Bapi 'BAPI_SALESORDER_CREATEFROMDAT2' to create multiple sales order in a loop.&lt;/P&gt;&lt;P&gt;After creating Sales order, i want to create delivery for the same order. I am using Bapi 'BAPI_OUTB_DELIVERY_CREATE_SLS' to create Delivery for the sales order. I create a Sales order , then i create delivery in a loop, one by one.&lt;/P&gt;&lt;P&gt;      But when i try to create the delivery through bapi, it gives error like 'Copying control is not possible'. I tried to debug the error, but did'nt understand. &lt;/P&gt;&lt;P&gt;     Now when i create the sales order through bapi and then in the same loop if i call other program through 'SUBMIT', in that program, i have used delivery bapi, in that case it creates delivery.&lt;/P&gt;&lt;P&gt;    Can any body help on this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 07:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134676#M1365974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T07:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134677#M1365975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try BAPI_TRANSACTION_COMMIT after creating the SO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;carsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 07:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134677#M1365975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134678#M1365976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already written 'BAPI_TRANSACTION_COMMIT' after sales order bapi. I am also passing wait parameter as 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still the problem exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: philips123 on Sep 10, 2009 9:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 07:54:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134678#M1365976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T07:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134679#M1365977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then, somtething must be different dealing with sales_order_items-ref_doc.&lt;/P&gt;&lt;P&gt;Are you sure that it's properly filled with the new VBELN returned from SO-Bapi ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;carsten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 11:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134679#M1365977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T11:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134680#M1365978</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;Try using following FM's for delivery creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RV_DELIVERY_CREATE
RV_DELIVERY_CREATE_SINGLE
RV_DELIVERY_CREATE_SINGLE_POST&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check tcode VTLA for copying controls for sales order to delivery with your functional person. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 11:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134680#M1365978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T11:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134681#M1365979</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;After creating the sales order through bapi, after commit statement check that sales orrder is lock is released.&lt;/P&gt;&lt;P&gt;If not released keep the timer until th elock release. Then use the delivery bapi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrads,&lt;/P&gt;&lt;P&gt;raghu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 11:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134681#M1365979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134682#M1365980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Carsten and Amit for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i use 'Submit' and in that i call the delivery bapi, i pass the same parameters as i was passing in the original pgm .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after submit it creates delivery , but if i call in same loop after sales order bapi, with same parameter, it gives error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In table we have checked entries is there, that's why it creates delivery in submit pgm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it related any where to LUW concept ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 11:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134682#M1365980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T11:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134683#M1365981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ragvender for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to do this? can u  please explain in details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2009 11:54:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134683#M1365981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-10T11:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134684#M1365982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you sure you are not still locking the delivery. As long as it is not being called via BDC you can do a commit work and wait which will flush the DB buffer and write changes to the disk. Remember that when you are calling some of the SAP standard commands they will sometimes do things in update tasks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used these bapi's but always required to put in a commit work and wait otherwise they have issues in production systems where the load is higher. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 21:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134684#M1365982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-08T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order Bapi - Delivery Bapi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134685#M1365983</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;Some times in loop 'BAPI_TRANSACTION_COMMIT' not perform as expected and create problem in updation.&lt;/P&gt;&lt;P&gt;Try command SET UPDATE TASK LOCAL in the loop before calling the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shailendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2009 05:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-bapi-delivery-bapi/m-p/6134685#M1365983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-21T05:45:01Z</dc:date>
    </item>
  </channel>
</rss>

