TRSTHV SAP (BRST directory of hierarchies) Table details
Dictionary Type: Table
Description: BRST directory of hierarchies
Description: BRST directory of hierarchies
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 areasDisplay/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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
APPL | BRST application | RSTHAPPL | CHAR | 4 | TAPPLCLASSHIE | RSTHAPPL | RSTH_SH_HIE_APPLCLASS | ||
TABNM | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
FIENM | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
ROLNM | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
DOMNM | Domain name | DOMNAME | CHAR | 30 | Assigned to domain | DOMNAME | DD_DOMA | ||
HCLASS | BRST Class of hierarchies (Sets, etc.) | RSTHCLASS | CHAR | 4 | TRSTHC | RSTHCLASS | |||
HIENM | Name of hierarchy | HIERANM | CHAR | 30 | HIERANM | ||||
HMODE | BRST Hierarchy mode (comp., target and optional hierarchy) | RSTHMODE | NUMC | 1 | RSTHMODE | ||||
PROPOSAL | BRST Default flag | RSTDEFAULT | CHAR | 1 | FLAG | ||||
MASK | BRST Masking flag | RSTMASK | CHAR | 1 | FLAG | ||||
HSEL | BRST possible times for hierarchy selection | RSTHSEL | NUMC | 1 | RSTHSEL | ||||
HART | BRST Dependency on hierarchy and transaction data | RSTHART | NUMC | 1 | RSTHART | ||||
PRSTN | BRST Presentation type for hierarchies | RSTPRSTN | NUMC | 1 | RSTPRSTN | ||||
INTPR | BRST Presentation type for intervals | RSTINTPR | NUMC | 1 | RSTINTPR | ||||
TOPDOWN | BRST Flag whether Hierarchy is Top-down or Bottom-up | RSTTOPDOWN | CHAR | 1 | FLAG | ||||
SLEVEL | BRST start level for hierarchy display | RSTSLEVEL | NUMC | 2 | RSTSLEVEL | ||||
HSUM | BRST Totals line on hierarchical list on/off | RSTHSUM | CHAR | 1 | FLAG |
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 tableDATA: 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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects