THDS_TREE_HIST SAP (History Table - HDS Trees) Table details

Dictionary Type: Table
Description: History Table - HDS Trees




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




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

THDS_TREE_HIST is a standard SAP Table which is used to store History Table - HDS Trees data and is available within R/3 SAP systems depending on the version and release level.

The THDS_TREE_HIST table consists of various fields, each holding specific information or linking keys about History Table - HDS Trees data available in SAP. These include APPL_ID (Application ID), TREE_ID (ID/Name of Derivation Tree), VERSIONGUID (General Version ID for the Tree), ACTION (Activity (Version Management)).. 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: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP THDS_TREE_HIST 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
APPL_IDApplication ID HDS_DTE_APPL_IDCHAR20HDS_APPL_IDHDS_APPL_ID
TREE_IDID/Name of Derivation Tree HDS_DTE_TREE_IDCHAR30Assigned to domainHDS_TREE_IDHDS_TREE_ID
VERSIONGUIDGeneral Version ID for the Tree HDS_DTE_VERSIONGUIDRAW16HDS_VERSIONGUID
ACTIONActivity (Version Management) HDS_DTE_ACTIONCHAR1HDS_ACTION
VERSIONTYPEVersion Type HDS_DTE_VERSIONTYPECHAR1HDS_VERSIONTYPE
TREE_TIMESTAMPTime Stamp of Last Change HDS_DTE_CHANGE_TIMESTAMPDEC21(7) TZNTSTMPL
CHANGE_USERLast Changed By (User Name) HDS_DTE_CHANGE_USERCHAR12BNAME
TREE_STRINGHDS Tree Complete as String HDS_DTE_TREE_STRINGSTRG0
TREE_STRINGX 0

Key field Non-key field



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

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

SELECT SINGLE *
FROM THDS_TREE_HIST
INTO CORRESPONDING FIELDS OF WA_THDS_TREE_HIST
WHERE...

How to access SAP table THDS_TREE_HIST

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