Menu

SAP Function Module K_HIERARCHY_FIELD_CHECK

Prüfen eines Hierarchiefeldes

The Function Module K_HIERARCHY_FIELD_CHECK (Prüfen eines Hierarchiefeldes) is a standard Function Module in SAP ERP and is part of the function group KKRP within the package KKR.

Technical Information

Function Module K_HIERARCHY_FIELD_CHECK
Short Text Prüfen eines Hierarchiefeldes
Function Group KKRP
Package KKR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
HFIELD LIKE TKKR1-HFELD Name of the hierarchy field to be checked
HIART LIKE TKKR0-HIART Hierarchy type
HLEVEL LIKE TKKR1-STUFE Hierarchy level of the pickup field

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
FLENGTH LIKE TKKR1-FLENGTH Length of the hierarchy field
HFLDKZ LIKE TKKR1-FLDKZ Hierarchy field indicator
HFTEXT LIKE CABNT-ATBEZ Hierarchy field description

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
HFIELD_TBL LIKE Table of the hierarchy fields already used

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
FIELD_ALREADY_USED Hierarchy characteristic is already used
FIELD_HAS_WRONG_FORMAT Hierarchy characteristic is not allowed
FIELD_NOT_IN_ROLLUP_CLASS Hierarchy characteristic is not the rollup class
FIRST_FIELD_IS_NOT_KOKRS First hierarchy field is not the CACC