<?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/Pointers on merging multiple sales orders in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656281#M1445637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2. Also see note 93091.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Mar 2010 21:48:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-08T21:48:39Z</dc:date>
    <item>
      <title>BAPI/Pointers on merging multiple sales orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656280#M1445636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to create a sales order with reference to multiple orders. I have used BAPI_SALESDOCUMENT_COPY to create the first order with reference to the original order, saved this order and then modify this order with the data from the remaining orders (by reading the data from the order using BAPI_SALESORDER_GETDETAILBOS). This is turning out to be very complicated as we are using BOM and I have to change the item number and the higher line item number of subsequent order data that I am including in the merged order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a better way of doing this? Is there a BAPI/Function Module available to create a sales order with reference to multiple orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or pointers to achieve this requirement will be helpful to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656280#M1445636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T21:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/Pointers on merging multiple sales orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656281#M1445637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use BAPI_SALESORDER_CREATEFROMDAT1 or BAPI_SALESORDER_CREATEFROMDAT2. Also see note 93091.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:48:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656281#M1445637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T21:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/Pointers on merging multiple sales orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656282#M1445638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob. We have the copy controls set so we will need the data to be transferred from the original document to the copied document. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Createfromdat1 or createfromdat2, where do I specify multiple referenced orders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example if I have the following orders in my system:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order 1000  	                     line 10&lt;/P&gt;&lt;P&gt;		Line 20&lt;/P&gt;&lt;P&gt;		Line 30&lt;/P&gt;&lt;P&gt;Order 2000	                     Line 10&lt;/P&gt;&lt;P&gt;		Line 20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need an order which has the line items from both these orders:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order expected:                 Line 10&lt;/P&gt;&lt;P&gt;		Line 20&lt;/P&gt;&lt;P&gt;		Line 30&lt;/P&gt;&lt;P&gt;                                          Line 40 which is  Line 10 of order 2000&lt;/P&gt;&lt;P&gt;		Line 50 which is  Line 20 of order 2000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 21:55:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656282#M1445638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T21:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI/Pointers on merging multiple sales orders</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656283#M1445639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you do in this case. You are creating, not copying orders. If you must copy, then I guess you have to stick with what you've got. But I don't think the functionality is there to copy from multiple orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 22:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-pointers-on-merging-multiple-sales-orders/m-p/6656283#M1445639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T22:01:59Z</dc:date>
    </item>
  </channel>
</rss>

