Fields (15)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AccountingDocument | AccountingDocument | 2 |
| KEY | AccountingDocumentType | CostAnalysisResourceName | 1 |
| KEY | CompanyCode | CompanyCode | 3 |
| KEY | CostCenter | CostAnalysisResourceName,CostCenter | 2 |
| KEY | FiscalYear | FiscalYear | 3 |
| KEY | GLAccount | GLAccount | 1 |
| KEY | Ledger | Ledger | 3 |
| KEY | LedgerGLLineItem | LedgerGLLineItem | 2 |
| _CompanyCode | _CompanyCode | 3 | |
| _FiscalYear | _FiscalYear | 3 | |
| _JournalEntry | _JournalEntry | 2 | |
| _Ledger | _Ledger | 2 | |
| CompanyCodeCurrency | CompanyCodeCurrency | 2 | |
| PostingDate | PostingDate | 2 | |
| TransactionCurrency | TransactionCurrency | 2 |
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 JOURNALITEM (
ACCOUNTINGDOCUMENT,
ACCOUNTINGDOCUMENTTYPE,
COMPANYCODE,
COSTCENTER,
FISCALYEAR,
GLACCOUNT,
LEDGER,
LEDGERGLLINEITEM,
_COMPANYCODE,
_FISCALYEAR,
_JOURNALENTRY,
_LEDGER,
COMPANYCODECURRENCY,
POSTINGDATE,
TRANSACTIONCURRENCY,
PRIMARY KEY (ACCOUNTINGDOCUMENT, ACCOUNTINGDOCUMENTTYPE, COMPANYCODE, COSTCENTER, FISCALYEAR, GLACCOUNT, LEDGER, LEDGERGLLINEITEM)
);
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