EREF SAP (Assignment Table: Object/Event) Table details
Dictionary Type: Table
Description: Assignment Table: Object/Event
Description: Assignment Table: Object/Event
Table field list including key, data, relationships and ABAP select examples
EREF is a standard SAP Table which is used to store Assignment Table: Object/Event data and is available within R/3 SAP systems depending on the version and release level.
The EREF table consists of various fields, each holding specific information or linking keys about Assignment Table: Object/Event data available in SAP. These include ERENR (Special event number (forecast)), OBJNR (Object number (forecast)), WERKS (Plant), ZUODT (Assignment date of the events in the forecast).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP EREF 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 | Assigned to domain | MANDT | |||
ERENR | Special event number (forecast) | ERENR | CHAR | 8 | ERENR | ERE | |||
OBJNR | Object number (forecast) | OBJNR | CHAR | 18 | OBJNR | OBN | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
ZUODT | Assignment date of the events in the forecast | DZUODT | DATS | 8 | DATUM | ||||
ERK01 | Special event factor for forecast value 1 | ERK01 | DEC | 7(3) | ERKXX | ||||
ERK02 | Special event factor for forecast value 2 | ERK02 | DEC | 7(3) | ERKXX | ||||
ERK03 | Special event factor for forecast value 3 | ERK03 | DEC | 7(3) | ERKXX | ||||
ERK04 | Special event factor for forecast value 4 | ERK04 | DEC | 7(3) | ERKXX | ||||
ERK05 | Special event factor for forecast value 5 | ERK05 | DEC | 7(3) | ERKXX | ||||
ERK06 | Special event factor for forecast value 6 | ERK06 | DEC | 7(3) | ERKXX | ||||
ERK07 | Special event factor for forecast value 7 | ERK07 | DEC | 7(3) | ERKXX | ||||
ERK08 | Special event factor for forecast value 8 | ERK08 | DEC | 7(3) | ERKXX | ||||
ERK09 | Special event factor for forecast value 9 | ERK09 | DEC | 7(3) | ERKXX | ||||
ERK10 | Special event factor for forecast value 10 | ERK10 | DEC | 7(3) | ERKXX | ||||
ERK11 | Special event factor for forecast value 11 | ERK11 | DEC | 7(3) | ERKXX | ||||
ERK12 | Special event factor for forecast value 12 | ERK12 | DEC | 7(3) | ERKXX | ||||
ERFIX | Fixing indicator for forecast event | ERFIX | CHAR | 1 | XFELD | ||||
PERKZ | Period Indicator | PERKZ | CHAR | 1 | PERKZ | PKZ |
Key field | Non-key field |
How do I retrieve data from SAP table EREF using ABAP code
The following ABAP code Example will allow you to do a basic selection on EREF to SELECT all data from the tableDATA: WA_EREF TYPE EREF.
SELECT SINGLE *
FROM EREF
INTO CORRESPONDING FIELDS OF WA_EREF
WHERE...
How to access SAP table EREF
Within an ECC or HANA version of SAP you can also view further information about EREF 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