ERCHC
Invoicing/Reversal History: ERCH
ERCHC is an SAP database table in S/4HANA. Invoicing/Reversal History: ERCH. It contains 16 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_UtilsBillgDocInvcgHistory | view | from | BASIC | Invoicing History of Billing Document |
| SHSM_ISU_F4_EA24 | view | inner | Document with Adjustment Reversal Search Help |
Fields (16)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | belnr | E_BELNR | Billing Doc.No. | |||
| KEY | lfdnr | LFDNR_KK | Sequence Number | |||
| opbel | E_PRINTDOC | Print document | ||||
| cpudt | CPUDT | Entered On | ||||
| budat | BUDAT | Posting Date | ||||
| intopbel | INTOPBEL | Rev. Doc. No. | ||||
| intcpudt | INTCPUDT | Rev. entered | ||||
| intbudat | INTBUDAT | Post. date rev. | ||||
| tobreleasd | TOBRELEASD | Not released | ||||
| simulated | SIMULATED | Doc. simulated | ||||
| invoiced | INVOICED | Document posted | ||||
| spcanc | SPCANC | Adjmnt Reversal | ||||
| statupd | STATUPD | Entrd in stats | ||||
| statupd_canc | STATUPD_CANC | Entrd in stats | ||||
| cologrp_inst | E_COLOGRP_INST | Coloc. Grp Inst |
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.
-- Invoicing/Reversal History: ERCH
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE ERCHC (
MANDT, -- Client [MANDT]
BELNR, -- Billing Doc.No. [E_BELNR]
LFDNR, -- Sequence Number [LFDNR_KK]
OPBEL, -- Print document [E_PRINTDOC]
CPUDT, -- Entered On [CPUDT]
BUDAT, -- Posting Date [BUDAT]
INTOPBEL, -- Rev. Doc. No. [INTOPBEL]
INTCPUDT, -- Rev. entered [INTCPUDT]
INTBUDAT, -- Post. date rev. [INTBUDAT]
TOBRELEASD, -- Not released [TOBRELEASD]
SIMULATED, -- Doc. simulated [SIMULATED]
INVOICED, -- Document posted [INVOICED]
SPCANC, -- Adjmnt Reversal [SPCANC]
STATUPD, -- Entrd in stats [STATUPD]
STATUPD_CANC, -- Entrd in stats [STATUPD_CANC]
COLOGRP_INST, -- Coloc. Grp Inst [E_COLOGRP_INST]
PRIMARY KEY (MANDT, BELNR, LFDNR)
);
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