RSTHINFO SAP (BRST structure with all relevant hierarchy information) Structure details
Description: BRST structure with all relevant hierarchy information
Structure field list including key, data, relationships and ABAP select examples
RSTHINFO is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "BRST structure with all relevant hierarchy information" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_RSTHINFO TYPE RSTHINFO.
The RSTHINFO table consists of various fields, each holding specific information or linking keys about BRST structure with all relevant hierarchy information data available in SAP. These include TABNM (Table Name), FIENM (Field Name), ROLNM (Data element (semantic domain)), DOMNM (Domain name).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP RSTHINFO structure 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 |
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 | Assigned to domain | 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 | ||||
TEXT10 | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
TEXT20 | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
TEXT40 | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L | ||||
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 | ||||
HCTEXT10 | Short Field Label | SCRTEXT_S | CHAR | 10 | SCRTEXT_S | ||||
HCTEXT20 | Medium Field Label | SCRTEXT_M | CHAR | 20 | SCRTEXT_M | ||||
HCTEXT40 | Long Field Label | SCRTEXT_L | CHAR | 40 | SCRTEXT_L |
Key field | Non-key field |
How do I retrieve data from SAP structure RSTHINFO using ABAP code?
As RSTHINFO is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on RSTHINFO as there is no data to select.How to access SAP table RSTHINFO
Within an ECC or HANA version of SAP you can also view further information about RSTHINFO 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