<?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: REGARDING CALCULATION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549116#M1856896</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you mark this checkbox, all calculations in the program will use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed point arithmetic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you do not, packed numbers (ABAP/4 type P, Dictionary types CURR, DEC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or QUAN) will be treated as integers when they are used in assignments,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; comparisons and calculations, irrespective of the number of decimal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; places defined. Intermediate results in arithmetic calculations will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; also be rounded to the next whole number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/507077" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To resolve, &lt;SPAN class="hps"&gt;do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;calculations&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;outside the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;function group, in a custom program with this flag set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I hope you help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 08:37:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-28T08:37:06Z</dc:date>
    <item>
      <title>REGARDING CALCULATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549112#M1856892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i am multiplying the reference value (WA_VBFA-RFWRT) and currency (WA_XKOMV-WAERS) . i am getting wrong value . please help on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_VBFA-RFWRT = 5.490&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_XKOMV-WAERS =&amp;nbsp; 3.67350&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;by multiplying . system is showing&amp;nbsp; 2016751.500 (WRONG).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find the attached screen shot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;muralidhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 07:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549112#M1856892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-28T07:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING CALCULATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549113#M1856893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello muralidhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The problem is that&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the program does not&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;set&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;checkbox: "Fixed point arithmetic".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;A&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;solution would be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;to call&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a routine in a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;custom&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;program like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;PERFORM cal_price(ZCALCULATES)&amp;nbsp; using WA_VBFA-RFWRT&amp;nbsp; WA_XKOMV-KKURS &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; changing F_RFWRT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I hope you help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549113#M1856893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-28T08:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING CALCULATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549114#M1856894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls can u tell me clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Muralidhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549114#M1856894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-28T08:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING CALCULATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549115#M1856895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muralidhar,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;You can search 'Fixed point arithmetic' on &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SCN&lt;/SPAN&gt;, see what it is.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;What Pau said is right, or you can tick this check box in attribute of your report in SE38.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/507081" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;Archer&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:33:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549115#M1856895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-28T08:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING CALCULATION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549116#M1856896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you mark this checkbox, all calculations in the program will use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fixed point arithmetic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you do not, packed numbers (ABAP/4 type P, Dictionary types CURR, DEC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; or QUAN) will be treated as integers when they are used in assignments,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; comparisons and calculations, irrespective of the number of decimal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; places defined. Intermediate results in arithmetic calculations will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; also be rounded to the next whole number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/507077" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To resolve, &lt;SPAN class="hps"&gt;do&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;calculations&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;outside the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;function group, in a custom program with this flag set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;I hope you help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2014 08:37:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-calculation/m-p/10549116#M1856896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-28T08:37:06Z</dc:date>
    </item>
  </channel>
</rss>

