Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BUG : Currency Conversion Function in CDS View parameter Exchange Rate Date

abap_gautham
Explorer
0 Likes
1,039

Hi SAP Community,

Exploring Currency Conversion Function in CDS View, there was an absurd and strange thing noticed. The Currency Conversion Function has four parameters and fourth of those is Exchange Rate Date. Now, I was executing this in CDS on 28th January 2019 and gave a future date of 31st January 2019 for testing. To my surprise the output gave me some astonishing results. It was so smart that a future date's exchange rate was found.

I have written a blog on this.
"https://sapyard.com/abap-for-sap-hana-part-xxvi-usage-of-built-in-functions-in-cds-part-ii/ ".

Let me know if at all this is a genuine bug or my understanding is wrong.

Happy Coding.

0 REPLIES 0