TTREE SAP (Definition table for structures) Table details

Dictionary Type: Table
Description: Definition table for structures




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




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

TTREE is a standard SAP Table which is used to store Definition table for structures data and is available within R/3 SAP systems depending on the version and release level.

The TTREE table consists of various fields, each holding specific information or linking keys about Definition table for structures data available in SAP. These include EXTENSION (Structure enhancement ID), EXT_KEY (External key), TYPE (Structure Type), NODE_ID (Unique ID - 32 characters).. 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: E - Control table, SAP and customer have separate key areas
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced

Text table = TTREET


SAP TTREE 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
IDGUID for Structure HIER_TREEGCHAR32SYCHAR32S_TREE_ID
EXTENSIONStructure enhancement ID HIER_NAMESCHAR15Assigned to domainHIER_NAMES
EXT_KEYExternal key HIER_TREECHAR12HIER_TREE
TYPEStructure Type HIER_TREETCHAR5TTREETYPEHIER_TREET
NODE_IDUnique ID - 32 characters HIER_GUIDCHAR32SYCHAR32
TREE_IDUnique ID - 32 characters HIER_GUIDCHAR32SYCHAR32
MASTERLANGLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
RESPONSIBLUser Name UNAMECHAR12UNAME
BUFFERMODEBuffer mode of structure data HIER_BUFMOCHAR1HIER_BUFMO
BUFFERVARParameters for buffering HIER_BUFVACHAR10CHAR10
SINGLENODEFlag with values ' ' and 'X' HIER_YESNOCHAR1HIER_YESNO
SUBTREEONLFlag with values ' ' and 'X' HIER_YESNOCHAR1HIER_YESNO
LOG_STRFlag: Logical or Physical Structure HIER_LOSTRCHAR1HIER_LOSTR
FUSERCreated by HIER_FUSERCHAR12HIER_USER
FDATECreated on HIER_FDATEDATS8SYDATS
FTIMECreated at HIER_FTIMETIMS6SYTIME
FRELEASERelease of SAP System SYSAPRLCHAR4SYCHAR04
LUSERLast changed by HIER_LUSERCHAR12HIER_USER
LDATELast Changed On HIER_LDATEDATS8SYDATS
LTIMETime of Last Change HIER_LTIMETIMS6SYTIME
LRELEASERelease of SAP System SYSAPRLCHAR4SYCHAR04

Key field Non-key field



How do I retrieve data from SAP table TTREE using ABAP code

The following ABAP code Example will allow you to do a basic selection on TTREE to SELECT all data from the table
DATA: WA_TTREE TYPE TTREE.

SELECT SINGLE *
FROM TTREE
INTO CORRESPONDING FIELDS OF WA_TTREE
WHERE...

How to access SAP table TTREE

Within an ECC or HANA version of SAP you can also view further information about TTREE 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!