<?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: BAPI / FM for Order Create with Reference in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507878#M567007</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    First create the Sales Order via BAPI_SALESORDER_CREATEFROMDAT2 in the normal way. Then, get the relevant Contract Line Items' Condition Records and call BAPI_SALESORDER_CHANGE for the newly created ales Order (do not use BAPI_SALESORDER_GETDETAILEDLIST to get Condition Records as this populates some Function Group Structures and causes BAPI_SALESORDER_CHANGE to fail - rather hit KONV to get the Conditions and then T685A to get the Pricing Condition Master data, then pass this info into MAP_INT_TO_EXT_STRUCTURE which maps the data into the correct structure format for BAPI_SALESORDER_CHANGE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use&lt;/P&gt;&lt;P&gt;FM SD_SALESDOCUMENT_CREATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jul 2007 06:02:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-20T06:02:15Z</dc:date>
    <item>
      <title>BAPI / FM for Order Create with Reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507874#M567003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looking for a BAPI or any FM that can be used to create sales orders with reference. I want to create ORders with reference to other orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried BAPI_SALESORDER_CREATEFROMDAT1 and 2. These doesn;t work for referencing Order. Any ideas....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a LOT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 19:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507874#M567003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T19:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI / FM for Order Create with Reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507875#M567004</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;Please try FM SD_SALESDOCUMENT_CREATE ... in the header parameter there is parameter called REFDOCTYPE where you can specify the other sales document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also please check BAPI BAPI_SALESDOCUMENT_COPY as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 19:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507875#M567004</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-07-19T19:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI / FM for Order Create with Reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507876#M567005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible using BAPI_SALESORDER_CREATEFROMDAT12&lt;/P&gt;&lt;P&gt;you need to pass ref order number to &lt;/P&gt;&lt;P&gt;ORDER_HEADER_IN-REF_DOC (BAPISDHD1-REF_DOC)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 19:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507876#M567005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-19T19:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI / FM for Order Create with Reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507877#M567006</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;Here is list of all bapi for sales order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ORDER_CHANGE_STATUS_GET Change status for order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_GETSTATUS Sales order: Display status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_XSI_GET_VTRK_G Tracking info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls reward helpful points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ameet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 05:56:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507877#M567006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T05:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI / FM for Order Create with Reference</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507878#M567007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    First create the Sales Order via BAPI_SALESORDER_CREATEFROMDAT2 in the normal way. Then, get the relevant Contract Line Items' Condition Records and call BAPI_SALESORDER_CHANGE for the newly created ales Order (do not use BAPI_SALESORDER_GETDETAILEDLIST to get Condition Records as this populates some Function Group Structures and causes BAPI_SALESORDER_CHANGE to fail - rather hit KONV to get the Conditions and then T685A to get the Pricing Condition Master data, then pass this info into MAP_INT_TO_EXT_STRUCTURE which maps the data into the correct structure format for BAPI_SALESORDER_CHANGE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or use&lt;/P&gt;&lt;P&gt;FM SD_SALESDOCUMENT_CREATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 06:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-fm-for-order-create-with-reference/m-p/2507878#M567007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-20T06:02:15Z</dc:date>
    </item>
  </channel>
</rss>

