HIER_REF SAP (List of references to nodes) Structure details
Description: List of references to nodes
Structure field list including key, data, relationships and ABAP select examples
HIER_REF is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "List of references to nodes" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_HIER_REF TYPE HIER_REF.
The HIER_REF table consists of various fields, each holding specific information or linking keys about List of references to nodes data available in SAP. These include REF_TYPE (Valid Reference Types in Structure Repository), REF_OBJECT (Referenced object for node), EXTENSION (Structure enhancement ID), DEL_FLAG (Flag with values ' ' and 'X').. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP HIER_REF structure 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 |
NODE_ID | Unique ID - 32 characters | HIER_GUID | CHAR | 32 | SYCHAR32 | ||||
REF_TYPE | Valid Reference Types in Structure Repository | HIER_RTYPE | CHAR | 4 | Assigned to domain | HIER_RTYPE | |||
REF_OBJECT | Referenced object for node | HIER_ROBJE | CHAR | 70 | CHAR70 | ||||
EXTENSION | Structure enhancement ID | HIER_NAMES | CHAR | 15 | Assigned to domain | HIER_NAMES | |||
DEL_FLAG | Flag with values ' ' and 'X' | HIER_YESNO | CHAR | 1 | HIER_YESNO | ||||
FROM_RNODE | Flag with values ' ' and 'X' | HIER_YESNO | CHAR | 1 | HIER_YESNO | ||||
R_SEQUEN | Numerical Character 10 | HIER_NUM10 | NUMC | 10 | |||||
COMPONENT | Technical Description of Logical Components | SYSDLVUNIT | CHAR | 30 | Assigned to domain | SYSDLVUNIT | |||
SYSTEMINST | Code for an Assigned System Landscape in Project | SYSTEMINST | CHAR | 20 | Assigned to domain | SYSTEMINST | |||
COMPRELFR | SAP Release | SAPRELEASE | CHAR | 10 | CHAR10 | ||||
COMPRELTO | SAP Release | SAPRELEASE | CHAR | 10 | CHAR10 | ||||
DEFAULTREF | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
IN_SCOPE | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
PRDVERSFR | Component Release | SBORPV_FRM | CHAR | 20 | Assigned to domain | SBORPVNR | |||
PRDVERSTO | Component Release | SBORPV_TO | CHAR | 20 | Assigned to domain | SBORPVNR | |||
APPL_FLAG1 | Flag: Use by application only | HIER_AFLAG | CHAR | 1 | CHAR1 | ||||
APPL_FLAG2 | Flag: Use by application only | HIER_AFLAG | CHAR | 1 | CHAR1 | ||||
APPL_FLAG3 | Flag: Use by application only | HIER_AFLAG | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure HIER_REF using ABAP code?
As HIER_REF is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on HIER_REF as there is no data to select.How to access SAP table HIER_REF
Within an ECC or HANA version of SAP you can also view further information about HIER_REF 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