cancel
Showing results for 
Search instead for 
Did you mean: 

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

7,552

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..

Accepted Solutions (0)

Answers (1)

Answers (1)

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos
Thank you for your fast reply

We have ABAP 740, I tried again but still without success:

How can I solve this problem?

Is there another way?

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

You can only work with the features that are documented for your release.

In 7.40, I'm afraid there's no workaround but native SQL (AMDP).