DBERCHV SAP (Consumption History) Table details
Dictionary Type: Table
Description: Consumption History
Description: Consumption History
Table field list including key, data, relationships and ABAP select examples
DBERCHV is a standard SAP Table which is used to store Consumption History data and is available within R/3 SAP systems depending on the version and release level.
The DBERCHV table consists of various fields, each holding specific information or linking keys about Consumption History data available in SAP. These include BELNR (Number of a billing document), LFDNR (Sequence Number), ERCHV_ORIG (Indicator: Origin of ERCHV), AB (Date from which time slice is valid).. 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: Can be enhanced (character-type or numeric)
SAP DBERCHV 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 | Assigned to domain | MANDT | |||
BELNR | Number of a billing document | E_BELNR | CHAR | 12 | ALPHA | E_BELNR | BEL | ERCH | |
LFDNR | Sequence Number | LFDNR | CHAR | 3 | LFDNR | ||||
ERCHV_ORIG | Indicator: Origin of ERCHV | ORIG_KZ | CHAR | 1 | ORIG_KZ | ||||
AB | Date from which time slice is valid | ABZEITSCH | DATS | 8 | DATUM | ||||
BIS | Date at Which a Time Slice Expires | BISZEITSCH | DATS | 8 | DATUM | ||||
LOGIKZW | Logical register number | LOGIKZW | NUMC | 18 | LOGIKZW | ||||
TIMTYP | Time category (days or months) | TIMTYP | CHAR | 1 | TIMTYP | ||||
PREISTYP | Price category | PREISTYP | CHAR | 1 | PREISTYP | PRY | |||
PREIS | Price | E_PREIS | CHAR | 10 | Assigned to domain | ALPHA | E_PREIS | PRX | ISU_F4_PREIS |
MASSBILL | Unit of measurement for billing | E_MASSBILL | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ISTABLART | Meter reading type | ISTABLART | CHAR | 2 | Assigned to domain | ISTABLART | IAL | ISU_MR_ISTABLART | |
ISTABLARTVA | Meter reading type | ISTABLART | CHAR | 2 | Assigned to domain | ISTABLART | IAL | ISU_MR_ISTABLART | |
ABLESGR | Meter reading reason | ABLESGR | CHAR | 2 | Assigned to domain | ABLESGR | ABLGRD | ||
ABLESGRV | Previous meter reading reason | ABLESGRV | CHAR | 2 | Assigned to domain | ABLESGR | |||
OPERAND | Operand | E_OPERAND | CHAR | 10 | Assigned to domain | E_OPERAND | OPE | H_TE221 | |
STTARIF | Statistical rate | STTARIF | CHAR | 10 | STTARIFNR | ||||
BRENNWTA | Calorific value to be billed | BRENNWTA | DEC | 8(6) | BRENNWT | ||||
ZUSTZAHL | Fixed Volume Correction Factor | E_ZUSZAHL | DEC | 9(6) | E_ZUSZAHL | ||||
ARTMENGE | Classification of billed quantity for statistics | ARTMENGE | CHAR | 1 | ARTMENGE | ||||
UMFAKTOR | Gas Conversion Factor | UMFAKTOR | DEC | 17(12) | UMFAKTOR | ||||
NETTOBTR | Net amount of billing line item | NETTOBTR | CURR | 13(2) | WRTV7 | ||||
TWAERS | Transaction Currency | TWAERS | CUKY | 5 | TCURC | WAERS | PCU | ||
ABLBELNR | Internal ID for meter reading document | ABLBELNR | CHAR | 20 | Assigned to domain | ALPHA | ABLBELNR | EAB | |
BELZEILE | Billing line item for billing documents | BELZEILE | NUMC | 6 | LFDNR6 | ||||
ERCHV_BW_REL | Not Relevant for Consumption History in BW | ERCHV_BW_REL | CHAR | 1 | KENNZX | ||||
SUBINST | Secondary Installation: Key | SUBINST | CHAR | 10 | Assigned to domain | ALPHA | ANLAGE | ||
SUBABRDATS | Scheduled Billing Date of Secondary Installation | SUBABRDATS | DATS | 8 | DATUM | ||||
SUBABRVORG | Billing Transaction for Secondary Installation | SUBABRVORG | CHAR | 2 | ABRVORG | ||||
EZ_ZWSTAND | Meter Reading Recorded | EZ_ZWSTAND | FLTP | 16(16) | EZ_ZWSTAND | ||||
EZ_ZWSTNDAB | Billed Meter Reading | EZ_ZWSTNDAB | FLTP | 16(16) | EZ_ZWSTNDAB | ||||
EZ_ZWSTVOR | Previous Meter Reading | EZ_ZWSTVOR | FLTP | 16(16) | EZ_ZWSTVOR | ||||
EZ_ABRMENGE | Billing Quantity | EZ_ABRMENGE | FLTP | 16(16) | EZ_ABRMENGE | ||||
EZ_ZWSTDIFF | Meter Reading Difference | EZ_ZWSTDIFF | FLTP | 16(16) | EZ_ZWSTDIFF |
Key field | Non-key field |
How do I retrieve data from SAP table DBERCHV using ABAP code
The following ABAP code Example will allow you to do a basic selection on DBERCHV to SELECT all data from the tableDATA: WA_DBERCHV TYPE DBERCHV.
SELECT SINGLE *
FROM DBERCHV
INTO CORRESPONDING FIELDS OF WA_DBERCHV
WHERE...
How to access SAP table DBERCHV
Within an ECC or HANA version of SAP you can also view further information about DBERCHV 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