Overview

The Exchange Rates service is a core component of the Currency Services Exchange Rates package. This service provides an exchange rate value from a source currency to one or more target currencies for the dates you specify. Note that the service only accepts EUR as the source currency. For example, if you input EUR as the source currency and select USD as the target currency, the Exchange Rates service looks at the date you provide, and fetches the conversion rate for that day. The currency values are fetched from the European Central Bank.


API Reference

/currency/sap/s4htbd4/rates

/currency/sap/s4htbd4/rates

post

Retrieve historical or daily currency exchange rates as provided by the European Central Bank.


Scope

Scopes are strings that allow you to specify the type of access you need to the resources and operations in, and prevent unauthorized access to, the Exchange Rates service. This service supports the scopes shown in this table:

ScopeDescription
sap.exchangerates_readUse this scope to call the Currency Services Exchange Rates service and get the exchange rates data.


Services Usage

As an existing SAP S/4HANA customer working on a sales management product, you might need daily exchange rates to convert worldwide currencies into your local currency for processing sales orders. In this scenario, you could configure your system to receive exchange rates on a daily basis by using the Exchange Rates service.

To start consuming the Exchange Rates service, first follow the configurations described in the SAP Note 2431370.

The note describes:

  • Technical prerequisites
  • SAP S/4HANA configuration steps

After you implement these steps, make a POST call to the /currency/sap/s4htbd4/rates endpoint with the payload to request for exchange rates in response. Note that the format of the values in the payload information is character- and space-specific.

You can get the currency values for the following currency pairs.

Source CurrencyTarget Currency
EURARS
EURAUD
EURBGN
EURBRL
EURCAD
EURCHF
EURCNY
EURCZK
EURDKK
EURDZD
EURGBP
EURHKD
EURHRK
EURHUF
EURIDR
EURILS
EURINR
EURJPY
EURKRW
EURMAD
EURMXN
EURMYR
EURNOK
EURNZD
EURPHP
EURPLN
EURRON
EURRUB
EURSEK
EURSGD
EURTHB
EURTRY
EURTWD
EURUSD
EURZAR


  • Send feedback

    If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.

  • Get Help

    Use our private help channel. Receive updates over email and contact our specialists directly.

  • hybris Experts

    If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.