SAP WRF_HIER_ID Hierarchy Table Table

Overview

WRF_HIER_ID is a standard SAP S/4HANA table that stores Hierarchy Table data. There are total 18 fields in the WRF_HIER_ID table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table WRF_HIER_ID belongs to Merchandise Categories (LO-RFM-MD-MC) module and is located in the package Generic Hierarchy (WRF_GENERIC_HIERARCHY).

In addition, following links provide an overview of foreign key relationships, if any, that link WRF_HIER_ID to other SAP tables and standard CDS views available based on WRF_HIER_ID table in S/4HANA 2020.

Techincal Settings of WRF_HIER_ID

Below are technical details of the table WRF_HIER_ID

  • Buffering not allowed
  • No buffering
  • Storage type is Column Store

List of WRF_HIER_ID Fields

The following table gives you an overview of the fields available in WRF_HIER_ID

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
APP_IDApplication IDWRF_APPIDWRF_APPL_SETNUMC2
HIER_IDHierarchy IDWRF_HIERIDCHAR2
ROOT_IDRoot NodeWRF_ROOTID*NUMC6
NEXT_OBJECT_IDNext Free Object IDWRF_NEXT_OBJ_ID*NUMC6
NEXT_NODE_IDNext Free Node IDWRF_NEXT_NODE_ID*NUMC6
OBJ_REFReference ObjectWRF_OBJ_REFCHAR30
OBJ_STRUCTAttribute Structure for ObjectsWRF_OSTRUCT_REFDD02LCHAR30
NODE_STRUCTAttribute Structure for NodesWRF_STRUCT_REFDD02LCHAR30
AUTH_GRPAuthorization GroupWRF_AUTHGRPCHAR4
OBJ_DISPLAY_CONTDisplay Objects in Hierarchy TreeWRF_OBJ_DIS_CONTCHAR1
DISPLAY_MODEDisplay Mode for Tree DisplayWRF_DISPLAY_MODENUMC1
FLG_OBJSTR_ONLYNo Other Attribute Structure for Objects AllowedWRF_OBJSTR_ONLYCHAR1
FLG_NODESTR_ONLYNo Other Attribute Structure Allowed for NodeWRF_NODESTR_ONLYCHAR1
FLG_OBJNME_UNIQObject Name Must Be UniqueWRF_OBJNME_UNIQCHAR1
FLG_NODENME_UNIQNode Name Must Be UniqueWRF_NODENME_UNIQCHAR1
FLG_ADD_EN_ONLYObjects Can Only Be Moved to End NodesWRF_ADD_EN_ONLYCHAR1
FLG_CHANGE_DOCWrite Change DocumentWRF_CHNGE_DOCCHAR1

Foreign Key Relationships

A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for WRF_HIER_ID

Table NameFieldCardinalityCheck Table
WRF_HIER_IDAPP_ID:WRF_APPL_SET
WRF_HIER_IDMANDT:T000
WRF_HIER_IDNODE_STRUCT:DD02L
WRF_HIER_IDOBJ_STRUCT:DD02L

Other References