EWREL SAP (Statistics, relations in hierarchy) Table details

Dictionary Type: Table
Description: Statistics, relations in hierarchy




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




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 = modification
Display/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_LEVELStatistics, level of object in hierarchy STA_LEVELNUMC2NUM2
HI_LEVELStatistics, level of higher object in hierarchy STA_HLEVELNUMC2NUM2
OBJStatistics, type of object of element STA_OBJCHAR4CHAR4
HI_OBJStatistics, type of higher object in hierarchy STA_HOBJCHAR4CHAR4
OBJ_NAMEStatistics, description of object STA_TEXTCHAR80TEXT80
HI_OBJNAMEStatistics, description of higher object in hierarchy STA_HTEXTCHAR80CHAR80

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 table
DATA: 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 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!