<?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: calculating a decimal in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020698#M714145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked the attribute and the calculation worked. I ran the standard program which did not have the attribute set and my program which does have the attribute set and the reports were identical in the amounts. what I didn't know is that I had bad test data. all of the test data were whole numbers (numbers that had no cents). when the user ran this against real data, the report did not show the cents amount. so now I have to uncheck this attribute and I am back to square one. I have to find a way to do my calculations without having this attribute checked. If anyone has any ideas on how to do this, it would be a big help. I have tried all of the examples that were sent to me in this post and I still get zero amounts when I run them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in  advance for any help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2007 18:09:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-12T18:09:20Z</dc:date>
    <item>
      <title>calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020677#M714124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to calculate a field and the result is a decimal. the field is not showing the decimal amount. ep-hwsteaa has the amount of  80.00. ep-hwste has the amount of 200.00. w-dec should be 0.4. when I run in debug mode, w_dec is 0.000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if I have this coded right or not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someonw could please take a look at this and let me know what I am doing wrong, that would be very helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: w_dec  type P DECIMALS 3,&lt;/P&gt;&lt;P&gt;      w_hwsteaa type p DECIMALS 2,&lt;/P&gt;&lt;P&gt;      w_hwste   type p DECIMALS 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   l_steuer_ep-hwbas    = ( ep-hwsteaa / ep-hwste ) * ep-hwbas.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    w_hwsteaa = ep-hwsteaa.&lt;/P&gt;&lt;P&gt;    w_hwste   = ep-hwste.&lt;/P&gt;&lt;P&gt;    w_dec    = ( w_hwsteaa / w_hwste ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 20:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020677#M714124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T20:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020678#M714125</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;Please check the values of EP-HWSTEAA and EP-HWSTE.&lt;/P&gt;&lt;P&gt;It is fine in my system, please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: W_DEC TYPE P DECIMALS 3,
W_HWSTEAA TYPE P DECIMALS 2,
W_HWSTE TYPE P DECIMALS 2.
                                                                        
W_HWSTEAA = '80'.
W_HWSTE = '200'.
W_DEC = ( W_HWSTEAA / W_HWSTE ).

WRITE: /W_DEC.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 21:12:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020678#M714125</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-11-05T21:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020679#M714126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to the program attributes and make sure that "Fixed point arithmetic" is checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 21:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020679#M714126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T21:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020680#M714127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I check the attributes and the "Fixed point arithmetic" was not checked. I checked it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ferry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried your suggestion (after setting the fixed point arithmetic switch) and the result is still the same. w_dec still contains 0.000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 21:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020680#M714127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T21:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020681#M714128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got 0.4 when I tested it with fixed point checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you save and activate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an include?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rob Burbank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 21:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020681#M714128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-05T21:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020682#M714129</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;As Rob suggested, please ensure the "Fixed point arithmetic" option is checked.&lt;/P&gt;&lt;P&gt;And try to regenerate the program again after the above option changed.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2007 21:33:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020682#M714129</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-11-05T21:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020683#M714130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is an include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with a Z copy of RFUMSV00. the include that I am trying to code the logic is zfi_rfums_selection_forms.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 13:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020683#M714130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T13:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020684#M714131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this morning and the calculations are working correctly.  is there something special with an include?  whay would it not work yesterday wghen I made the change anf now this morning it is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 13:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020684#M714131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T13:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020685#M714132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe the include program inherits the attributes from the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you reset the attributes of the main program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020685#M714132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020686#M714133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what you mean be reset the attributes. I changed the main program to check the box for the "fixed point arithmetic" and activated the program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 14:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020686#M714133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T14:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020687#M714134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When did you activate the main program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are modifying a copy of a standard SAP program, changing the attributesmay have unintended consequences. Does the unmodified version handle decimals correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 15:17:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020687#M714134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T15:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020688#M714135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that it handles the decimals. I ran my copy of the report and looks excatly like the unmiodified production program except for the code changes that I have made for the new columns. I am not usre if within the program, or includes, or BADI's if they are doing decimal calculations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 15:23:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020688#M714135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020689#M714136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this would be a problem and I would have to un-mark the attribute, how do you get around this.  do you do the calculation and multiply the result by 100 to get a whole number. and then after you use this number do you divide the result by 100 to get the actual number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 15:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020689#M714136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T15:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020690#M714137</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;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
report  zars no standard page heading
        line-size 170
        line-count 65(4).
data: w_dec type p decimals 3,
w_hwsteaa type p decimals 2,
w_hwste type p decimals 2.

data : v_dec type p decimals 2.

w_hwsteaa = '80'.
w_hwste = '200'.
w_dec = ( w_hwsteaa / w_hwste ).

write: w_dec decimals 2.

move w_dec to v_dec.

write : / v_dec.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 15:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020690#M714137</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-06T15:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020691#M714138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to run the program with the fixed point arithmetic attribute turned on. I am getting another dump at a different place. since the original program did not have this attribute turned, I am a liile heistant to turn it on.  that being said, is there a way for me to get my calculation with having to turn on this attribute. I have tried all of the code examples in this thread but none of them work.   I found something where  you can enable and display this fixed point attribute bbut I am not sure how to use 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;INSERT REPORT prog FROM itab &lt;A href="MAXIMUM WIDTH INTO wid"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&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; { &lt;A href="KEEPING DIRECTORY ENTRY"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&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; | { &lt;A href="PROGRAM TYPE pt"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&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; &lt;A href="FIXED-POINT ARITHMETIC fp"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&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; &lt;A href="UNICODE ENABLING uc"&gt;&lt;/A&gt; } &lt;/P&gt;&lt;P&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; | &lt;A href="DIRECTORY ENTRY dir"&gt;&lt;/A&gt; } &lt;/P&gt;&lt;P&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; &lt;A href="https://community.sap.com/internal_options"&gt;&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 19:19:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020691#M714138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T19:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020692#M714139</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;Check this link from SAP docu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d0c358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d0c358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;If the attribute Fixed point arithmetic is set for a program, the system rounds type P fields according to the number of decimal places or pads them with zeros. The decimal sign in this case is always the period (.), regardless of the user&amp;#146;s personal settings. We recommend that you always set the fixed point arithmetic attribute.&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 19:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020692#M714139</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-06T19:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020693#M714140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried A@RS first suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 19:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020693#M714140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T19:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020694#M714141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I copied this program from a SAP standard program. the standard program does not have this coded. I have changed the attribute in my program  and made the corrections to correct the dump  (  dumping on the statement hlp_hwnet = 1000000000000.).  I am running the standard program and my program with the same parameters and the numbers look like they are matching&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 19:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020694#M714141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T19:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020695#M714142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes I did and I did not get any result for w_dec. all I got was zeros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 19:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020695#M714142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T19:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: calculating a decimal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020696#M714143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I took the code and created a test program with the fixed point arithmetic attribute not checked. I did not check any values,  only zeros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 19:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calculating-a-decimal/m-p/3020696#M714143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T19:35:42Z</dc:date>
    </item>
  </channel>
</rss>

