<?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 Error in updating pricing using BAPI_QUOTATION_CREATEFROMDATA2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-updating-pricing-using-bapi-quotation-createfromdata2/m-p/1194834#M129391</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 the BAPI function module BAPI_QUOTATION_CREATEFROMDATA2. I am calling BAPI_TRANSACTION_COMMIT subsequently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change an existing pricing condition ZMLT which is&lt;/P&gt;&lt;P&gt;automatically determined by the config while creating a sales quotation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I need to add ZFR1 and ZFR2 which are 2 freight condition types&lt;/P&gt;&lt;P&gt;(Condition Class = 'F')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 1&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;If I set the LOGIC-SWITCH-COND_HANDL = 'X', then I can correctly update&lt;/P&gt;&lt;P&gt;ZMLT using CONDITIONS_IN parameter, but I can't update ZFR1 and ZFR2&lt;/P&gt;&lt;P&gt;since they are freight condition types (as per Note 593246)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;If I set LOGIC-SWITCH-COND_HANDL = ' ', then I can correctly update&lt;/P&gt;&lt;P&gt;ZFR1 and ZFR2 freight condition types using the parameters&lt;/P&gt;&lt;P&gt;CONDITIONS_IN and CONDITIONS_INX. But when I try to update ZMLT, it&lt;/P&gt;&lt;P&gt;deactivates the existing line in the pricing and adds a new line with&lt;/P&gt;&lt;P&gt;same condition type ZMLT. Why does it do this...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the parameters that I am using as per Note 593246, Point 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-ITM_NUMBER = '000010'&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-COND_COUNT = '01'&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-COND_TYPE  = 'ZMLT'&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-COND_VALUE = 12.00&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-CURRENCY = ' '   (This is a percentage)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-ITM_NUMBER = '000010'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-COND_COUNT = '01'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-COND_TYPE  = 'ZMLT'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-UPDATEFLAG = 'U'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-COND_VALUE = 'X'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-CURRENCY = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please advise on this. Although the Total Value in the pricing is&lt;/P&gt;&lt;P&gt;correctly updated, why does it deactivate one line and insert a new one&lt;/P&gt;&lt;P&gt;for the same condition type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please note that my requirement is to add condition types ZFR1, ZFR2&lt;/P&gt;&lt;P&gt;and update ZMLT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aditya Palekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jan 2006 19:11:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-17T19:11:05Z</dc:date>
    <item>
      <title>Error in updating pricing using BAPI_QUOTATION_CREATEFROMDATA2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-updating-pricing-using-bapi-quotation-createfromdata2/m-p/1194834#M129391</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 the BAPI function module BAPI_QUOTATION_CREATEFROMDATA2. I am calling BAPI_TRANSACTION_COMMIT subsequently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to change an existing pricing condition ZMLT which is&lt;/P&gt;&lt;P&gt;automatically determined by the config while creating a sales quotation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I need to add ZFR1 and ZFR2 which are 2 freight condition types&lt;/P&gt;&lt;P&gt;(Condition Class = 'F')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 1&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;If I set the LOGIC-SWITCH-COND_HANDL = 'X', then I can correctly update&lt;/P&gt;&lt;P&gt;ZMLT using CONDITIONS_IN parameter, but I can't update ZFR1 and ZFR2&lt;/P&gt;&lt;P&gt;since they are freight condition types (as per Note 593246)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;If I set LOGIC-SWITCH-COND_HANDL = ' ', then I can correctly update&lt;/P&gt;&lt;P&gt;ZFR1 and ZFR2 freight condition types using the parameters&lt;/P&gt;&lt;P&gt;CONDITIONS_IN and CONDITIONS_INX. But when I try to update ZMLT, it&lt;/P&gt;&lt;P&gt;deactivates the existing line in the pricing and adds a new line with&lt;/P&gt;&lt;P&gt;same condition type ZMLT. Why does it do this...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the parameters that I am using as per Note 593246, Point 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-ITM_NUMBER = '000010'&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-COND_COUNT = '01'&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-COND_TYPE  = 'ZMLT'&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-COND_VALUE = 12.00&lt;/P&gt;&lt;P&gt;CONDITIONS_IN-CURRENCY = ' '   (This is a percentage)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-ITM_NUMBER = '000010'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-COND_COUNT = '01'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-COND_TYPE  = 'ZMLT'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-UPDATEFLAG = 'U'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-COND_VALUE = 'X'&lt;/P&gt;&lt;P&gt;CONDITIONS_INX-CURRENCY = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please advise on this. Although the Total Value in the pricing is&lt;/P&gt;&lt;P&gt;correctly updated, why does it deactivate one line and insert a new one&lt;/P&gt;&lt;P&gt;for the same condition type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please note that my requirement is to add condition types ZFR1, ZFR2&lt;/P&gt;&lt;P&gt;and update ZMLT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Aditya Palekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 19:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-updating-pricing-using-bapi-quotation-createfromdata2/m-p/1194834#M129391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T19:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error in updating pricing using BAPI_QUOTATION_CREATEFROMDATA2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-updating-pricing-using-bapi-quotation-createfromdata2/m-p/1194835#M129392</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 have very well prepared this example!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...and you analyzed it completely, this behavior is just the restriction you have to live with. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Old style condition handling couldn't change values, so workaround with adding new line and inactive existing line was done. New condition handling has restrictions, too - so no freights.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does it do this... it's a buggy feature or whatever you would like to call it. At least it was done by purpose, what internal reasons lead to this, I can't say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One workaround would be possible for you: create quotation with cond_handl = A, change afterwards with cond_handl = B.&lt;/P&gt;&lt;P&gt;If you start with A = X and B = space or A = space and B = X should be the same in the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 12:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-updating-pricing-using-bapi-quotation-createfromdata2/m-p/1194835#M129392</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2006-01-18T12:02:31Z</dc:date>
    </item>
  </channel>
</rss>

