‎2014 Nov 10 1:48 AM
Dear Experts,
I have develop one report for tax (BSET) but the problem is when I translating the value to another currency with time with exchange rate in BKPF, the value is not same as translating in FB03 (Display Currency: Group Currency). Please help.
Exchange rate : 3.24897
My report :
FB03 :
My code :
WA_HWBAS-MYCURR = WA_HWBAS-HWBAS * GS_BKPF-KURS2.
Regards,
Feisal
‎2014 Nov 10 9:43 AM
‎2014 Nov 10 2:06 AM
Hi,
It's a rounding issue. The exchange rate used in FB03 apparently uses many more decimal places.
cheers
Paul
‎2014 Nov 10 2:15 AM
Hi Paul,
Thank for reply. Do you know where can get exchange rate same as FB03.
Regards,
Feisal
‎2014 Nov 10 2:29 AM
Not offhand.. I would just debug FB03 to find out where it comes from.
good luck
Paul
‎2014 Nov 11 1:05 AM
Hi,
Already do debugging from the beginning before post in forum. Too complicated.
‎2014 Nov 10 3:09 AM
Use the same roundoff for your exchange rate field(BKPF-KURS2) as in FB03 transaction.
‎2014 Nov 10 6:27 AM
‎2014 Nov 10 9:15 AM
Hi,
Assign BKPF-KURS2 to a variable which has the length specification which you need ( create a date element with the same specification with the modification in the length as you expected) and use a new variable.
‎2014 Nov 11 1:06 AM
‎2014 Nov 10 9:43 AM
‎2014 Nov 11 12:55 AM
Hi Dominik,
I cannot use this function module because the exchange rate base on posting date.
‎2014 Nov 11 8:11 AM
Hi Ahmad,
not sure why this should be an issue? In CONVERT_TO_FOREIGN_CURRENCY you can do the conversion for any date you need -> Importing Parameter DATE
Regards,
Dominik
‎2014 Nov 10 1:20 PM
It depends upon the type of rate being used. In case of indirect currency calculation, you may get the values like that.