<?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 Create sales order with reference via BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124882#M986250</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 would like to know if is it possible to create a sales order with reference using BAPI, that is, I want to create an order from a contract, for example, referencing one or more contract itens. If so, what variable or table should I use? &lt;/P&gt;&lt;P&gt;I think that the most suitable function is &lt;/P&gt;&lt;P&gt;'BAPI_SALESORDER_CREATEFROMDAT2' or should I use another to do this?&lt;/P&gt;&lt;P&gt;I am using release SAP ECC 6.0.&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paulo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2008 09:39:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-01T09:39:36Z</dc:date>
    <item>
      <title>Create sales order with reference via BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124882#M986250</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 would like to know if is it possible to create a sales order with reference using BAPI, that is, I want to create an order from a contract, for example, referencing one or more contract itens. If so, what variable or table should I use? &lt;/P&gt;&lt;P&gt;I think that the most suitable function is &lt;/P&gt;&lt;P&gt;'BAPI_SALESORDER_CREATEFROMDAT2' or should I use another to do this?&lt;/P&gt;&lt;P&gt;I am using release SAP ECC 6.0.&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paulo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:39:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124882#M986250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create sales order with reference via BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124883#M986251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Paulo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can either use these one also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;BAPI_SALESORDER_CHANGE         Sales order: Change Sales Order   
BAPI_SALESORDER_CONFIRMDELVRY                                    
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order   
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124883#M986251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create sales order with reference via BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124884#M986252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI is ok; use the following item fields to create a reference to a contract:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ref_doc   (contract)&lt;/P&gt;&lt;P&gt;ref_doc_it (contract position)&lt;/P&gt;&lt;P&gt;ref_doc_ca (document type contract).&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124884#M986252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create sales order with reference via BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124885#M986253</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;You are using the correct BAPI to create the Sales Order, but you need to give the reference contract number and type in the Header structure ORDER_HEADER_IN of the BAPI, to create a sales order with reference to a contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cann't create a Sales order with reference to multiple contracts, but you can multiple sales orders with reference to 1 contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 09:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124885#M986253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T09:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create sales order with reference via BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124886#M986254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, you are using right BAPI i.e. BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to provide ORDER_HEADER_IN in that, Others are optional, even then if you have data for them, Provide it for better performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For any confusion related to chosing BAPI :  You may go to BAPI  transaction and find out the correct BAPI according to ur need. for example sales order relatd BAPI's are &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CHANGE :Change Sales Order&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2: Create Sales Order&lt;/P&gt;&lt;P&gt;BAPI_SALESDOCU_CREATEWITHDIA: Create Data Container with Dialog&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_GETLIST:List of all Orders for Customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2008 10:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124886#M986254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-01T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create sales order with reference via BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124887#M986255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can ou please tell me how ca I create multipesales orders ith reference to one contract?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rakesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jan 2011 15:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-sales-order-with-reference-via-bapi/m-p/4124887#M986255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-13T15:41:22Z</dc:date>
    </item>
  </channel>
</rss>

