TRSTHC SAP (BRST directory of hierarchy classes) Table details
Dictionary Type: Table
Description: BRST directory of hierarchy classes
Description: BRST directory of hierarchy classes
Table field list including key, data, relationships and ABAP select examples
TRSTHC is a standard SAP Table which is used to store BRST directory of hierarchy classes data and is available within R/3 SAP systems depending on the version and release level.
The TRSTHC table consists of various fields, each holding specific information or linking keys about BRST directory of hierarchy classes data available in SAP. These include HCROLNM (Data element (semantic domain)), SETTABNM (Table Name), SETFIENM (Field Name), FBNAM (Name of Function Module).. 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: S - System table, maint. only by SAP, change = modificationDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
Text table = TRSTHCT
SAP TRSTHC 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 |
HCLASS | BRST Class of hierarchies (Sets, etc.) | RSTHCLASS | CHAR | 4 | RSTHCLASS | ||||
HCROLNM | Data element (semantic domain) | ROLLNAME | CHAR | 30 | Assigned to domain | ROLLNAME | ROL | DD_DTEL | |
SETTABNM | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
SETFIENM | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
FBNAM | Name of Function Module | RS38L_FNAM | CHAR | 30 | Assigned to domain | FUNCNAME | LIB | ||
HPOST | BRST ID: Hierarchy node that can be posted | RSTHPOST | CHAR | 1 | FLAG | ||||
HSTRUCTURE | BRST structure of the hierarchy name | RSTHSTRUCT | CHAR | 30 | TABNAME | ||||
HPOINTER | BRST pointer to hierarchy names | RSTHPOINTR | NUMC | 2 | RSTHPOINTR | ||||
EQ_NODE | Hierarchy (name) is also hierarchy node (Drilldown) | RSTHEQNODE | CHAR | 1 | XFELD | ||||
YES_SHARED_BUFF | Indicator: Save hierarchy in SHARED BUFFER | RSTH_SHARED_BUFF | CHAR | 1 | FLAG |
Key field | Non-key field |
How do I retrieve data from SAP table TRSTHC using ABAP code
The following ABAP code Example will allow you to do a basic selection on TRSTHC to SELECT all data from the tableDATA: WA_TRSTHC TYPE TRSTHC.
SELECT SINGLE *
FROM TRSTHC
INTO CORRESPONDING FIELDS OF WA_TRSTHC
WHERE...
How to access SAP table TRSTHC
Within an ECC or HANA version of SAP you can also view further information about TRSTHC 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