Skip to Content
author's profile photo Former Member
Former Member


Hi Friends,

when i am multiplying the reference value (WA_VBFA-RFWRT) and currency (WA_XKOMV-WAERS) . i am getting wrong value . please help on this


WA_XKOMV-WAERS = 3.67350

by multiplying . system is showing 2016751.500 (WRONG).

please find the attached screen shot.



calculation.jpg (158.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 28, 2014 at 08:12 AM

    Hello muralidhar,

    The problem is that the program does not set the checkbox: "Fixed point arithmetic".

    A solution would be to call a routine in a custom program like this:


    changing F_RFWRT

    I hope you help.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi, this is the problem.

      If you mark this checkbox, all calculations in the program will use

      fixed point arithmetic.

      If you do not, packed numbers (ABAP/4 type P, Dictionary types CURR, DEC

      or QUAN) will be treated as integers when they are used in assignments,

      comparisons and calculations, irrespective of the number of decimal

      places defined. Intermediate results in arithmetic calculations will

      also be rounded to the next whole number.

      To resolve, do calculations outside the function group, in a custom program with this flag set.

      I hope you help.

      MATERIAL.png (79.9 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.