Symptom
User is getting following error message in retrieving the AVG rates from Market Data.
- You are not authorized to access resources " in App Request Historical Market Data - Datafeed (TBDJ).
- Rate Not Contained in Datafeed response.
Environment
SAP S/4HANA Cloud.
Reproducing the Issue
- Open App Request Historical Market Data.
- Select market data class Currencies.
- Provide the From Date and To Date.
- Market Data Selection.
- Datafeed name Y001.
- Execute.
Cause
Below we will discuss the cause for error messages:
- Average rate is not enables in the Market Rates Management.
- In the Request Historical Market Data app we have to provide the Date range. If the Date Range does not include the last date of the month the AVG rates are not fetched because the AVG rates are published on the last date.
Resolution
Find the resolution for error message 1 and 2.
-
Enable Average rates through the SAP Market Rates Management application and then download them from the S4 hana system. Subscribed to the application, they can subscribe to the Market rates management application from the BTP cockpit in the same subaccount where the Market Rates service instance exists. Reference: Using the MRM - Configure Default Values Application .
- a.) In the Request Historical Market Data include the last date of the previous month in your date range selection.
b.) Use the App Schedule Treasury Back Office Jobs to schedule the job template Request Current Market Data.
i.) Select Currencies
ii.) Provide Instrument property: AVG.
iii.) Datafeed name: Y001.
iv.) Execute.
See Also
Keywords
MRM, BTP, AVG, TBDJ, TBD4, request, market, rate, datafeed, historical, data, current, data, today, exchange, rate, S4_PC, FIN-FSCM-TRM-BF , KBA , FIN-FSCM-TRM-BF-MD , Market Data Management , Problem