Fonction SAP BUS_NUMBERFIELD_PAI_NEW -

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_CURRENCY TCURC-WAERS C 5 X Currency
I_FIELDNAME DD03L-FIELDNAME C 30 Field Name
I_TABNAME DD03L-TABNAME C 30 Table Name

Paramètre Reférence Type Long. Description
E_VALUE_DB 0

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
C_VALUE_DYNP 0

Exception Description
CONVERSION_EXIT_ERROR Error in conversion exit
FIELD_AND_DESCR_INCOMPATIBLE Output field does not match Dictionary description
ILL_THOUSAND_SEPARATOR_DIST Separation between thousands not = 0 mod 3
INPUT_NOT_NUMERICAL Non-numeric input
INPUT_TOO_LONG Input longer than output length of output field
INVALID_DATE Invalid date
INVALID_DATE_FORMAT Invalid date format
INVALID_FIELDNAME Field not in Dictionary
INVALID_FLOAT Invalid floating point entry
INVALID_HEX_DIGIT Incorrect hex character
INVALID_TIME Invalid time
INVALID_TIME_FORMAT Invalid time format
MORE_THAN_ONE_SIGN +/- sign input multiple times
NO_DECIMALS Decimal separator without subsequent decimal places
SIGN_FOR_UNSIGNED No +/- signs allowed
TOO_LARGE Value too large
TOO_MANY_DECIMALS Too many places after the decimal point
TOO_MANY_DIGITS Too many characters in whole number field
TOO_SMALL Value too small
UNEXPECTED_ERROR Unintercepted error

Functionality
This function module converts a field content that exists in anexternal format (C_VALUE_DYNP) into an internal format (E_VALUE_DB).
The parameter (E_VALUE_DB) must have the technical characteristics ofthe dictionary field specified in the parameters I_TABNAME andI_FIELDNAME. The field (C_VALUE_DYNP) must be of the type character. Itcan have any length.
The actual length; i.e. the length with which the field (C_VALUE_DYNP)is filled may not exceed the output length of the field (E_VALUE_DB).In these cases the exception INPUT_TOO_LONG is triggered. Exceptionswhich apply to incorrect field contents are handled by error messages.