HITAB SAP (Structure for Internal Hierarchy Tables) Structure details

Dictionary Type: Structure
Description: Structure for Internal Hierarchy Tables




ABAP Code to SELECT data from HITAB
Related tables to HITAB
Access table HITAB




Structure field list including key, data, relationships and ABAP select examples

HITAB 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 "Structure for Internal Hierarchy Tables" 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_HITAB TYPE HITAB.

The HITAB table consists of various fields, each holding specific information or linking keys about Structure for Internal Hierarchy Tables data available in SAP. These include OBJTO (TO object in hierarchy), EBENE (Hierarchy levels), TEXT (Hierarchy item title), ATTRIBUTES (Collective field for attributes in a hierarchy).. 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: Can be enhanced (character-type or numeric)


SAP HITAB 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
OBJFRFROM object in hierarchy HI_OBJFRCHAR50HI_OBJECT
OBJTOTO object in hierarchy HI_OBJTOCHAR50HI_OBJECT
EBENEHierarchy levels HI_EBENEINT13HI_EBENE
TEXTHierarchy item title HI_TEXTSTRCHAR80HI_TEXT
ATTRIBUTESCollective field for attributes in a hierarchy HI_ATTRIBSCHAR200HI_ATTRIB
ATTR1BBeginning of field in attribute field HI_ATTRBEGINT25HI_ATTRPOS
ATTR1EEnd of field in attribute field HI_ATTRENDINT25HI_ATTRPOS
ATTR1SPosition on screen HI_SCRPOSINT13HI_SCRPOS
ATTR2BBeginning of field in attribute field HI_ATTRBEGINT25HI_ATTRPOS
ATTR2EEnd of field in attribute field HI_ATTRENDINT25HI_ATTRPOS
ATTR2SPosition on screen HI_SCRPOSINT13HI_SCRPOS
ATTR3BBeginning of field in attribute field HI_ATTRBEGINT25HI_ATTRPOS
ATTR3EEnd of field in attribute field HI_ATTRENDINT25HI_ATTRPOS
ATTR3SPosition on screen HI_SCRPOSINT13HI_SCRPOS
NO_SUBIndicator for: No subchapters possible HI_NOSUBCHAR1HI_CROSS
IMPLODEIndicator for: Imploded HI_IMPLODECHAR1HI_CROSS
EXPLODEFlag: chapter has exploded subchapters HI_EXPLODECHAR1HI_CROSS
VISIBLEIndicator for: Visible HI_VISIBLECHAR1HI_CROSS
MARKEDSelected HI_MARKEDCHAR1HI_CROSS
LOG_MARKEDSelected HI_MARKEDCHAR1HI_CROSS
NO_CHANGEIndicator for: No changes HI_NOCHAGCHAR1HI_CROSS
LAST_CHILDIndicator for last child on this level HI_LCHILDCHAR1HI_CROSS
FOUNDIndicator for found during search HI_FOUNDCHAR1HI_CROSS
MODIFIEDFlag: chapter is modification HI_MODIFICCHAR1HI_CROSS
ORIG_OUTLOriginal structure for OBJFR HI_OUTLINECHAR12Assigned to domainDOKU_OUTLI
GOT_INFOCheckbox XFELDCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP structure HITAB using ABAP code?

As HITAB 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 HITAB as there is no data to select.

How to access SAP table HITAB

Within an ECC or HANA version of SAP you can also view further information about HITAB and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!