Fonction SAP UNIT_CORRESPONDENCE_CHECK - Check whether two units have the same dimension

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
UNIT_IN T006-MSEHI C 3 Unit of measurement
UNIT_OUT T006-MSEHI C 3 Unit of measurement

Exception Description
DIMENSIONS_ARE_DIFFERENT Dimensions are different
UNIT_IN_NOT_FOUND UNIT_IN is not maintained
UNIT_OUT_NOT_FOUND UNIT_OUT is not maintained


Functions
This function module checks whether two units of measurement have thesame dimension.
Example
DATA: UNIT_1 LIKE T006-MSEHI,
UNIT_2 LIKE T006-MSEHI.
...
CALL FUNCTION 'UNIT_CORRESPONDENCE_CHECK'
EXPORTING
UNIT_IN = UNIT_1
UNIT_OUT = UNIT_2
EXCEPTIONS
DIMENSIONS_ARE_DIFFERENT = 01
UNIT_IN_NOT_FOUND = 02
UNIT_OUT_NOT_FOUND = 03.
Notes
INCLUDE 'FU_INF_BUF' OBJECT DOKU ID TX