Skip to Content
1
May 11, 2020 at 10:41 AM

Dump while converting data for exchange rates.

198 Views

Hello Expert,

I am importing the list of currency exchange values from the flat file and after some clean-ups, passing the file data to the BAPI

BAPI_EXCHRATE_CREATEMULTIPLE.

To pass the exchange rate, the data-type used by BAPI is UKURSP (length 9, decimal 5). So i am assigning my CHAR values to the bapi-data type to get he 5 decimal value.

It is working correctly if exchange value from the CSV file is, for eg, 0007.6269000 --> getting converted to 7.62690

but i am getting dump when the value is 15973.900000. This is not getting converted to 5 decimal required for BAPI;s field UKURSP.

How to solve the problem?

Kindly advise.