EPREIH
History Table for All Prices
EPREIH is an SAP database table in S/4HANA. History Table for All Prices. It contains 12 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_UtilsPriceItem | view | from | BASIC | Utilities Price Blocks/Items |
| I_UtilsPriceItemHistory | view | from | BASIC | Utilities Price Blocks/Items History |
Fields (12)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | twaers | TWAERS | Trans. currency | |||
| KEY | preis | E_PREIS | Price | |||
| KEY | preistyp | PREISTYP | Price category | |||
| KEY | preistuf | PREISTUF | Price level | |||
| KEY | bisdatum | BISZEITSCH | Valid to | |||
| KEY | vonzone | VONZONE | From-block | |||
| biszone | BISZONE | To-block | ||||
| abdatum | ABZEITSCH | Valid From | ||||
| preisbtr | PRSBTR | Price amount | ||||
| zonb | E_ZONB | Ignore consump. | ||||
| mngbasis | MENGENBAS | Quantity base |
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.
-- History Table for All Prices
-- Category TRANSPARENT · Delivery class C
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE EPREIH (
MANDT, -- Client [MANDT]
TWAERS, -- Trans. currency [TWAERS]
PREIS, -- Price [E_PREIS]
PREISTYP, -- Price category [PREISTYP]
PREISTUF, -- Price level [PREISTUF]
BISDATUM, -- Valid to [BISZEITSCH]
VONZONE, -- From-block [VONZONE]
BISZONE, -- To-block [BISZONE]
ABDATUM, -- Valid From [ABZEITSCH]
PREISBTR, -- Price amount [PRSBTR]
ZONB, -- Ignore consump. [E_ZONB]
MNGBASIS, -- Quantity base [MENGENBAS]
PRIMARY KEY (MANDT, TWAERS, PREIS, PREISTYP, PREISTUF, BISDATUM, VONZONE)
);
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