on 2021 Jun 16 6:27 PM
Hi All,
I had a requirement where I have to fetch a months all daily exchange rate between specific currencies and calculate the average out of it. Can anyone help me with any FM that can give all the exchange rates for the given date range and between given currencies?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Sorry for updating late. I got the FM for the same where we can pass multiple from currency, multiple to currency, multiple exchange rate types and multiple dates for which we want exchange rates.
It will give all possible and available combination of 'from currency', 'to currency', 'Exchange rate type' for all valid dates in given dates.
The FM is 'FM_EXCHANGERATE_GETDETAILS'.
Closing the thread.
Abhijeet Uttarwar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be easier to read data from TCURC (rate) and TCURF (conversion factors)
You could also use FM VIEW_GET_DATA on the maintenance view V_TCURR passing your selection criteria in DBA_SELLIST table parameter.
NB: Field GDATU is an inverted date (descending <> ascending order, statements such as CONVERT DATE dat1 INTO INVERTED-DATE dat2.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Typo corrected, thx
Hello nilesh.shah8
Check out the BAPI functions:
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
mainly it is table tcurr and tcurrf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 30 | |
| 16 | |
| 15 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.