Fonction SAP BKK_AMOUNT_CONV_TO_INTERNAL - Conversion of Currency Amounts to Internal Display

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
AMOUNT_EXTERNAL 0 Amount to Be Converted
CURRENCY TCURC-WAERS C 5 Currency
MAX_NUMBER_OF_DIGITS 0 Maximum Number of Characters

Paramètre Reférence Type Long. Description
AMOUNT_INTERNAL 0 Converted Amount

Exception Description
CONVERSION_ERROR Error During Conversion
MAX_NUM_OF_DIGITS_OVER_PASSED Maximum Number of Characters Exceeded
OVERFLOW Overflow since Amount to be Converted is Too Large

Functionality
Converts currency amounts from the external format into the internalSAP format.
The value range is restricted by the MAX_NUMBER_OF_DIGITS parameter.If successful, the value RETURN = 0 is returned.
The following errors can occur:

  • Number of places is too large (RETURN = 1)

  • Conversion error (RETURN = 2)

  • External amount is too large (RETURN = 3)
  • Notes
    This is used on the BAPI interfaces.