‎2010 Sep 20 3:18 PM
Hi all,
I am doing following calculations.Output is not as expected-
Kindly guide.
DATA: V_NET_B TYPE ZGLFR_MM_MATLGRP-BUDGET_VALUE.
V_NET_B = ( WA_EKPO-NETWR * V_WKURS ).
WA_EKPO-NETWR = 2000.00
V_WKURS = 1.00000
Expected value of V_NET_B is 2000.00.
But value calculated is 2000000.00.
Can somebody guide me how to resolve this isue?
‎2010 Sep 20 3:34 PM
In se38 got program, menu goto->attributes - > fixed point arithmetic should be marked. Please check it.
‎2010 Sep 20 3:31 PM
It'd be pretty hard for anyone to answer since you haven't given the definitions of either ZGLFR_MM_MATLGRP-BUDGET_VALUE or V_WKURS.
In any event, make sure fixed point arithmetic is checked in the attributes.
Rob
‎2010 Sep 20 3:34 PM
In se38 got program, menu goto->attributes - > fixed point arithmetic should be marked. Please check it.
‎2010 Sep 21 6:25 AM
I have coded in enhancement spot and could not find fixed arithmatic option in attributes.
Fields is Currency fields type curr and
DATA: V_WKURS TYPE EKKO-WKURS.
Kindly guide.