<?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: How to set Fixed Point Arithmetic attribute of program RM07MLBD(Tcode MB5B) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942814#M1152835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MURC_ROUND_FLOAT_TO_PACKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to change the floating point number to a packed number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to enhancement framework, but I didn't see an option to change the implementation to floating point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Dec 2008 14:08:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-09T14:08:50Z</dc:date>
    <item>
      <title>How to set Fixed Point Arithmetic attribute of program RM07MLBD(Tcode MB5B)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942813#M1152834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the Implicit Enhancement option for Enhancing the MB5B Tcode.&lt;/P&gt;&lt;P&gt;Enhancement coding is written inside the Enhancement Implimentation(Z Series)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that coding , I am assigning Floating point value to the Decimal data object as shown below.&lt;/P&gt;&lt;P&gt;data: G_Pack(7) type P decimals 3.&lt;/P&gt;&lt;P&gt;G_Pack = W_AUSP-ATFLV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At runtime value of W_AUSP-ATFLV is '8.3929999999999999E-01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this assignment G_Pack is '0.001' instead of '0.839'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The reason for this I found out is that in the Program(MB5B) attribute 'Fixed Point artihmetic' attribute is not set.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how should I set this attribute for standard program RM07MLBD ?? or&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Is there any way for setting this attribute through coding???.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jagesh Lakdawala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 04:47:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942813#M1152834</guid>
      <dc:creator>jagesh_lakdawala</dc:creator>
      <dc:date>2008-12-09T04:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Fixed Point Arithmetic attribute of program RM07MLBD(Tcode MB5B)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942814#M1152835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MURC_ROUND_FLOAT_TO_PACKED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to change the floating point number to a packed number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to enhancement framework, but I didn't see an option to change the implementation to floating point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Dec 2008 14:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942814#M1152835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-09T14:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Fixed Point Arithmetic attribute of program RM07MLBD(Tcode MB5B)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942815#M1152836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey michelle,&lt;/P&gt;&lt;P&gt;Well i am having the same issue in an implicit enhancement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tcode : VA22 - Quotation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used the Standard data element : LPREIS type P decimals 2 and getting extra 2 zero's after doing a product of 2 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x type P decimals 2.&lt;/P&gt;&lt;P&gt;y type P decimals 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x = 1.00&lt;/P&gt;&lt;P&gt;y = 3.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now z = x * y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get z = 300.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also figured out it is the Fixed point arithmetic problem. Verified the standard program SAPLKKDI and the fixed point arithmetic is not set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me how to solve this FIXED POINT ARITHMETIC problem in the standard program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function module to change the attribute of the standard program.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 10:12:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942815#M1152836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-24T10:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Fixed Point Arithmetic attribute of program RM07MLBD(Tcode MB5B)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942816#M1152837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way is you can create a routine in a zreport say "add_val" and turn on fixed point arithmetic option in the attributes of the report. Perform your manipulations in the routine and call this routine in your enhancement by passing the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZREPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM add_val USING value1 value2 CHANGING result.&lt;/P&gt;&lt;P&gt; result = value1 * value2.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your Enhancement:&lt;/P&gt;&lt;P&gt;PERFORM add_val(zreport) USING x y CHANGING z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thiswill solve your problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Sharmila&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2011 16:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-set-fixed-point-arithmetic-attribute-of-program-rm07mlbd-tcode-mb5b/m-p/4942816#M1152837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-25T16:19:30Z</dc:date>
    </item>
  </channel>
</rss>

