ERCH_RIVA SAP (Header Data for Billing Document Extract (RIVA)) Table details
Dictionary Type: Table
Description: Header Data for Billing Document Extract (RIVA)
Description: Header Data for Billing Document Extract (RIVA)
Table field list including key, data, relationships and ABAP select examples
ERCH_RIVA is a standard SAP Table which is used to store Header Data for Billing Document Extract (RIVA) data and is available within R/3 SAP systems depending on the version and release level.
The ERCH_RIVA table consists of various fields, each holding specific information or linking keys about Header Data for Billing Document Extract (RIVA) data available in SAP. These include BELNR (Number of a billing document), BUKRS (Company Code), SPARTE (Division), GPARTNER (Business Partner Number).. 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 ERCH_RIVA 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 | |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
SPARTE | Division | SPARTE | CHAR | 2 | Assigned to domain | SPART | SPA | ||
GPARTNER | Business Partner Number | BU_PARTNER | CHAR | 10 | Assigned to domain | ALPHA | BU_PARTNER | BPA | BUPA |
VERTRAG | Contract | VERTRAG | CHAR | 10 | Assigned to domain | ALPHA | VERTRAG | VTG | EVER |
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
ABRVORG | Billing Transaction | ABRVORG | CHAR | 2 | ABRVORG | ABV | |||
ENDABRPE | End of billing period | ENDABRPE | DATS | 8 | DATUM | ||||
FAEDAT | Due date for net payment | FAEDN_KK | DATS | 8 | DATUM | ||||
BERGRUND | Reason for credit memo/backbilling | BERGRUND | CHAR | 2 | BERGRUND | ||||
STORNODAT | Reversal date | STORNODAT | DATS | 8 | DATUM | STD | |||
INTBELNR | Number of a billing document | E_BELNR | CHAR | 12 | ALPHA | E_BELNR | BEL | ERCH | |
BEGABRPE | Start of billing period | BEGABRPE | DATS | 8 | DATUM | ||||
SIMULATION | Indicator: billing simulation | SIMULATION | CHAR | 2 | SIMULATION | SIY | |||
ZUORDDAA | Allocation date for billing | E_ZUORDDATABR | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP table ERCH_RIVA using ABAP code
The following ABAP code Example will allow you to do a basic selection on ERCH_RIVA to SELECT all data from the tableDATA: WA_ERCH_RIVA TYPE ERCH_RIVA.
SELECT SINGLE *
FROM ERCH_RIVA
INTO CORRESPONDING FIELDS OF WA_ERCH_RIVA
WHERE...
How to access SAP table ERCH_RIVA
Within an ECC or HANA version of SAP you can also view further information about ERCH_RIVA 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