EREF SAP (Assignment Table: Object/Event) Table details

Dictionary Type: Table
Description: Assignment Table: Object/Event




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
ERENRSpecial event number (forecast) ERENRCHAR8ERENRERE
OBJNRObject number (forecast) OBJNRCHAR18OBJNROBN
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
ZUODTAssignment date of the events in the forecast DZUODTDATS8DATUM
ERK01Special event factor for forecast value 1 ERK01DEC7(3) ERKXX
ERK02Special event factor for forecast value 2 ERK02DEC7(3) ERKXX
ERK03Special event factor for forecast value 3 ERK03DEC7(3) ERKXX
ERK04Special event factor for forecast value 4 ERK04DEC7(3) ERKXX
ERK05Special event factor for forecast value 5 ERK05DEC7(3) ERKXX
ERK06Special event factor for forecast value 6 ERK06DEC7(3) ERKXX
ERK07Special event factor for forecast value 7 ERK07DEC7(3) ERKXX
ERK08Special event factor for forecast value 8 ERK08DEC7(3) ERKXX
ERK09Special event factor for forecast value 9 ERK09DEC7(3) ERKXX
ERK10Special event factor for forecast value 10 ERK10DEC7(3) ERKXX
ERK11Special event factor for forecast value 11 ERK11DEC7(3) ERKXX
ERK12Special event factor for forecast value 12 ERK12DEC7(3) ERKXX
ERFIXFixing indicator for forecast event ERFIXCHAR1XFELD
PERKZPeriod Indicator PERKZCHAR1PERKZPKZ

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