‎2009 May 21 11:24 AM
In one of my report for Foreign Currency Conversion I am using the FM 'CONVERT_TO_LOCAL_CURRENCY'
The foreign Currency value is 19,120 but in debugging it is shown as 191.20 but finally displaying in the output as 19,120.
After converting, Local currency calculated is shown as 47397 in debugging whereas it should be 473.97 and is displayed in the output as 474.
Please suggest any possible solution to avoid the rounding of the last digits.
‎2009 May 21 11:31 AM
Hi ,
try to use 'CONVERT_TO_FOREIGN_CURRENCY' and check the out put..
first check the destination feild is it having decimals and it is currencyu field.
Prabhudas
Edited by: Prabhu Das on May 21, 2009 4:02 PM
‎2009 May 21 11:34 AM
Hi Marina,
I understand your problem.
The problem over here is the data type which is for the local and foriegn are different and hence you are facing the problem.
Please give the same data type you would get the correct output.
Regards,
Sunil Thota.
‎2009 May 21 11:37 AM
Hi marina,
in this FM 'CONVERT_TO_LOCAL_CURRENCY' is correct . in your case you have :
CLIENT
DATE
FOREIGN_AMOUNT
FOREIGN_CURRENCY
LOCAL_CURRENCY
RATE
TYPE_OF_RATE
READ_TCURR
as import parmaters.
Type of rate M=Average rate G=Bank buying rate B=bank selling rate rate.
check the long text inside the function module -> import parameters.. then set the value accoriding to that.
regards,
safel
In one of my report for Foreign Currency Conversion I am using the FM 'CONVERT_TO_LOCAL_CURRENCY'
The foreign Currency value is 19,120 but in debugging it is shown as 191.20 but finally displaying in the output as 19,120.
After converting, Local currency calculated is shown as 47397 in debugging whereas it should be 473.97 and is displayed in the output as 474.
Please suggest any possible solution to avoid the rounding of the last digits.