SAP Function RS_CHECK_CONV_EX_2_IN - Conversion check external -> internal

Parameter Reference Type Length Default Optional Text
INPUT_EXTERNAL C C 0 Input (external format)
QUERY 0 X
TABLE_FIELD TABFIELD u 192 Dictionary field name

Parameter Reference Type Length Text
INPUT_I_FORMAT C C 0 Internal format, moved according to character.

Exception Text
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 checks the contents of a field in external format(INPUT_EXTERNAL), taking into account the user settings (date format,decimal and thousand separators). If required, it can return the valuein an internal format converted to characters (INPUT_I_FORMATparameter). The field INPUT_EXTERNAL must be a character field. It canhave any length, but must not be longer than the output length ofTABLE_FIELD. Otherwise, the exception INPUT_TOO_LONG is raised.
All exceptions relating to incorrect field contents are handled usingerror messages.
Examples:
INPUT_EXTERNAL: 170398, TABLE_FIELD points to a date field.
User-specific date format is DD.MM.YYYY
=> No exception. INPUT_I_FORMAT: 17.03.1998
If the user had had the date format MM/DD/YYYY, the INVALID_DATE
exception would have arisen.