Hi,
I have a floating-decimal number FAKTOR in my DDIC structure, of type DF34_RAW - because I don't care about the number of decimals, but I need the maximum computational precision possible.
Unfortunately, when working with this component in BRFplus, it is treated as an integer (0 decimals). I can't switch off the binding, since it is a component of my input structure. Results of computations are rounded to 0 decimals, and it is impossible to assign non-integer constants to it.
Is there a way to work with floating-point numbers in BRFplus?
Regards,
Rüdiger
BRFplus works internally with DecFloat precision.
Pls create a message. The binding should not set decimals to 0 but to the maximum value.
In the message put a link to this forum post. Thanks.
For those who like to follow: I opened up OSS message 484446/2012 .
https://service.sap.com/sap/support/message/D/002007974700004844462012
I would guess that this issue is solved in higher releases than our SAP_BASIS 702 SP 10.
Create a data object with DDIC binding to FDT_NUMBER_DECFLOAT.
It should show the maximum of length 31 with 10 decimals in the UI.
Then create a new DDIC field as a copy of FDT_NUMBER_DECFLOAT (same technical type but different name) and check again.
What do you get?
Note that internally, we calculcate with floating point precision.
There was a correction in BRFplus necessary. OSS note 1723335 solved the problem (we are on SAP_BASIS 702, SP 10).