Fonction SAP BAPI_EXCHANGERATE_CREATE - Addition of Entry in Table of Exchange Rates

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHG_FIXED BAPI1093_2-CHG_FIXED C 1 SPACE X 'X' = Permit Changes to Fixed Exchange Rate
DEV_ALLOW BAPI1093_2-DEV_ALLOW N 3 '000' X Permitted Difference to Old Exchange Rate as Percentage
EXCH_RATE BAPI1093_0 u 52 Exchange Rate To Be Written
UPD_ALLOW BAPI1093_2-UPD_ALLOW C 1 SPACE X 'X' = Update of Existing Exchange Rate is Also Permitted

Paramètre Reférence Type Long. Description
FROM_CURR BAPI1093_0-FROM_CURR C 5
RATE_TYPE BAPI1093_0-RATE_TYPE C 4
RETURN BAPIRET2 u 548 Message
TO_CURRNCY BAPI1093_0-TO_CURRNCY C 5

Functionality
The API method makes it possible to write an entry in the exchange ratetable. The system carries out an authorization check for maintenance ofexchange rate tables.
INCLUDE BAPI_TEXT_SET_COMMIT OBJECT DOKU ID TX

Example
Example
INCLUDE BAPI_TEXT_CURR_EXAMPLE OBJECT DOKU ID TX

Notes

Value range
INCLUDE BAPI_TEXT_PARAM_RETURN1 OBJECT DOKU ID TX

Description
INCLUDE BAPI_TEXT_PARAM_CHG_FIXED OBJECT DOKU ID TX

Value range
SPACE = 'Changes to fixed courses forbidden'
'X' = 'Changes to fixed courses allowed'

Default
SPACE

Description
INCLUDE BAPI_TEXT_PARAM_DEV_ALLOW OBJECT DOKU ID TX

Value range
000 - 999

Default
000 = 'No variance check'

Description
INCLUDE BAPI_TEXT_PARAM_EXCH_RATE OBJECT DOKU ID TX

Value range
To fill the key fields, you can display the list ofexchange rate types and currency codes
.

Description
INCLUDE BAPI_TEXT_PARAM_UPD_ALLOW OBJECT DOKU ID TX

Value range
SPACE = 'No update allowed'
'X' = 'Update allowed'

Default
SPACE