Fields (19)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | CAReversalDocumentNumber | CAReversalDocumentNumber | 3 |
| _DocOriginCode | _DocOriginCode | 1 | |
| CAApplicationArea | CAApplicationArea | 5 | |
| CADocumentOriginCode | CADocumentOriginCode | 6 | |
| CADocumentOriginCodeName | CADocumentOriginCodeName | 1 | |
| CADocumentType | CADocumentType | 7 | |
| CAPostingDate | CAPostingDate | 7 | |
| CAReconciliationKey | CAReconciliationKey | 5 | |
| CAReferenceDocument | CAReferenceDocument | 6 | |
| CAReversedDocumentNumber | CAReversedDocumentNumber | 1 | |
| CATaxCompanyCode | CATaxCompanyCode | 4 | |
| CreatedByUser | CreatedByUser | 4 | |
| CreationDate | CreationDate | 6 | |
| CreationTime | CreationTime | 2 | |
| DocumentDate | DocumentDate | 6 | |
| LogicalSystem | LogicalSystem | 1 | |
| OriginalReferenceDocument | OriginalReferenceDocument | 1 | |
| ReferenceDocumentType | ReferenceDocumentType | 1 | |
| TransactionCurrency | DocumentOpenItemCurrency,TransactionCurrency | 4 |
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.
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE _DOCHEADER (
CAREVERSALDOCUMENTNUMBER,
_DOCORIGINCODE,
CAAPPLICATIONAREA,
CADOCUMENTORIGINCODE,
CADOCUMENTORIGINCODENAME,
CADOCUMENTTYPE,
CAPOSTINGDATE,
CARECONCILIATIONKEY,
CAREFERENCEDOCUMENT,
CAREVERSEDDOCUMENTNUMBER,
CATAXCOMPANYCODE,
CREATEDBYUSER,
CREATIONDATE,
CREATIONTIME,
DOCUMENTDATE,
LOGICALSYSTEM,
ORIGINALREFERENCEDOCUMENT,
REFERENCEDOCUMENTTYPE,
TRANSACTIONCURRENCY,
PRIMARY KEY (CAREVERSALDOCUMENTNUMBER)
);
Learn More
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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