{"audience":"General ledger and treasury teams, users who enter exchange rates by hand every morning, and SAP Basis / integration teams.","authorization_objects":[{"note":"Exchange rate maintenance authorization by rate type (for the background user)","object":"S_EXCHRATE"},{"note":"Maintenance authorization for the rate table's authorization group","object":"S_TABU_DIS"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"Yes. The reading layer is separate; your bank's rate service or another data provider can be connected with the same mapping table. A reader class is added for each new source according to its file format.","q":"Can a source other than the central bank be used?"},{"a":"If the central bank publishes no rate that day, the program uses the last valid rate. By selection this rate is also copied to the holiday dates; copied rows are shown with their own status in the list.","q":"What happens on weekends and public holidays?"},{"a":"Yes. The rate table is the same on S/4HANA. With a clean core approach the write goes through the released exchange rate API, and the program can be built under ABAP Cloud rules.","q":"Does it work on S/4HANA and in the cloud?"}],"features":[{"code":"background","label":"Runs as a background job","note":"Runs automatically every working day after the rates are published."},{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"email","label":"Send the result by email","note":"A summary of successful runs and any errors is sent to the accounting team."}],"functions":[{"name":"READ_EXCHANGE_RATE","role":"Reads the previous valid rate for the deviation check"}],"gap":"OB08 is for entering rates by hand or copying them in the table view; someone has to enter them after the morning publication, and a delay or typo flows straight into invoices. The standard market data transfer expects specific data-provider formats and a separate setup; it does not read the central bank's XML feed directly.","id":"fi-exchange-rate-daily-import-interface","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. A background job runs at a set time every working day; the central bank's daily rate file (XML) is read over HTTP. Connection and address are managed through the SM59 / STRUST settings.\n2. For every currency in the file, the selected source rate (forex buying, forex selling, banknote) is mapped to an SAP rate type; the mapping lives in a settings table (e.g. forex buying → M, banknote selling → a separate rate type).\n3. Ratio factors are read from TCURF; the unit in the file (e.g. 100 JPY) is converted by the factor. The rate type is validated against TCURV.\n4. The previous valid rate is read with READ_EXCHANGE_RATE; if the daily deviation exceeds the P_MAXDEV percentage, the row is not written and a warning is issued.\n5. Test mode only produces the list; a real run writes TCURR with the validity date in inverted date format (GDATU). On weekends and holidays, the last rate is copied to those days by selection; results and errors are emailed.","module":"FI","object_type":"interface","output_columns":[{"calculated":false,"formula":"","label":"Rate type","source_field":"KURST","source_table":"TCURR"},{"calculated":false,"formula":"","label":"From currency","source_field":"FCURR","source_table":"TCURR"},{"calculated":false,"formula":"","label":"To currency","source_field":"TCURR","source_table":"TCURR"},{"calculated":true,"formula":"TCURR-GDATU converted from inverted date format to a normal date","label":"Valid from","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Rate","source_field":"UKURS","source_table":"TCURR"},{"calculated":false,"formula":"","label":"From factor","source_field":"FFACT","source_table":"TCURR"},{"calculated":false,"formula":"","label":"To factor","source_field":"TFACT","source_table":"TCURR"},{"calculated":true,"formula":"Previous valid rate read with READ_EXCHANGE_RATE","label":"Previous rate","source_field":null,"source_table":null},{"calculated":true,"formula":"(Rate − previous rate) / previous rate × 100","label":"Change %","source_field":null,"source_table":null},{"calculated":true,"formula":"Written, copied (holiday), skipped (deviation) or error","label":"Status","source_field":null,"source_table":null},{"calculated":true,"formula":"Information or error message for the row","label":"Message","source_field":null,"source_table":null}],"parameters":[{"example":"M","kind":"parameter","label":"Target rate type","name":"P_KURST","ref_field":"TCURR-KURST","required":true},{"example":"17.11.2026","kind":"parameter","label":"Rate date","name":"P_DATE","ref_field":"SY-DATUM","required":true},{"example":"USD, EUR, GBP","kind":"select_option","label":"From currency","name":"S_FCURR","ref_field":"TCURR-FCURR","required":false},{"example":"TRY","kind":"parameter","label":"To currency","name":"P_TCURR","ref_field":"TCURR-TCURR","required":true},{"example":"Döviz alış","kind":"parameter","label":"Source rate (forex buying, forex selling, banknote buying, banknote selling)","name":"P_SRATE","ref_field":"","required":true},{"example":"10","kind":"parameter","label":"Allowed daily deviation (%)","name":"P_MAXDEV","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Copy the last rate to weekends and holidays","name":"P_HOLID","ref_field":"","required":false},{"example":"","kind":"checkbox","label":"Test mode (list without writing to the table)","name":"P_TEST","ref_field":"","required":false}],"part_of":["r2r-currency-vat-reconciliation-pack"],"performance":"A few dozen rows are written per day, so runtime is a matter of seconds. On a connection error, the job retries at set intervals and sends an error email after the last attempt.","process":"R2R","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fi-exchange-rate-daily-import-interface","related":["fi-foreign-currency-open-items-revaluation-preview"],"releases":[],"source":"custom","standard_alternatives":[{"note":"For entering rates by hand; no automatic import or deviation check.","tcode":"OB08"}],"summary":"A custom interface program that reads the daily exchange rates published by the central bank over the internet and writes them into the SAP rate table per rate type. It checks the deviation from the previous day, uses the last valid rate on holidays and reports the result by email.","tables":[{"access":"write","join_on":"","role":"Exchange rates: rate type, currency pair, validity date and rate","table":"TCURR","variant":"both"},{"access":"read","join_on":"TCURF-KURST = TCURR-KURST AND TCURF-FCURR = TCURR-FCURR AND TCURF-TCURR = TCURR-TCURR","role":"Ratio factors for the currency pair","table":"TCURF","variant":"both"},{"access":"read","join_on":"TCURV-KURST = TCURR-KURST","role":"Exchange rate type definition","table":"TCURV","variant":"both"}],"title":"Daily Central Bank Exchange Rate Import Interface","url":"https://nekuhub.com/en/programs/central-bank-exchange-rate-automatic-import/","vendor_id":"nekudos"}