‎2009 May 04 9:14 PM
I am currently consuming a WebService from XIgnite, that is returning a 7.5863900E-01 and I need to update the TCURR (Exchange Rate table) with .758639.
I need an ABAP example to use to place within the program that is importing the data for exchange rates.
Thanks.
‎2009 May 04 9:47 PM
try this:
DATA: W_EXPO TYPE QPMK-SOLLWERT,
W_PCKDECI(16) TYPE P DECIMALS 3.
MOVE : '7.5863900E-01' TO W_EXPO,
W_EXPO TO W_PCKDECI.
‎2009 May 04 9:47 PM
try this:
DATA: W_EXPO TYPE QPMK-SOLLWERT,
W_PCKDECI(16) TYPE P DECIMALS 3.
MOVE : '7.5863900E-01' TO W_EXPO,
W_EXPO TO W_PCKDECI.
‎2009 May 04 10:05 PM
@David - the exchange rate is only five decimals not six.
@Prabhu - so you should declare w_pckdeci with 5 decimal places rather than just three.
Rob
‎2009 May 06 3:25 PM