ERCHC SAP (Invoicing/Reversal History: ERCH) Table details
Dictionary Type: Table
Description: Invoicing/Reversal History: ERCH
Description: Invoicing/Reversal History: ERCH
Table field list including key, data, relationships and ABAP select examples
ERCHC is a standard SAP Table which is used to store Invoicing/Reversal History: ERCH data and is available within R/3 SAP systems depending on the version and release level.
The ERCHC table consists of various fields, each holding specific information or linking keys about Invoicing/Reversal History: ERCH data available in SAP. These include BELNR (Number of a billing document), LFDNR (Sequence Number (Internal Use Only)), OPBEL (Number of print document), CPUDT (Day On Which Accounting Document Was Entered).. 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)
SAP ERCHC 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 (Internal Use Only) | LFDNR_KK | NUMC | 3 | NUMC3 | ||||
OPBEL | Number of print document | E_PRINTDOC | CHAR | 12 | Assigned to domain | ALPHA | E_PRINTDOC | E_PRINTDOC | |
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
INTOPBEL | Number of Print Document Used to Reverse Document | INTOPBEL | CHAR | 12 | Assigned to domain | ALPHA | E_PRINTDOC | ||
INTCPUDT | Date on which invoicing reversal was entered | INTCPUDT | DATS | 8 | DATUM | ||||
INTBUDAT | Posting date of invoicing reversal | INTBUDAT | DATS | 8 | DATUM | ||||
TOBRELEASD | Indicator: document not released yet | TOBRELEASD | CHAR | 1 | KENNZX | ||||
SIMULATED | Indicator: invoicing generates a simulated document | SIMULATED | CHAR | 1 | KENNZX | ||||
INVOICED | Indicator: document posted | INVOICED | CHAR | 1 | KENNZX | ||||
SPCANC | Adjustment Reversal | SPCANC | CHAR | 1 | SPCANC | ||||
STATUPD | Document Entered in Sales Statistics | STATUPD | CHAR | 1 | KENNZX | ||||
STATUPD_CANC | Reversal Document Entered in Sales Statistics | STATUPD_CANC | CHAR | 1 | KENNZX |
Key field | Non-key field |
How do I retrieve data from SAP table ERCHC using ABAP code
The following ABAP code Example will allow you to do a basic selection on ERCHC to SELECT all data from the tableDATA: WA_ERCHC TYPE ERCHC.
SELECT SINGLE *
FROM ERCHC
INTO CORRESPONDING FIELDS OF WA_ERCHC
WHERE...
How to access SAP table ERCHC
Within an ECC or HANA version of SAP you can also view further information about ERCHC 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