Fonction SAP UNITS_GET_FOR_DIMENSION -

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DIMENSION T006-DIMID C 6 SPACE X Dimension key
LANGUAGE SYST-LANGU C 1 SY-LANGU X Language indicator

Paramètre Reférence Long. Facultatif Description
UNITS_OF_MEASUREMENT T006A_INT 52 Measurement unit table

Exception Description
DIMENSION_NOT_FOUND Dimension not maintained

Meaning
This parameter contains the key of the dimension, for which theunit should be determined.

Value range
Either a valid dimension key or SPACE must be specified.In the first case all measurement units for the specifieddimension, in the second case all measurement units are determined.
Valid dimension keys can be obtained with one of thefunction modulesDIMENSION_GET orDIMENSION_GET_FOR_UNIT.
If an invalid dimension key is entered, theexception DIMENSION_NOT_FOUND is raised.

Default
By default, all measurement units maintained in the specified languageare determined.

Meaning
This parameter contains the key of the language, in which themeasurement units should be determined.

Value range
A valid language key must be specified. There is no check.

Default
By default the measurement units are determined in the logon language.

Meaning
The desired measurement units are passed to the rounding program inthis table.

Value range
The table has the following fields
UNIT_INT ,,measurement unit internal format
UNIT_EXT_3,,commercial (3-ch. external) mesurement unit format
UNIT_EXT_6,,technical (6-ch. external) measurement unit format
UNIT_TXT ,,measurement unit short text (10-character)
UNIT_TXT_L,,measurement unit long text (30-character)
All fields except the internal format are language-dependent.
A unit which exists in the system is only accepted here if it ismaintained in the desired language.