Fonction SAP BAPI_CURRENCY_CONV_TO_INTERNAL - Conversion of Currency Amounts into Internal Data Format

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
AMOUNT_EXTERNAL BAPICURR-BAPICURR P 12 External Currency Amount
CURRENCY TCURC-WAERS C 5 Currency Description
MAX_NUMBER_OF_DIGITS I I 4 Maximum Field Length of Internal Domains

Paramètre Reférence Type Long. Description
AMOUNT_INTERNAL 0 Converted Internal Currency Amount
RETURN BAPIRETURN u 452 Return Messages

Functionality
Converts currency amounts from external data format into SAP internaldata format.
The value range will be limited by the parameter"MAX_NUMBER_OF_DIGITS".

Notes
It is used in BAPI interfaces.

Description
Error messages

Value range
The following errors can occur:
Code Description
-----------------------------------------------------------------------
S& 040 Currency amount cannot be converted
S& 041 External currency amount is too large to be converted
S& 042 The number of decimal places exceeds the allowed maximum
S& 043 No currency key transferred: default conversion carried out
S& 044 Transferred currency key is unknown

Description
This parameter is used to delimit value ranges. The maximum number ofplaces before and after the decimal point is 23. (domain BAPICURR).
Example:
If a domain in an internal field is 11 digits long, then the maximumnumber of places before and after the decimal point is 11. For allexternal amounts that are more than 11 digits, the error code HV041"external currency amount too large to be converted" is returned in theparameter RETURN.

Value range
Maximum 23