<?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_SALESORDER_CREATEFROMDAT2 - Problem with price in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950516#M65139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;warning does not matter. it shd create the order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did u execute BAPI_TRANSACTION_COMMIT in separate window or using test sequence in se37&lt;/P&gt;&lt;P&gt;How to use test sequence &lt;/P&gt;&lt;P&gt;========================&lt;/P&gt;&lt;P&gt;In se37 &lt;/P&gt;&lt;P&gt;from menu...&lt;/P&gt;&lt;P&gt;function modules-&amp;gt;test-&amp;gt;test sequence&lt;/P&gt;&lt;P&gt;1 : BAPI_SALESORDER_CREATEFROMDAT2 &lt;/P&gt;&lt;P&gt;2 : BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then fill the data &amp;amp; execute....&lt;/P&gt;&lt;P&gt;once u execute BAPI_SALESORDER_CREATEFROMDAT2 &lt;/P&gt;&lt;P&gt;then go back once and once again press F8 to execute BAPI_TRANSACTION_COMMIT in sequence...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward points if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2005 00:57:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-22T00:57:05Z</dc:date>
    <item>
      <title>BAPI_SALESORDER_CREATEFROMDAT2 - Problem with price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950514#M65137</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;  I'm trying to create a Sales Document with the BAPI_SALESORDER_CREATEFROMDAT2 with SE37, i don't know what is missing, because it gives me the order number but when i call the BAPI_TRANSACTION_COMMIT,  it doesn't create the document, the result of the BAPI_SALESORDER_CREATEFROMDAT2 is next:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S V4233SALES_HEADER_IN has been processed successfully    &lt;/P&gt;&lt;P&gt;S V4233SALES_ITEM_IN has been processed successfully      &lt;/P&gt;&lt;P&gt;W V1555The sales document is not yet complete: Edit data  &lt;/P&gt;&lt;P&gt;S V1311Pedido Nacional 0000281711 has been saved          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I feel the problem is in the parameters i'm sending, because i'm creating a sales order with VA01, and when debugging the BAPI and VA01, comparing table XVBAP at BAPI and VA01, i have difference at XVBAP-KWMENG and XVBAP-NETWR, at the BAPI'S table i don't have data, and at the VA01 transaction i have it, i give the parameters i'm sending so maybe somebody can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ORDER_HEADER_IN&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;DOC_TYPE&lt;/P&gt;&lt;P&gt;SALES_ORG&lt;/P&gt;&lt;P&gt;DISTR_CHAN&lt;/P&gt;&lt;P&gt;DIVISION&lt;/P&gt;&lt;P&gt;REQ_DATE_H&lt;/P&gt;&lt;P&gt;PURCH_DATE&lt;/P&gt;&lt;P&gt;INCOTERMS1&lt;/P&gt;&lt;P&gt;PMNTTRMS&lt;/P&gt;&lt;P&gt;PRICE_DATE&lt;/P&gt;&lt;P&gt;PURCH_NO_C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ORDER_ITEMS_IN&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;MATERIAL&lt;/P&gt;&lt;P&gt;PLANT&lt;/P&gt;&lt;P&gt;TARGET_QTY&lt;/P&gt;&lt;P&gt;TARGET_QU&lt;/P&gt;&lt;P&gt;INCOTERMS1&lt;/P&gt;&lt;P&gt;ROUTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ORDER_PARTNERS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;PARTN_ROLE        &lt;/P&gt;&lt;P&gt;PARTN_NUMB   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;And that's all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Soraya Cervantes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2005 21:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950514#M65137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-21T21:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - Problem with price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950515#M65138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Soraya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass in the Pricing COnditions via the ORDER_CONDITIONS_IN and ORDER_CONDITIONS_INX parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tbl_bapicond-itm_number = '000010'.
tbl_bapicond-cond_type  = 'ZP01'.
tbl_bapicond-cond_value = '100'.
append tbl_bapicond.

tbl_bapicondx-itm_number  = '000010'.
tbl_bapicondx-cond_type   = 'ZP01'.
tbl_bapicondx-update_flag = 'U'.
tbl_bapicondx-cond_value  = 'X'.
append tbl_bapicondx.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Kindly assign Reward Points to the posts you find helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 00:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950515#M65138</guid>
      <dc:creator>former_member221770</dc:creator>
      <dc:date>2005-09-22T00:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - Problem with price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950516#M65139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;warning does not matter. it shd create the order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did u execute BAPI_TRANSACTION_COMMIT in separate window or using test sequence in se37&lt;/P&gt;&lt;P&gt;How to use test sequence &lt;/P&gt;&lt;P&gt;========================&lt;/P&gt;&lt;P&gt;In se37 &lt;/P&gt;&lt;P&gt;from menu...&lt;/P&gt;&lt;P&gt;function modules-&amp;gt;test-&amp;gt;test sequence&lt;/P&gt;&lt;P&gt;1 : BAPI_SALESORDER_CREATEFROMDAT2 &lt;/P&gt;&lt;P&gt;2 : BAPI_TRANSACTION_COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then fill the data &amp;amp; execute....&lt;/P&gt;&lt;P&gt;once u execute BAPI_SALESORDER_CREATEFROMDAT2 &lt;/P&gt;&lt;P&gt;then go back once and once again press F8 to execute BAPI_TRANSACTION_COMMIT in sequence...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz reward points if helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 00:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950516#M65139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T00:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - Problem with price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950517#M65140</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;  Thanks, i passed ORDER_CONDITIONS_IN, but anyway it didn't create the order ok, but, now the only thing i made was to take off the INCOTERMS1 and PMNTTRMS from the ORDER_HEADER_IN, and it works ok!,  now i have to call the BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Patrick!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings &lt;/P&gt;&lt;P&gt;Soraya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 13:39:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950517#M65140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T13:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_SALESORDER_CREATEFROMDAT2 - Problem with price</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950518#M65141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I did it and it works ok!!, now i can see the document i created by the BAPI_SALESORDER_CREATEFROMDAT2 at VA02!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Venkat!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Soraya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2005 13:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-salesorder-createfromdat2-problem-with-price/m-p/950518#M65141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-22T13:48:17Z</dc:date>
    </item>
  </channel>
</rss>

