Skip to Content
0
Jun 03, 2009 at 01:47 PM

Divide 2 decimals gives wrong result

3131 Views

HI all,

I have to do a calculation on two decimals,

KOMVD-KWERT is type P(7) decimals 2,

VBDPR-FKIMG is type P(7) decimals 3,

The result must go in KOMVD-KBETR (type P(6) decimals 2).

The value of KOMVD-KWERT is 265.00 the value of VBDPR-FKIMG is 1.000,

if I do KOMVD-KBETR = KOMVD-KWERT / VBDPR-FKIMG,

KOMVD-KBETR equals .27??

I've tried all type of variables but I can't get around that problem.

I have this behavior in our new version of SAP (ECC 6.0) but it worked fine in 4.6C.