<?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 Creating a Sales order with reference to Contract using Bapi. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691916#M31150</link>
    <description>&lt;P&gt;Hello friends,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Im using BAPISDORDER_GETDETAILEDLIST to get data from a Contract and then tring to create a sales order. Ive tried several BAPI's but failed every time.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;1. BAPI_SALESDOCU_CREATEFROMDATA&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;error: enter document number from 45000000 to 49999999.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;2. BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;It creates a another contrach instead of a sales order.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;3. SD_SALESDOCUMENT_CREATE&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;It creates a another contrach instead of a sales order.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;please help me solve this issue.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Fri, 28 Sep 2018 13:57:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2018-09-28T13:57:40Z</dc:date>
    <item>
      <title>Creating a Sales order with reference to Contract using Bapi.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691916#M31150</link>
      <description>&lt;P&gt;Hello friends,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Im using BAPISDORDER_GETDETAILEDLIST to get data from a Contract and then tring to create a sales order. Ive tried several BAPI's but failed every time.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;1. BAPI_SALESDOCU_CREATEFROMDATA&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;error: enter document number from 45000000 to 49999999.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;2. BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;It creates a another contrach instead of a sales order.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;3. SD_SALESDOCUMENT_CREATE&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;It creates a another contrach instead of a sales order.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;please help me solve this issue.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 13:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691916#M31150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-28T13:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sales order with reference to Contract using Bapi.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691917#M31151</link>
      <description>&lt;P&gt;Deepak,&lt;/P&gt;&lt;P&gt;your question will not help anybody that they can give answer, this is very specific to your code.&lt;/P&gt;&lt;P&gt;In such cases share more details, like what code have you written, what data you are passing..and what is the message class, message no etc.&lt;/P&gt;&lt;P&gt;If you have checked these FMs, then share the debug screen and values input...and what is coming in output.....&lt;/P&gt;&lt;P&gt;We will not be able to help in such cases..where you just mentioned FMs/bapi..and error as enter doc# between 4XXX to 49XX.&lt;/P&gt;&lt;P&gt;If we see the text of error...then it says doc# is not passed correctly......so debug and come here.&lt;/P&gt;&lt;P&gt;&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;Mohan&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 15:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691917#M31151</guid>
      <dc:creator>TMSingh_SAP</dc:creator>
      <dc:date>2018-09-28T15:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Sales order with reference to Contract using Bapi.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691918#M31152</link>
      <description>&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT2 would create a sales order, check input data to this FM.&lt;/P&gt;&lt;P&gt;What are you passing to the AUART. It should be either 'OR' or any sales order document type.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Sep 2018 18:37:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-a-sales-order-with-reference-to-contract-using-bapi/m-p/691918#M31152</guid>
      <dc:creator>srikanthnalluri</dc:creator>
      <dc:date>2018-09-28T18:37:31Z</dc:date>
    </item>
  </channel>
</rss>

