<?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: How to create sales order using bapi( test purpose) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914568#M380496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to [Easy BAPI testing in SE37|http://dominiktylczynskien.wordpress.com/2011/07/06/easy-bapi-testing-in-se37/] You can easily test BAPI with commit in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 09:34:59 GMT</pubDate>
    <dc:creator>Dominik_Tylczynski</dc:creator>
    <dc:date>2011-07-08T09:34:59Z</dc:date>
    <item>
      <title>How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914562#M380490</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;       while i was creating sales order using the BAPI_SALESORDER_CREATEFROMDAT1 it is giving some error,&lt;/P&gt;&lt;P&gt;version 0 is not defined for the fiscal year ****.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the fallowing parameters as input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_HEADER_IN&lt;/P&gt;&lt;P&gt;	DOC_TYPE     OR&lt;/P&gt;&lt;P&gt;                SALES_ORG  1000&lt;/P&gt;&lt;P&gt;	DISTR_CHAN  10&lt;/P&gt;&lt;P&gt;                DIVISION         00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_PATNERS&lt;/P&gt;&lt;P&gt;	PARTN_ROLE	SP&lt;/P&gt;&lt;P&gt;	PARTN_NUMB	1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORDER_ITEMSIN&lt;/P&gt;&lt;P&gt;	MATERIAL	M-13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create sample sales order . Please help me how to create sales order with an example( for test purpose).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deviprasad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 04:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914562#M380490</guid>
      <dc:creator>deviprasad_pothireddy</dc:creator>
      <dc:date>2007-02-12T04:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914563#M380491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deviprasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_SALESORDER_CREATEFROMDAT1 is obsolete as of 4.6C.  Try using BAPI_SALESORDER_CREATEFROMDAT2.&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;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:04:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914563#M380491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914564#M380492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using BAPI_SALESORDER_CREATEFROMDAT2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While creating sales order using FM: BAPI_SALESORDER_CREATEFROMDAT2, please make sure ORDER_ITEMS_IN, ORDER_ITEMS_INX, ORDER_SCHEDULES_IN, ORDER_SCHEDULES_INX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pricing Conditions will not be mandatory to create a sales order via BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you were saying, you can create a sales order but not with items. Do populate the internal tables that i have specified above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try to pass the item number internally, this will help you in identifying the schedule lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:11:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914564#M380492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914565#M380493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tested with the BAPI_SALESORDER_CREATEFROMDAT2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;    return message is ( type s, message-&amp;gt; sales_header_in has been processed succesful)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the problem is, In export parameters there is no sales order number existing. i need this sales document number.&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deviprasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:17:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914565#M380493</guid>
      <dc:creator>deviprasad_pothireddy</dc:creator>
      <dc:date>2007-02-12T05:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914566#M380494</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;Should be in ORDER_KEYS-DOC_NUMBER and the export parameter SALESDOCUMENT.&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;Gareth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:19:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914566#M380494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914567#M380495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Devi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you doing Commit after the BAPI is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Please see the below text maintained in the BAPI documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BAPI does not have a database commit. This means that the&lt;/P&gt;&lt;P&gt;relevant application must leave the commit, in order that can be&lt;/P&gt;&lt;P&gt;carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is&lt;/P&gt;&lt;P&gt;available for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 05:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914567#M380495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T05:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create sales order using bapi( test purpose)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914568#M380496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to [Easy BAPI testing in SE37|http://dominiktylczynskien.wordpress.com/2011/07/06/easy-bapi-testing-in-se37/] You can easily test BAPI with commit in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dominik Tylczynski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 09:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-sales-order-using-bapi-test-purpose/m-p/1914568#M380496</guid>
      <dc:creator>Dominik_Tylczynski</dc:creator>
      <dc:date>2011-07-08T09:34:59Z</dc:date>
    </item>
  </channel>
</rss>

