Currency Conversion from JPY -> USD/JPY ->KRW/KRW->USD
I was pondering for the the solution for the currency conversion from JPY–>USD or JPY –>KRW.
The Issue we were facing here is all related to the currency which don’t have decimals places in the currency figures like JPY and KRW..
Apparently JPY & KRW Currencies don’t have decimal places so in this example I took currency JPY for elucidating.
Eg: Let’s take Currency to be converted to USD is 1234 JPY.
We have defined Currency translation type and also functional module for currency conversion’s everything was working fine and giving perfect results.
But the only issue we found is with currencies which don’t have decimal places and that is JPY currency.
So I have debugged the results where exactly the issue is and found that while extracting the data from source the value 1234 is taken up as 12.34 JPY
and PSA contains these incorrect values (12.34 JPY Instead 1234 JPY),thus the reason is the Incorrect values in PSA which is leading to Incorrect results after currency conversion.
I just wrote a routine to fulfill the requirement especially for the currencies which doesn’t have decimal places.
Hope the information given here would be of more helpfull..