TRSTHV SAP (BRST directory of hierarchies) Table details

Dictionary Type: Table
Description: BRST directory of hierarchies




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




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

TRSTHV is a standard SAP Table which is used to store BRST directory of hierarchies data and is available within R/3 SAP systems depending on the version and release level.

The TRSTHV table consists of various fields, each holding specific information or linking keys about BRST directory of hierarchies data available in SAP. These include APPL (BRST application), TABNM (Table Name), FIENM (Field Name), ROLNM (Data element (semantic domain)).. 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: Not classified

Text table = TRSTHVT


SAP TRSTHV 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
MANDTClient MANDTCLNT3T000MANDT
APPLBRST application RSTHAPPLCHAR4TAPPLCLASSHIERSTHAPPLRSTH_SH_HIE_APPLCLASS
TABNMTable Name TABNAMECHAR30Assigned to domainAS4TABDTB
FIENMField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
ROLNMData element (semantic domain) ROLLNAMECHAR30Assigned to domainROLLNAMEROLDD_DTEL
DOMNMDomain name DOMNAMECHAR30Assigned to domainDOMNAMEDD_DOMA
HCLASSBRST Class of hierarchies (Sets, etc.) RSTHCLASSCHAR4TRSTHCRSTHCLASS
HIENMName of hierarchy HIERANMCHAR30HIERANM
HMODEBRST Hierarchy mode (comp., target and optional hierarchy) RSTHMODENUMC1RSTHMODE
PROPOSALBRST Default flag RSTDEFAULTCHAR1FLAG
MASKBRST Masking flag RSTMASKCHAR1FLAG
HSELBRST possible times for hierarchy selection RSTHSELNUMC1RSTHSEL
HARTBRST Dependency on hierarchy and transaction data RSTHARTNUMC1RSTHART
PRSTNBRST Presentation type for hierarchies RSTPRSTNNUMC1RSTPRSTN
INTPRBRST Presentation type for intervals RSTINTPRNUMC1RSTINTPR
TOPDOWNBRST Flag whether Hierarchy is Top-down or Bottom-up RSTTOPDOWNCHAR1FLAG
SLEVELBRST start level for hierarchy display RSTSLEVELNUMC2RSTSLEVEL
HSUMBRST Totals line on hierarchical list on/off RSTHSUMCHAR1FLAG

Key field Non-key field



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

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

SELECT SINGLE *
FROM TRSTHV
INTO CORRESPONDING FIELDS OF WA_TRSTHV
WHERE...

How to access SAP table TRSTHV

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