‎2012 Jan 18 1:38 AM
Dear Abaper,
I have a problem using BAPI_EXCHANGERATE_CREATE in my program.
I have a currency pair USD to VND (vietnam) which is 1 : 21025.
Bapi is not allowing the value more than four degits.
it will allow only 4 digits and 5 decimals eg : 9999.99999. How can i pass this value to the bapi. My functional consultant created a ratio 1 USD : 100 VND so i am doing 21025/100 and passing the value 210.25 to the BAPI, But bapi internally calculating again and its posting (210.25/100) = 2.1025 which is wrong.
Please halp me how to resolve the issue. <removed by moderator>
Thanks
Kishore P
Edited by: Thomas Zloch on Jan 18, 2012
‎2012 Jan 18 1:47 AM
I never used that BAPI yet, but its documentation describes a similar scenario for parameter EXCH_RATE... did you try to follow that?
They are talking about a relationship of 1 unit_A = 12173.8 unit_B, but it looks like this should cover the case you're describing.
‎2012 Jan 18 1:59 AM
Dear Tamas,
Thanks for your reply.
But still i need to pass the exchange rate 21205 to the BAPI right!!. Then how can i push this to FM ?
Your prompt reply is appreciated...
Thanks
Kishore
‎2012 Jan 18 2:07 AM
Well, what I meant is this.
You have a scenario where 1 USD is worth 21025 VND.
The BAPI documentation describes the solution when 1 CUR_A is worth 12173.8 CUR_B. That is the same like yours, except the numbers are a bit different.
Following the solution in the BAPI documentation, you should be able to pass the necessary values to the FM... but as I said, I never used it myself, so you'll have to follow that description to see if this indeed will get the result you're after. It should.