SAP Function BAPI_EXCHANGERATE_GETDETAIL - Exchange Rate Stored for Exch.Rate Type, Currency Pair, Value Date

Parameter Reference Type Length Default Optional Text
DATE BAPI1093_2-TRANS_DATE D 8 Value Date
FROM_CURR BAPI1093_1-FROM_CURR C 5 From Currency
RATE_TYPE BAPI1093_1-RATE_TYPE C 4 Exchange Rate Type
TO_CURRNCY BAPI1093_1-TO_CURRNCY C 5 To Currency

Parameter Reference Type Length Text
EXCH_RATE BAPI1093_0 u 52 Exchange Rate, Factors for Currency Pair
RETURN BAPIRET1 u 470 Error Message

Functionality
The API method makes it possible to read an entry from the exchangerate table. The system carries out an authorization check fordisplaying the exchange rate table.

Example
Input:
M DEM ITL 03.10.1998
Output:
M DEM ITL 03.10.1998 0,9882 1 1000
Following adjustment to exchange rate factors on 3 October 1998, aGerman mark has a value of 988,20 Italian lira.

Notes
INCLUDE BAPI_TEXT_HINTS OBJECT DOKU ID TX

Description
DEFINE &XXX& = 'Structure'
INCLUDE BAPI_TEXT_PARAM_EXRLST_W_FIX OBJECT DOKU ID TX

Value range
INCLUDE BAPI_TEXT_PARAM_RETURN1 OBJECT DOKU ID TX

Description
The system reads all entries for this data from the exchange ratetable. Example: In the SAP system, exchange rates are stored for thecurrency pair DEM/ITL of 0.9882 (from 1.1.1998) und 0.9886 (from2.1.1998). If the selection date is 2.2.1998, a rate of 0.9886 isgiven.

Value range
List of valid currency keys

Description
Data element exchange rate type

Value range
List of available exchange rate types

Value range
List of valid currency keys