SAP TREE_NODE_ITEMS Entries in Tree Table data and field list

TREE_NODE_ITEMS 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 "Entries in Tree" 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_TREE_NODE_ITEMS TYPE TREE_NODE_ITEMS.

The TREE_NODE_ITEMS table consists of various fields, each holding specific information or linking keys about Entries in Tree data available in SAP. These include ITEM_NAME (Tree Control: Column Name / Item Name), CLASS (Natural Number), FONT (Natural Number), DISABLED (Flag (X or Blank))... 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. .

TREE_NODE_ITEMS structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP TREE_NODE_ITEMS structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the TREE_NODE_ITEMS table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
NODE_KEYTree Control: Node Key TV_NODEKEYCHAR12TM_CHAR12
ITEM_NAMETree Control: Column Name / Item Name TV_ITMNAMECHAR12TM_CHAR12
CLASSNatural Number INT4INT410INT4
FONTNatural Number INT4INT410INT4
DISABLEDFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
EDITABLEFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
HIDDENFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
ALIGNMENTNatural Number INT4INT410INT4
T_IMAGETree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
CHOSENFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
TOGG_RIGHTFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
STYLENatural Number INT4INT410INT4
LENGTHNatural Number INT4INT410INT4
LENGTH_PIXFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
IGNOREIMAGFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
USEBGCOLORFlag (X or Blank) AS4FLAGCHAR1AS4FLAG
TEXTCHAR72 in Screen Painter SCRPCHA72CHAR72SYCHAR72
STRUCTTable Name TABNAMECHAR30Assigned to domainAS4TABDTB

Key field Non-key field



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

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

How to access SAP table TREE_NODE_ITEMS

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

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