‎2007 Sep 26 9:07 AM
Hi,
I am adding up komp-zzuebto(8.8) to 1.0 and then when i am diving it by 100, i am not getting .098, instead i am getting 0.01 as the value ,and when i change it in debug mode and when multiplying
this value with komv-kbetr(100.00) , i am getting the value as 9800.00 instead of 98.00.
please can any one help in this regard as this is very urgent.
Thanks in advance.
‎2007 Sep 26 9:12 AM
check if the main program has <b>Fixed Point Arithmetic</b> attribute checked in the menu path goto->Attributes
‎2007 Sep 26 9:12 AM
check if the main program has <b>Fixed Point Arithmetic</b> attribute checked in the menu path goto->Attributes
‎2007 Sep 26 9:16 AM
its a routine and the main program is standard SAP prg SAPMV45A which doesn't have it checked.
‎2007 Sep 26 9:20 AM
one solution would be to develop a custom function module which has this attribute checked, pass the operands of the operation(addition/multiplicatio...) as import parameters and calculate the result in the function module and export the same to ur program.