EWREL SAP (Statistics, relations in hierarchy) Table details
Description: Statistics, relations in hierarchy
Table field list including key, data, relationships and ABAP select examples
EWREL is a standard SAP Table which is used to store Statistics, relations in hierarchy data and is available within R/3 SAP systems depending on the version and release level.
The EWREL table consists of various fields, each holding specific information or linking keys about Statistics, relations in hierarchy data available in SAP. These include HI_LEVEL (Statistics, level of higher object in hierarchy), OBJ (Statistics, type of object of element), HI_OBJ (Statistics, type of higher object in hierarchy), OBJ_NAME (Statistics, description of object).. 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: Cannot Be Enhanced
SAP EWREL 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 |
OBJ_LEVEL | Statistics, level of object in hierarchy | STA_LEVEL | NUMC | 2 | NUM2 | ||||
HI_LEVEL | Statistics, level of higher object in hierarchy | STA_HLEVEL | NUMC | 2 | NUM2 | ||||
OBJ | Statistics, type of object of element | STA_OBJ | CHAR | 4 | CHAR4 | ||||
HI_OBJ | Statistics, type of higher object in hierarchy | STA_HOBJ | CHAR | 4 | CHAR4 | ||||
OBJ_NAME | Statistics, description of object | STA_TEXT | CHAR | 80 | TEXT80 | ||||
HI_OBJNAME | Statistics, description of higher object in hierarchy | STA_HTEXT | CHAR | 80 | CHAR80 |
Key field | Non-key field |
How do I retrieve data from SAP table EWREL using ABAP code
The following ABAP code Example will allow you to do a basic selection on EWREL to SELECT all data from the tableDATA: WA_EWREL TYPE EWREL.
SELECT SINGLE *
FROM EWREL
INTO CORRESPONDING FIELDS OF WA_EWREL
WHERE...
How to access SAP table EWREL
Within an ECC or HANA version of SAP you can also view further information about EWREL 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