<?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 BAPI_SALESORDER_CREATEFROMDAT2 with auto delivery creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285553#M785880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use BAPI_SALESORDER_CREATEFROMDAT2 to create orders. When creating &lt;/P&gt;&lt;P&gt;rush orders the system automatically creates a corresponding delivery for the order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I call the commit BAPI I try to read the created delivery from VBFA. But it often happens &lt;/P&gt;&lt;P&gt;that the VBFA update is not done synchronously which means I cannot find my delivery in VBFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to do a loop and select 10 times from VBFA till the delivery can be found. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any other way of getting the delivery directly after creating the order with this BAPI? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI returns the delivery number as message variable in the return parameter. But using it does smell bad to me. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and cheers,&lt;/P&gt;&lt;P&gt;Sascha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jan 2008 11:02:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-11T11:02:54Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2 with auto delivery creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285553#M785880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use BAPI_SALESORDER_CREATEFROMDAT2 to create orders. When creating &lt;/P&gt;&lt;P&gt;rush orders the system automatically creates a corresponding delivery for the order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I call the commit BAPI I try to read the created delivery from VBFA. But it often happens &lt;/P&gt;&lt;P&gt;that the VBFA update is not done synchronously which means I cannot find my delivery in VBFA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to do a loop and select 10 times from VBFA till the delivery can be found. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know any other way of getting the delivery directly after creating the order with this BAPI? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI returns the delivery number as message variable in the return parameter. But using it does smell bad to me. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and cheers,&lt;/P&gt;&lt;P&gt;Sascha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 11:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285553#M785880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T11:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 with auto delivery creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285554#M785881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When calling BAPI_TRANSACTION_COMMIT pass the WAIT parameter as 'X', that will execute a COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:13:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285554#M785881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 with auto delivery creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285555#M785882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but the flag is already set to X.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the order number and the order exists in database. What is missing is everything about the delivery ... no lips no likp no vbfa ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems that the internal commit for the delievry tables is done somehow later. Could this be? &lt;/P&gt;&lt;P&gt;I thought when calling Bapi_Transaction_Commit everything of the actual workprocess gets committed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sascha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sascha Dingeldey on Jan 11, 2008 2:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 13:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285555#M785882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T13:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 with auto delivery creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285556#M785883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sascha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was my understanding as well. The commit work and wait is supposed to wait until everything is posted and completed and only then continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One reason why that happens might be that the actual delivery creation is done is a separate LUW and that's why the commit work and wait doesn't recognize that process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that doesn't really help you but at least it would explain why it happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2008 14:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-with-auto-delivery-creation/m-p/3285556#M785883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-11T14:05:47Z</dc:date>
    </item>
  </channel>
</rss>

