‎2008 Aug 12 7:40 AM
Dear all,
I have developed some code on the user exit RV61AFZB and tried to change the value on the xkomv-kbetr. But, i found that the division result is wrong.
Example:
DATA: temp like xkomv-kbetr,
c_test LIKE xkomv-kbetr VALUE '152000.00',
c_qty like xkomv-kbetr value '3.00'.
temp = c_test / c_qty.
The value of temp became 506.67. Since, this is a user exit and i can't change program attribute "Fixed Point Arithmetic" .
Regards,
Kit
‎2008 Aug 12 7:50 AM
Hello
Try this:
DATA: temp like xkomv-kbetr,
c_test LIKE xkomv-kbetr VALUE '152000.00',
c_qty like xkomv-kbetr value '3.00'.
data: temp1 type i.
temp = c_test / c_qty.
temp1 = temp.