<?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 creation through BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306207#M791794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just spotted your question. While I hope you've found the solution by now, my guess would be that you did not call BAPI_TRANSACTION_COMMIT after getting the success message from BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;At least that's what I forgot to when I first used this BAPI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2008 12:28:36 GMT</pubDate>
    <dc:creator>janoliver_feist</dc:creator>
    <dc:date>2008-10-02T12:28:36Z</dc:date>
    <item>
      <title>Sales order creation through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306206#M791793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(1) I have a BOM material , I enter it in VA01 --&amp;gt; It breaks down into header + 3 components on its own in VA01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2) I need to simulate the same through BAPI, therefore I first explode BOM using CS_BOM_EXPL_MAT_V2, then I call BAPI_SALESORDER_CREATFROMDAT2 with the following parameters&lt;/P&gt;&lt;P&gt;In ORDER_ITEMS_IN I pass header + components (ORDER_ITEMS_IN -HG_LV_ITEM for components has header number of 10)&lt;/P&gt;&lt;P&gt;In ORDER_SCHEDULES_IN I pass quantity of header + components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales order does not get created, I need that the sales order gets created from BAPI, then I check BAPI, it returns a SO number but if I go to transaction va03, I get the message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD document 100044538 does not exist &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message no. V1 302 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Diagnosis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This message is issued if no document header (VBAK) can be found for a SD&lt;/P&gt;&lt;P&gt;individual requirements record (VBBE) (inconsistency in R/3). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System response &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During the initial supply of sales order, the following error message &lt;/P&gt;&lt;P&gt;occurs 'Document xxxxxx does not exist' V1 302. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the error occurs during the inital supply of data in APO, there is an &lt;/P&gt;&lt;P&gt;inconsistency between the requirements in the SD documents in R/3. This &lt;/P&gt;&lt;P&gt;R/3 inconsistency can be corrected using report SDRQCR21 in R/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to replicate BOM SO creation in VA01 in BAPI_SALESORDER_CREATFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers -- thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2008 04:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306206#M791793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-30T04:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order creation through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306207#M791794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just spotted your question. While I hope you've found the solution by now, my guess would be that you did not call BAPI_TRANSACTION_COMMIT after getting the success message from BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;At least that's what I forgot to when I first used this BAPI...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 12:28:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306207#M791794</guid>
      <dc:creator>janoliver_feist</dc:creator>
      <dc:date>2008-10-02T12:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sales order creation through BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306208#M791795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the below FM to create sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SD_SALESDOCUMENT_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to call the BAPI 'BAPI_TRANSACTION_COMMIT' after calling the above FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 12:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sales-order-creation-through-bapi/m-p/3306208#M791795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T12:42:27Z</dc:date>
    </item>
  </channel>
</rss>

