<?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 Issue in BAPI_SALESORDER_CREATEFROMDAT2 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205180#M1825159</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;I am using the BAPI : BAPI_SALESORDER_CREATEFROMDAT2 for creating the sale order. It works as expected. But the condition value which I pass through the parameter: ORDER_CONDITIONS_IN gets multiplied by 10. Please note that I am not passing the currency value. I have debugged the code and I have found that if we dont pass a currency value, then SAP automatically multiplies the condition value by 10.&amp;nbsp; Could you please tell me why SAP has introduced this logic? If I need to resolve this issue, do I need to pass my condition value as (condition value / 10). ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 22:20:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-04-01T22:20:50Z</dc:date>
    <item>
      <title>Issue in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205180#M1825159</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;I am using the BAPI : BAPI_SALESORDER_CREATEFROMDAT2 for creating the sale order. It works as expected. But the condition value which I pass through the parameter: ORDER_CONDITIONS_IN gets multiplied by 10. Please note that I am not passing the currency value. I have debugged the code and I have found that if we dont pass a currency value, then SAP automatically multiplies the condition value by 10.&amp;nbsp; Could you please tell me why SAP has introduced this logic? If I need to resolve this issue, do I need to pass my condition value as (condition value / 10). ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 22:20:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205180#M1825159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-01T22:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205181#M1825160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes you should pass the value/10 in your logic.&lt;/P&gt;&lt;P&gt;You can observe the same in KONV table.&lt;/P&gt;&lt;P&gt;Divide the value and proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards-&lt;/P&gt;&lt;P&gt;Makarand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 04:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205181#M1825160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-02T04:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205182#M1825161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any reasons for this SAP logic? Why do they implement it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205182#M1825161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-02T14:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205183#M1825162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The BAPI has this in its documentation for that parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you complete the COND_VALUE and CURRENCY fields, you must decide which of the following applies:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The condition calculation type is expressed in percentage (the T685A-KRECH field contains AHI)&lt;BR /&gt;In this case you should leave the CURRENCY field blank and enter the percentage value with a comma&lt;BR /&gt;Example:&lt;BR /&gt;Enter percentage rate 20% as 20,0000 in the COND_VALUE field.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;The condition calculation type is not expressed in percentage&lt;BR /&gt;In this case the COND_VALUE field is a currency quantity field. You must enter the CURRENCY or CURRENCY_ISO field so that the correct conversion takes place. Again, you must enter the amount kommagerecht.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If neither the CURRENCY or the CURRENCY_ISO fields are completed, the entry is issued as a percentage value. This could lead to an incomplete entry if the condition type is not in percentages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think (based on the 2nd bullet) for non-percentages, you pass CURRENCY as well. (or manually do the division...but then watch out for rounding issues).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205183#M1825162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-02T14:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205184#M1825163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't pass currency information, system assumes that it is not a currency but % rate .&amp;nbsp; While storing '%' in DB table ,&amp;nbsp; SAP replaces '%' with '0'&amp;nbsp; . That means 10% is stored as 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; To get the correct value, the rate amount is divided by 10.&amp;nbsp; I believe, standard SAP does not divide by 10 directly but uses some FM's like&amp;nbsp; "BAPI_CURRENCY_CONV_TO_EXTERNAL" &amp;amp; "BAPI_CURRENCY_CONV_TO_INTERNAL" to arrive at the correct figure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the following external link on how SAP stores currency information&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.newtosap.info/2014/01/handling-currencies-having-zero.html" title="http://www.newtosap.info/2014/01/handling-currencies-having-zero.html"&gt;Handling Currencies having Zero Decimals in SAP ABAP ~ New To SAP&lt;/A&gt;&amp;nbsp; ( external link ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 15:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205184#M1825163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-02T15:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in BAPI_SALESORDER_CREATEFROMDAT2</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205185#M1825164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Divide Value By 10 and then pass it to BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This the Solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 15:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-bapi-salesorder-createfromdat2/m-p/10205185#M1825164</guid>
      <dc:creator>former_member196157</dc:creator>
      <dc:date>2014-04-02T15:55:02Z</dc:date>
    </item>
  </channel>
</rss>

