EREVHEADER SAP (Version in Purchasing: Header) Structure details

Dictionary Type: Structure
Description: Version in Purchasing: Header




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




Structure field list including key, data, relationships and ABAP select examples

EREVHEADER 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 "Version in Purchasing: Header" 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_EREVHEADER TYPE EREVHEADER.

The EREVHEADER table consists of various fields, each holding specific information or linking keys about Version in Purchasing: Header data available in SAP. These include EDOKN (Object Number in Purchasing), EDOKP (Purchasing object: item), BSART (Purchasing Document Type), EKORG (Purchasing Organization).. 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 EREVHEADER 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
BSTYPPurchasing Document Category BSTYP_DCMCHAR1BSTYP_DCM
EDOKNObject Number in Purchasing EDOKNCHAR10ALPHAEDOKN
EDOKPPurchasing object: item EDOKPNUMC5Assigned to domainEBELP
BSARTPurchasing Document Type ESARTCHAR4Assigned to domainBSARTBSA
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
ACTIVVersion Management in Purchasing Active ACTIV_DCMCHAR1XFELD
EXISTDCM Purchasing document exists in database EXIST_DCMCHAR1CHAR1
ACTIVITYActivity category in SAP transaction AKTYPCHAR1AKTYP
PREISANZIndicator: Authorization to display price data PREISANZCHAR1X
COMPLETEVersion always completed COMPLETE_DCMCHAR1XFELD
REVNOVersion number in Purchasing REVNOCHAR8ALPHAREVNO
EXTREQExternally Generated Purchase Requisition EXTREQCHAR1XFELD
ESTKZCreation Indicator (Purchase Requisition/Schedule Lines) ESTKZCHAR1ESTKZ

Key field Non-key field



How do I retrieve data from SAP structure EREVHEADER using ABAP code?

As EREVHEADER 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 EREVHEADER as there is no data to select.

How to access SAP table EREVHEADER

Within an ECC or HANA version of SAP you can also view further information about EREVHEADER 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!