Fonction SAP BAPI_EXCHRATE_GETCURRENTRATES - Output Selected Exchange Rates and Factors from the SAP System

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATE BAPI1093_2-TRANS_DATE D 8 Date on Which Current Exchange Rates Are Read
DATE_TYPE BAPI1093_2-DATE_TYPE C 1 'V' X Date Type: See Long Text
RATE_TYPE BAPI1093_1-RATE_TYPE C 4 'M' X Exchange Rate Type
SHOW_PROTOCOL BAPI1093_2-SHOW_PROTOCOL C 1 X Indicator: Display Log

Paramètre Reférence Long. Facultatif Description
EXCH_RATE_LIST BAPI1093_0 52 Export: List of Exchange Rates
FROM_CURR_RANGE BAPI1093_3 13 Import: Range Table for 'From' Currency
RETURN BAPIRET1 470 Export: Table of Messages Reported
TO_CURRNCY_RANGE BAPI1093_4 13 Import: Range Table for 'To' Currency

Functionality
The API method makes it possible to read entries from the exchange ratetable. In each case, it is only possible to read entries for a certainexchange rate type and for a certain currencytranslation date. The system performs an authorization check fordisplaying exchange rate tables.

Notes
INCLUDE BAPI_TEXT_HINTS OBJECT DOKU ID TX

Description
Here, you enter the data for which the you want the current exchangerates to be read from the SAP system. You should enter the date in theformat YYYYMMDD.

Description
The field refers to the DATE field in the Meaning of thefield content interface.

Description
Exchange rates are only read for one exchange rate type. The parametercontains the required exchange rate type. The parameter is optional.

Value range
Valid exchange rate types

Default
'M' = Middle rate

Description
The system generally tries to read all exchange rates for the enteredrange. However, there are probably many combinations which cannot befound. If the flag is set, an error message will be written to themessage table for each combination that cannot be found. If the flag isnot set, no entries are created.
Other error messages are set regardless of whether or not the flag hasbeen set.

Value range
SPACE, 'X'

Default
SPACE = No log

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

Description
You can use this table to specify selection critera for thefrom-currencies. The table has the structure of a value range. If youwant to select one currency only, you can leave the fields SIGN andOPTION empty. Make sure that you enter the correct currency code in theLOW field.

Value range
Configuration of the Structure
SIGN Data element BAPISIGN
OPTION Data element BAPIOPTION
LOW / HIGH: lower/upper limit for ranges

Value range
Each row in the table is made up of a structure.
INCLUDE BAPI_TEXT_PARAM_RETURN1 OBJECT DOKU ID TX

Description
You can use this table to specify selection critera for theto-currencies. The table has the structure of a value range. If youwant to select one currency only, you can leave the fields SIGN andOPTION empty. Make sure that you enter the correct currency code in theLOW field.
Value range
Configuration of the Structure
SIGN Data element BAPISIGN
OPTION Data element BAPIOPTION
LOW / HIGH: lower/upper limit for ranges