EREV
Version in Purchasing
EREV is an SAP database table in S/4HANA. Version in Purchasing. It contains 5 fields. 5 CDS views read from this table.
CDS Views using this table (5)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_CntrlPurContrVersionHistory | view | from | BASIC | Basic View for CCTR Version History |
| I_PPS_PurgDocVersionHistory | view_entity | from | BASIC | Purchase Contract Version History |
| I_PPS_PurReqnItemVersion | view_entity | from | BASIC | Purchase Requestion Item Version |
| I_PurContrVersionHistory | view | from | BASIC | Purchase Contract Version History |
| R_PPS_PurOrdVersionHistory | view_entity | from | BASIC | Purchase Order Version History |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Version in Purchasing
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE EREV (
MANDT, -- Client [mandt]
BSTYP, -- Doc. Category [bstyp_dcm]
EDOKN, -- Purchasing Doc. [edokn]
EDOKP, -- Item [edokp]
REVNO, -- Version [revno]
PRIMARY KEY (MANDT, BSTYP, EDOKN, EDOKP, REVNO)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA