EPREIH SAP (History Table for All Prices) Table details
Dictionary Type: Table
Description: History Table for All Prices
Description: History Table for All Prices
Table field list including key, data, relationships and ABAP select examples
EPREIH is a standard SAP Table which is used to store History Table for All Prices data and is available within R/3 SAP systems depending on the version and release level.
The EPREIH table consists of various fields, each holding specific information or linking keys about History Table for All Prices data available in SAP. These include TWAERS (Transaction Currency), PREIS (Price), PREISTYP (Price category), PREISTUF (Price level).. 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: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP EPREIH 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 | T000 | MANDT | |||
TWAERS | Transaction Currency | TWAERS | CUKY | 5 | TCURC | WAERS | PCU | ||
PREIS | Price | E_PREIS | CHAR | 10 | EPREI | ALPHA | E_PREIS | PRX | ISU_F4_PREIS |
PREISTYP | Price category | PREISTYP | CHAR | 1 | PREISTYP | PRY | |||
PREISTUF | Price level | PREISTUF | CHAR | 10 | Assigned to domain | PREISTUF | PRZ | ||
BISDATUM | Date at Which a Time Slice Expires | BISZEITSCH | DATS | 8 | DATUM | ||||
VONZONE | From-block | VONZONE | NUMC | 10 | E_ZONE | ||||
BISZONE | To-block | BISZONE | NUMC | 10 | E_ZONE | ||||
ABDATUM | Date from which time slice is valid | ABZEITSCH | DATS | 8 | DATUM | ||||
PREISBTR | Price amount | PRSBTR | DEC | 17(8) | PRSBTR | ||||
ZONB | Ignore consumption in the following block | E_ZONB | CHAR | 1 | KENNZX | ||||
MNGBASIS | Long quantity base for amount | MENGENBAS | DEC | 9(2) | MENGENBAS |
Key field | Non-key field |
How do I retrieve data from SAP table EPREIH using ABAP code
The following ABAP code Example will allow you to do a basic selection on EPREIH to SELECT all data from the tableDATA: WA_EPREIH TYPE EPREIH.
SELECT SINGLE *
FROM EPREIH
INTO CORRESPONDING FIELDS OF WA_EPREIH
WHERE...
How to access SAP table EPREIH
Within an ECC or HANA version of SAP you can also view further information about EPREIH 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