Skip to Content

Error in ABAP CDS: Function ROUND: parameter at position 1 has incorrect data type FLTP

Hello,

First, We have ABAP 740 and I tried to create calculation field: "mseg.dmbtr / 1.17 as dmbtr_without_tax,"

but I got an error message: "Division only allowed for float numbers..."

To solve the error message I used "CAST":

In SE16N, the result of the calculation of the number 500.00, for example, was supposed to be 427.35 and not 4.2735 ..

Then, I try to use "ROUND":

How can I solve this problem?

and see 427.35 and not 4.2735..

calc-field.png (1.7 kB)
view-of-calc.png (47.7 kB)
error.png (6.3 kB)
error.png (6.3 kB)
error.png (6.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer