<?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 Problem when using BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-using-bapi-salesorder-createfromdat2/m-p/1557941#M252519</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 am using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and it is working fine. &lt;/P&gt;&lt;P&gt;System determines prices using pricing date and pricing procedure but I am trying to overwrite the prices in item conditions. BAPI instead of modifying the prices in the new sales order it is inserting another line of same condition type using the value passed through the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;COndition type          Price&lt;/P&gt;&lt;P&gt;PR00                    49,500.00 --&amp;gt; determined by &lt;/P&gt;&lt;P&gt;                                      standard procedure&lt;/P&gt;&lt;P&gt;PR00                    500.00 --&amp;gt; value passed through &lt;/P&gt;&lt;P&gt;                                     the BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My new sales order should consist of only one line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PR00       500.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing following fields to ORDER_CONDITIONS_IN table&lt;/P&gt;&lt;P&gt;      COND_VALUE&lt;/P&gt;&lt;P&gt;      CURRENCY&lt;/P&gt;&lt;P&gt;      COND_P_UNT&lt;/P&gt;&lt;P&gt;      COND_UNIT&lt;/P&gt;&lt;P&gt;      ITM_NUMBER&lt;/P&gt;&lt;P&gt;      COND_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in ORDER_CONDITIONS_INX table&lt;/P&gt;&lt;P&gt;      COND_VALUE&lt;/P&gt;&lt;P&gt;      CURRENCY&lt;/P&gt;&lt;P&gt;      COND_P_UNT&lt;/P&gt;&lt;P&gt;      COND_UNIT&lt;/P&gt;&lt;P&gt;      ITM_NUMBER&lt;/P&gt;&lt;P&gt;      COND_TYPE&lt;/P&gt;&lt;P&gt;      UPDATEFLAG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to avoid the line determined by std procedure? &lt;/P&gt;&lt;P&gt;Please suggest me a solution.&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;Sonali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2006 19:00:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-20T19:00:03Z</dc:date>
    <item>
      <title>Problem when using BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-using-bapi-salesorder-createfromdat2/m-p/1557941#M252519</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 am using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and it is working fine. &lt;/P&gt;&lt;P&gt;System determines prices using pricing date and pricing procedure but I am trying to overwrite the prices in item conditions. BAPI instead of modifying the prices in the new sales order it is inserting another line of same condition type using the value passed through the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: &lt;/P&gt;&lt;P&gt;COndition type          Price&lt;/P&gt;&lt;P&gt;PR00                    49,500.00 --&amp;gt; determined by &lt;/P&gt;&lt;P&gt;                                      standard procedure&lt;/P&gt;&lt;P&gt;PR00                    500.00 --&amp;gt; value passed through &lt;/P&gt;&lt;P&gt;                                     the BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My new sales order should consist of only one line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PR00       500.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing following fields to ORDER_CONDITIONS_IN table&lt;/P&gt;&lt;P&gt;      COND_VALUE&lt;/P&gt;&lt;P&gt;      CURRENCY&lt;/P&gt;&lt;P&gt;      COND_P_UNT&lt;/P&gt;&lt;P&gt;      COND_UNIT&lt;/P&gt;&lt;P&gt;      ITM_NUMBER&lt;/P&gt;&lt;P&gt;      COND_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in ORDER_CONDITIONS_INX table&lt;/P&gt;&lt;P&gt;      COND_VALUE&lt;/P&gt;&lt;P&gt;      CURRENCY&lt;/P&gt;&lt;P&gt;      COND_P_UNT&lt;/P&gt;&lt;P&gt;      COND_UNIT&lt;/P&gt;&lt;P&gt;      ITM_NUMBER&lt;/P&gt;&lt;P&gt;      COND_TYPE&lt;/P&gt;&lt;P&gt;      UPDATEFLAG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to avoid the line determined by std procedure? &lt;/P&gt;&lt;P&gt;Please suggest me a solution.&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;Sonali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 19:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-using-bapi-salesorder-createfromdat2/m-p/1557941#M252519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T19:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-using-bapi-salesorder-createfromdat2/m-p/1557942#M252520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sonali&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently working on this BAPI, too. &lt;/P&gt;&lt;P&gt;I create my orders without using any of the ...X structures (because they are not necessary when creating an order). Thus, give it a try and do NOT pass any values in ORDER_CONDITIONS_INX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;   Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 20:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-when-using-bapi-salesorder-createfromdat2/m-p/1557942#M252520</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-09-20T20:26:38Z</dc:date>
    </item>
  </channel>
</rss>

