SAP Function CONVERSION_EXIT_CUNIT_INPUT - Conversion exit for commercial (3-char) measurement unit INPUT

Parameter Reference Type Length Default Optional Text
INPUT 0 external display of unit of measurement
LANGUAGE SYST-LANGU C 1 SY-LANGU X Language key (default: logon language)

Parameter Reference Type Length Text
OUTPUT 0 internal display of unit of measurement

Exception Text
UNIT_NOT_FOUND Unit of measurement not found


Functionality
The function module determines the internal measurement unit for abusiness measurement unit (3-character external measurement unit).
Example
DATA: UNIT_EXT LIKE T006-MSEH3,
UNIT_INT LIKE T006-MSEHI.
...
CALL FUNCTION 'CONVERSION_EXIT_CUNIT_INPUT'
EXPORTING
INPUT = UNIT_EXT
LANGUAGE = SY-LANGU
IMPORTING
OUTPUT = UNIT_INT
EXCEPTIONS
UNIT_NOT_FOUND = 01.
Notes
  • This module is called automatically when measurement units are entered
  • on the screen.
    INCLUDE 'FU_INF_BUF_SCVU' OBJECT DOKU ID TX

373511Short dump for calculation of delay for milestones