Skip to Content
0
Former Member
Nov 11, 2008 at 09:23 AM

DMBTR/WRBTR Calculation

102 Views

I need to calculate the Value of DMBTR/WRBTR to

14 decimal places.

data:

lv_dmbtrc(16) TYPE P,

lv_wrbtrc(16) TYPE P,

lv_exrate(16) TYPE P.

So I multiplied the DMBTR/WRBTR with 100 to remove the decimal places.

lv_dmbtrc = list_item-dmbtr * 100.

lv_wrbtrc = list_item-wrbtr * 100.

And calculated rate as

lv_exrate = ( ( lv_dmbtrc / lv_wrbtrc ) * ( ls_tcurf-ffact / ls_tcurf-tfact ) ).

Problem is : What I see is not the correct value.

Any thing I am mssing !

Please advice.

RJ