WRF_HIER_ID SAP (Hierarchy Table) Table details
Dictionary Type: Table
Description: Hierarchy Table
Description: Hierarchy Table
Table field list including key, data, relationships and ABAP select examples
WRF_HIER_ID is a standard SAP Table which is used to store Hierarchy Table data and is available within R/3 SAP systems depending on the version and release level.
The WRF_HIER_ID table consists of various fields, each holding specific information or linking keys about Hierarchy Table data available in SAP. These include APP_ID (Application ID), HIER_ID (Hierarchy ID), ROOT_ID (Root Node), NEXT_OBJECT_ID (Next Free Object ID).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
Text table = WRF_HIER_ID_T
SAP WRF_HIER_ID table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
APP_ID | Application ID | WRF_APPID | NUMC | 2 | WRF_APPL_SET | WRF_APPID | WRF_GENAPPLID | ||
HIER_ID | Hierarchy ID | WRF_HIERID | CHAR | 2 | WRF_HIERID | WRF_GENHIERID | |||
ROOT_ID | Root Node | WRF_ROOTID | NUMC | 6 | Assigned to domain | WRF_NODEID | |||
NEXT_OBJECT_ID | Next Free Object ID | WRF_NEXT_OBJ_ID | NUMC | 6 | Assigned to domain | WRF_OBJID | |||
NEXT_NODE_ID | Next Free Node ID | WRF_NEXT_NODE_ID | NUMC | 6 | Assigned to domain | WRF_NODEID | |||
OBJ_REF | Reference Object | WRF_OBJ_REF | CHAR | 30 | WRF_NODENAME | ||||
OBJ_STRUCT | Attribute Structure for Objects | WRF_OSTRUCT_REF | CHAR | 30 | DD02L | AS4TAB | |||
NODE_STRUCT | Attribute Structure for Nodes | WRF_STRUCT_REF | CHAR | 30 | DD02L | AS4TAB | |||
AUTH_GRP | Authorization Group | WRF_AUTHGRP | CHAR | 4 | WRF_BRGRU | ||||
OBJ_DISPLAY_CONT | Display Objects in Hierarchy Tree | WRF_OBJ_DIS_CONT | CHAR | 1 | WRF_FLAG | ||||
DISPLAY_MODE | Display Mode for Tree Display | WRF_DISPLAY_MODE | NUMC | 1 | WRF_DISPLAY_MODE | ||||
FLG_OBJSTR_ONLY | No Other Attribute Structure for Objects Allowed | WRF_OBJSTR_ONLY | CHAR | 1 | WRF_FLAG | ||||
FLG_NODESTR_ONLY | No Other Attribute Structure Allowed for Node | WRF_NODESTR_ONLY | CHAR | 1 | WRF_FLAG | ||||
FLG_OBJNME_UNIQ | Object Name Must Be Unique | WRF_OBJNME_UNIQ | CHAR | 1 | WRF_FLAG | ||||
FLG_NODENME_UNIQ | Node Name Must Be Unique | WRF_NODENME_UNIQ | CHAR | 1 | WRF_FLAG | ||||
FLG_ADD_EN_ONLY | Objects Can Only Be Moved to End Nodes | WRF_ADD_EN_ONLY | CHAR | 1 | WRF_FLAG | ||||
FLG_CHANGE_DOC | Write Change Document | WRF_CHNGE_DOC | CHAR | 1 | WRF_FLAG |
Key field | Non-key field |
How do I retrieve data from SAP table WRF_HIER_ID using ABAP code
The following ABAP code Example will allow you to do a basic selection on WRF_HIER_ID to SELECT all data from the tableDATA: WA_WRF_HIER_ID TYPE WRF_HIER_ID.
SELECT SINGLE *
FROM WRF_HIER_ID
INTO CORRESPONDING FIELDS OF WA_WRF_HIER_ID
WHERE...
How to access SAP table WRF_HIER_ID
Within an ECC or HANA version of SAP you can also view further information about WRF_HIER_ID and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects