<?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: Total Amount in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935244#M1151188</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;In pricing procedure, you will need to divide such fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Maharshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Dec 2008 07:43:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-15T07:43:30Z</dc:date>
    <item>
      <title>Total Amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935241#M1151185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 variables  :  kbetr              type CURR  ( 2 decimals ) &lt;/P&gt;&lt;P&gt;                             ekpo-menge    type QUAN  ( 3 decimals ) &lt;/P&gt;&lt;P&gt;                             lv_kbetr           type CURR  ( 2 decimals ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:  kbetr               =   3.000&lt;/P&gt;&lt;P&gt;                     ekpo-menge    =    111.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i was to multiply like this : kbetr * ekpo-menge ( 3.000 * 111.00)  the result that i get is&lt;/P&gt;&lt;P&gt;lv_kbetr  = 333000.00 , and this is wrong.&lt;/P&gt;&lt;P&gt;How i should define the variable lv_kbetr such that the answer will be 333.00 ?   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AVI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2008 14:12:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935241#M1151185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-14T14:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Total Amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935242#M1151186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lv_kbetr = 333000.00 / 1000 = 333.00&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2008 14:16:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935242#M1151186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-14T14:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Total Amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935243#M1151187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use an operation between two special fields like CURR or QUAN if they don't have the same Currency or Unit. You must first convert one of the factor into a &lt;U&gt;number without dimension&lt;/U&gt; or into a field of the same currency of unit than  the other one. (Look at documents like [Currency Fields |http://help.sap.com/abapdocu/en/ABENCURRENCY_FIELD.htm] for "Handling in ABAP Programs" and [Quantity Fields |http://help.sap.com/abapdocu/en/ABENQUANTITY_FIELD.htm] for "Handling in ABAP Programs ")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Currency you use should be a price per unit, so convert the quantity in a number using the conversion between the unit of the quantity and the unit of the price per unit. Then you may multiply the price by the dimensionless number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here :&lt;/P&gt;&lt;P&gt;- MENGE = 111.00 quan field&lt;/P&gt;&lt;P&gt;- 1 UNIT = 1.00 quan field&lt;/P&gt;&lt;P&gt;- ratio = 111 floating, packed field or decimal floating numbers:(this must not be a QUAN field!)&lt;/P&gt;&lt;P&gt;- MULTIPLY Curr field by ratio should give the good result if the result field has the same currency that the original price field&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Dec 2008 14:31:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935243#M1151187</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-12-14T14:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: Total Amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935244#M1151188</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;In pricing procedure, you will need to divide such fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Maharshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 07:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/total-amount/m-p/4935244#M1151188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T07:43:30Z</dc:date>
    </item>
  </channel>
</rss>

