I_JournalEntry
Journal Entry
I_JournalEntry (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Journal Entry · Accounting and Financial Close
I_JournalEntry is a Basic CDS View (Dimension) that provides data about "Journal Entry" in SAP S/4HANA. It reads from 1 data source (P_BKPF_COM) and exposes 120 fields with key fields CompanyCode, FiscalYear, AccountingDocument. It has 26 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Accounting and Financial Close |
| Application Component | FI-FIO-GL-IS |
| Capabilities | Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source in SQL Select |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides access to all details of an accounting document header (database table BKPF) including the most important business entity company code. The most important attributes of business entities are included, such as accounting document type, accounting document category, document date and posting date.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul><li><p>What are the details of an accounting document header?</p></li> <li><p>Which accounting documents are posted during the year?</p></li> <li><p>What is the company code currency of the accounting document?</p></li> <li><p>Which accounting documents are created by a certain user?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_BKPF_COM | P_BKPF_COM | from |
Associations (26)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_AccountingDocumentTypeText | _AccountingDocumentTypeText | $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType |
| [0..*] | I_BusTransactionTypeText | _BusinessTransactionTypeText | $projection.BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType |
| [0..*] | I_FinancialManagementAreaText | _FinancialManagementAreaText | $projection.FinancialManagementArea = _FinancialManagementAreaText.FinancialManagementArea |
| [0..*] | I_LedgerText | _LedgerText | $projection.Ledger = _LedgerText.Ledger |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode |
| [0..1] | I_AccountingDocumentType | _AccountingDocumentType | $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType |
| [1..1] | I_Currency | _CompanyCodeCurrency | $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_Currency | _AdditionalCurrency1 | $projection.AdditionalCurrency1 = _AdditionalCurrency1.Currency |
| [0..1] | I_Currency | _AdditionalCurrency2 | $projection.AdditionalCurrency2 = _AdditionalCurrency2.Currency |
| [0..1] | I_FiscalYearPeriodForCmpnyCode | _FiscalPeriod | $projection.FiscalYear = _FiscalPeriod.FiscalYear and $projection.FiscalPeriod = _FiscalPeriod.FiscalPeriod and $projection.CompanyCode = _FiscalPeriod.CompanyCode |
| [0..1] | I_AccountingDocumentCategory | _AccountingDocumentCategory | $projection.AccountingDocumentCategory = _AccountingDocumentCategory.AccountingDocumentCategory |
| [0..1] | I_BusinessTransactionType | _BusinessTransactionType | $projection.BusinessTransactionType = _BusinessTransactionType.BusinessTransactionType |
| [0..1] | I_FinancialManagementArea | _FinancialManagementArea | $projection.FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea |
| [0..1] | I_ReferenceDocumentType | _ReferenceDocumentType | $projection.ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType |
| [0..1] | I_LogicalSystem | _LogicalSystem | $projection.LogicalSystem = _LogicalSystem.LogicalSystem |
| [0..1] | I_LogicalSystem | _RefDocumentLogicalSystem | $projection.ReferenceDocumentLogicalSystem = _RefDocumentLogicalSystem.LogicalSystem |
| [0..1] | I_User | _User | $projection.AccountingDocCreatedByUser = _User.UserID |
| [1..1] | I_Ledger | _Ledger | $projection.Ledger = _Ledger.Ledger |
| [0..1] | I_LedgerGroup | _LedgerGroup | $projection.LedgerGroup = _LedgerGroup.LedgerGroup |
| [0..1] | I_CurrencyRole | _AdditionalCurrency1Role | $projection.AdditionalCurrency1Role = _AdditionalCurrency1Role.CurrencyRole |
| [0..1] | I_CurrencyRole | _AdditionalCurrency2Role | $projection.AdditionalCurrency2Role = _AdditionalCurrency2Role.CurrencyRole |
| [1..*] | I_JournalEntryItem | _JournalEntryItem | $projection.CompanyCode = _JournalEntryItem.CompanyCode and $projection.FiscalYear = _JournalEntryItem.FiscalYear and $projection.AccountingDocument = _JournalEntryItem.AccountingDocument |
| [0..*] | I_OperationalAcctgDocItem | _OperationalAcctgDocItem | $projection.CompanyCode = _OperationalAcctgDocItem.CompanyCode and $projection.FiscalYear = _OperationalAcctgDocItem.FiscalYear and $projection.AccountingDocument = _OperationalAcctgDocItem.AccountingDocument |
| [0..*] | I_AddlLedgerOplAcctgDocItem | _AddlLedgerOplAcctgDocItem | $projection.CompanyCode = _AddlLedgerOplAcctgDocItem.CompanyCode and $projection.FiscalYear = _AddlLedgerOplAcctgDocItem.FiscalYear and $projection.AccountingDocument = _AddlLedgerOplAcctgDocItem.AccountingDocument |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | IFIJOURNALENT | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Journal Entry | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | AccountingDocument | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.sapObjectNodeType.name | JournalEntry | view |
Fields (120)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | bukrs | Company Code | |
| KEY | FiscalYear | gjahr | Settlement Year | |
| KEY | AccountingDocument | belnr | Journal Entry | |
| AccountingDocumentType | blart | Rep. rec. doc. type | ||
| DocumentDate | bldat | Journal Entry Date | ||
| PostingDate | budat | Posting Date | ||
| FiscalPeriod | Fiscal Period | |||
| AccountingDocumentCreationDate | cpudt | Accounting Document Entry Date | ||
| CreationTime | cputm | Creation Time | ||
| LastManualChangeDate | Calendar date of the last manual change in document | |||
| LastAutomaticChangeDate | Calendar date of the last automatic change in document | |||
| ExchangeRateDate | wwert | Exchange Rate Date | ||
| AccountingDocCreatedByUser | usnam | User that created the journal entry | ||
| TransactionCode | tcode | Undefined range (can be used for patch levels) | ||
| IntercompanyTransaction | bvorg | Intercompany Transaction Number | ||
| DocumentReferenceID | xblnr | Document Reference ID | ||
| RecurringAccountingDocument | dbblg | Recurring Journal Entry | ||
| ReverseDocument | stblg | Reverse Document | ||
| ReverseDocumentFiscalYear | stjah | Reverse Document Fiscal Year | ||
| AccountingDocumentHeaderText | bktxt | Document Header Text | ||
| TransactionCurrency | waers | Transaction Currency | ||
| AbsoluteExchangeRate | Absolute Exchange Rate | |||
| ExchangeRate | kursf | Exchange Rate | ||
| AccountingDocumentCategory | bstat | Journal Entry Category | ||
| NetAmountIsPosted | xnetb | Net Amount Is Posted | ||
| JrnlEntryIsPostedToPrevPeriod | xrueb | Journal Entry Is Posted To Previous Period | ||
| BusinessTransactionType | glvor | Business Transaction Category | ||
| BatchInputSession | grpid | Batch Input Session | ||
| ReferenceDocumentType | awtyp | Reference Document Type | ||
| OriginalReferenceDocument | awkey | RefKey GJE | ||
| FinancialManagementArea | fikrs | Financial Management Area | ||
| CompanyCodeCurrency | hwaer | Company Code Currency | ||
| AdditionalCurrency1 | hwae2 | Additional Currency 1 | ||
| AdditionalCurrency2 | hwae3 | Additional Currency 2 | ||
| ReversalIsPlanned | xstov | Indicator: Reversal Is Planned for Document | ||
| PlannedReversalDate | stodt | Planned Date for the Reversal Posting | ||
| TaxIsCalculatedAutomatically | xmwst | Tax Is Automatically Calculated | ||
| AdditionalCurrency1Role | curt2 | Currency Type of Second Local Currency | ||
| AdditionalCurrency2Role | curt3 | Currency Type of Third Local Currency | ||
| TaxBaseAmountIsNetAmount | xsnet | Tax Base Amount is Net Amount | ||
| SourceCompanyCode | ausbk | Source Company Code | ||
| LogicalSystem | awsys | Logical System | ||
| ReferenceDocumentLogicalSystem | Logical System of Reference Document | |||
| TaxAbsoluteExchangeRate | Absolute Tax Exchange Rate | |||
| TaxExchangeRate | txkrs | Tax Exchange Rate | ||
| CtryCrcyTxAbsoluteExchangeRate | Absolute Exch. Rate for Tax in Country/Region Cur. | |||
| ReversalReason | stgrd | Reason for Reversal or Inverse Posting | ||
| ParkedByUser | Name of User Who Parked This Document | |||
| ParkingDate | ppdat | Day of Parking of Accounting Document | ||
| ParkingTime | pptme | Time of Parking | ||
| Branch | brnch | Business Place | ||
| NmbrOfPages | numpg | Number of pages of invoice | ||
| IsDiscountDocument | adisc | Indicator: entry represents a discount document | ||
| Reference1InDocumentHeader | xref1_hd | Internal ID of Reference Key 1 in Document Header | ||
| Reference2InDocumentHeader | xref2_hd | Internal ID of Reference Key 2 in Document Header | ||
| InvoiceReceiptDate | reindat | Invoice Receipt Date | ||
| Ledger | rldnr | Ledger (Compat.) | ||
| LedgerGroup | ldgrp | Target Ledger Group | ||
| AlternativeReferenceDocument | Alternative Reference Document | |||
| TaxReportingDate | vatdate | Tax Reporting Date | ||
| TaxFulfillmentDate | fulfilldate | Tax Fulfillment Date | ||
| AccountingDocumentClass | doccat | Accounting Document Class | ||
| ExchangeRateType | kurst | Fix.rate type (EMU) | ||
| MarketDataAbsoluteExchangeRate | Absolute Market Data Exchange Rate | |||
| SenderLogicalSystem | logsystem_sender | Sender Logical System | ||
| SenderCompanyCode | bukrs_sender | Company Code in Sender System | ||
| SenderAccountingDocument | belnr_sender | Sender Journal Entry | ||
| SenderFiscalYear | gjahr_sender | Fiscal Year in Sender System | ||
| ReversalReferenceDocumentCntxt | aworg_rev | Reversal: Reference Organizations of Document to Be Reversed | ||
| ReversalReferenceDocument | awref_rev | Reversal: Reference Document No. of Document to Be Reversed | ||
| LatePaymentReason | penrc | Late Payment Reason | ||
| SalesDocumentCondition | knumv | Sales Document Condition | ||
| IsReversal | xreversing | Indicator: Item is Reversing Another Item | ||
| IsReversed | xreversed | Indicator: Item is Reversed | ||
| GLBusinessTransactionGroup | glbtgrp | General Ledger Business Transaction Group | ||
| CostAccountingValuationDate | co_valdt | Special Valuation Date for Cost Accounting | ||
| TaxCountry | TAX_COUNTRY_HD | Tax Country/Region | ||
| JournalEntryLastChangeDateTime | last_change_datetime | Journal Entry Last Change Date Time | ||
| JournalEntryIsSecondaryEntry | P_BKPF_COM | XSECONDARY | Journal Entry Is Secondary Entry | |
| JournalEntryReprocessingStatus | P_BKPF_COM | reprocessing_status_code | Journal Entry Reprocessing Status | |
| JrnlEntryCntrySpecificRef1 | glo_ref1_hd | Country/Region Specific Reference 1 in the Document | ||
| JrnlEntryCntrySpecificDate1 | glo_dat1_hd | Country/Region Specific Date 1 in the Document | ||
| JrnlEntryCntrySpecificRef2 | glo_ref2_hd | Country/Region Specific Reference 2 in the Document | ||
| JrnlEntryCntrySpecificDate2 | glo_dat2_hd | Country/Region Specific Date 2 in the Document | ||
| JrnlEntryCntrySpecificRef3 | glo_ref3_hd | Country/Region Specific Reference 3 in the Document | ||
| JrnlEntryCntrySpecificDate3 | glo_dat3_hd | Country/Region Specific Date 3 in the Document | ||
| JrnlEntryCntrySpecificRef4 | glo_ref4_hd | Country/Region Specific Reference 4 in the Document | ||
| JrnlEntryCntrySpecificDate4 | glo_dat4_hd | Country/Region Specific Date 4 in the Document | ||
| JrnlEntryCntrySpecificRef5 | glo_ref5_hd | Country/Region Specific Reference 5 in the Document | ||
| JrnlEntryCntrySpecificDate5 | glo_dat5_hd | Country/Region Specific Date 5 in the Document | ||
| JrnlEntryCntrySpecificBP1 | glo_bp1_hd | Country/Region specific Business Partner 1 in the Document | ||
| JrnlEntryCntrySpecificBP2 | glo_bp2_hd | Country/Region Specific Business Partner 2 in the Document | ||
| WithholdingTaxReportingDate | whtdate | Withholding Tax Reporting Date | ||
| EntryViewPostingControl | P_BKPF_COM | ev_postng_ctrl | Control Posting of Entry View | |
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _AdditionalCurrency1 | _AdditionalCurrency1 | |||
| _AdditionalCurrency2 | _AdditionalCurrency2 | |||
| _FiscalPeriod | _FiscalPeriod | |||
| _AccountingDocumentCategory | _AccountingDocumentCategory | |||
| _BusinessTransactionType | _BusinessTransactionType | |||
| _FinancialManagementArea | _FinancialManagementArea | |||
| _ReferenceDocumentType | _ReferenceDocumentType | |||
| _User | _User | |||
| _LogicalSystem | _LogicalSystem | |||
| _RefDocumentLogicalSystem | _RefDocumentLogicalSystem | |||
| _Ledger | _Ledger | |||
| _LedgerGroup | _LedgerGroup | |||
| _AdditionalCurrency1Role | _AdditionalCurrency1Role | |||
| _AdditionalCurrency2Role | _AdditionalCurrency2Role | |||
| _JournalEntryItem | _JournalEntryItem | |||
| _OperationalAcctgDocItem | _OperationalAcctgDocItem | |||
| _AddlLedgerOplAcctgDocItem | _AddlLedgerOplAcctgDocItem | |||
| _AccountingDocumentTypeText | _AccountingDocumentTypeText | |||
| _BusinessTransactionTypeText | _BusinessTransactionTypeText | |||
| _FinancialManagementAreaText | _FinancialManagementAreaText | |||
| _LedgerText | _LedgerText |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_JournalEntry.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_JournalEntry AS
SELECT
bukrs AS CompanyCode,
gjahr AS FiscalYear,
belnr AS AccountingDocument,
blart AS AccountingDocumentType,
bldat AS DocumentDate,
budat AS PostingDate,
cast( monat as fins_fiscalperiod ) AS FiscalPeriod,
cpudt AS AccountingDocumentCreationDate,
cputm AS CreationTime,
cast ( aedat as fis_lastmanualchangedate preserving type ) AS LastManualChangeDate,
cast ( upddt as fis_lastautomaticchangedate preserving type ) AS LastAutomaticChangeDate,
wwert AS ExchangeRateDate,
usnam AS AccountingDocCreatedByUser,
tcode AS TransactionCode,
bvorg AS IntercompanyTransaction,
xblnr AS DocumentReferenceID,
dbblg AS RecurringAccountingDocument,
stblg AS ReverseDocument,
stjah AS ReverseDocumentFiscalYear,
bktxt AS AccountingDocumentHeaderText,
waers AS TransactionCurrency,
cast(abs(kursf) as fis_absolute_exchangerate preserving type) AS AbsoluteExchangeRate,
kursf AS ExchangeRate,
bstat AS AccountingDocumentCategory,
xnetb AS NetAmountIsPosted,
xrueb AS JrnlEntryIsPostedToPrevPeriod,
glvor AS BusinessTransactionType,
grpid AS BatchInputSession,
awtyp AS ReferenceDocumentType,
awkey AS OriginalReferenceDocument,
fikrs AS FinancialManagementArea,
hwaer AS CompanyCodeCurrency,
hwae2 AS AdditionalCurrency1,
hwae3 AS AdditionalCurrency2,
xstov AS ReversalIsPlanned,
stodt AS PlannedReversalDate,
xmwst AS TaxIsCalculatedAutomatically,
curt2 AS AdditionalCurrency1Role,
curt3 AS AdditionalCurrency2Role,
xsnet AS TaxBaseAmountIsNetAmount,
ausbk AS SourceCompanyCode,
awsys AS LogicalSystem,
cast(awsys as fis_awsys preserving type) AS ReferenceDocumentLogicalSystem,
cast(abs(txkrs) as fis_absolute_txkrs_bkpf preserving type) AS TaxAbsoluteExchangeRate,
txkrs AS TaxExchangeRate,
cast(abs(ctxkrs) as ctrycrcytxabsoluteexchangerate preserving type) AS CtryCrcyTxAbsoluteExchangeRate,
stgrd AS ReversalReason,
cast(ppnam as fis_ppnam preserving type ) AS ParkedByUser,
ppdat AS ParkingDate,
pptme AS ParkingTime,
brnch AS Branch,
numpg AS NmbrOfPages,
adisc AS IsDiscountDocument,
xref1_hd AS Reference1InDocumentHeader,
xref2_hd AS Reference2InDocumentHeader,
reindat AS InvoiceReceiptDate,
rldnr AS Ledger,
ldgrp AS LedgerGroup,
cast(xblnr_alt as fis_xblnr_alt_alpha preserving type ) AS AlternativeReferenceDocument,
vatdate AS TaxReportingDate,
fulfilldate AS TaxFulfillmentDate,
doccat AS AccountingDocumentClass,
kurst AS ExchangeRateType,
cast(abs(kursx) as marketdataabsoluteexchangerate preserving type) AS MarketDataAbsoluteExchangeRate,
logsystem_sender AS SenderLogicalSystem,
bukrs_sender AS SenderCompanyCode,
belnr_sender AS SenderAccountingDocument,
gjahr_sender AS SenderFiscalYear,
aworg_rev AS ReversalReferenceDocumentCntxt,
awref_rev AS ReversalReferenceDocument,
penrc AS LatePaymentReason,
knumv AS SalesDocumentCondition,
xreversing AS IsReversal,
xreversed AS IsReversed,
glbtgrp AS GLBusinessTransactionGroup,
co_valdt AS CostAccountingValuationDate,
TAX_COUNTRY_HD AS TaxCountry,
last_change_datetime AS JournalEntryLastChangeDateTime,
P_BKPF_COM.XSECONDARY AS JournalEntryIsSecondaryEntry,
P_BKPF_COM.reprocessing_status_code AS JournalEntryReprocessingStatus,
glo_ref1_hd AS JrnlEntryCntrySpecificRef1,
glo_dat1_hd AS JrnlEntryCntrySpecificDate1,
glo_ref2_hd AS JrnlEntryCntrySpecificRef2,
glo_dat2_hd AS JrnlEntryCntrySpecificDate2,
glo_ref3_hd AS JrnlEntryCntrySpecificRef3,
glo_dat3_hd AS JrnlEntryCntrySpecificDate3,
glo_ref4_hd AS JrnlEntryCntrySpecificRef4,
glo_dat4_hd AS JrnlEntryCntrySpecificDate4,
glo_ref5_hd AS JrnlEntryCntrySpecificRef5,
glo_dat5_hd AS JrnlEntryCntrySpecificDate5,
glo_bp1_hd AS JrnlEntryCntrySpecificBP1,
glo_bp2_hd AS JrnlEntryCntrySpecificBP2,
whtdate AS WithholdingTaxReportingDate,
P_BKPF_COM.ev_postng_ctrl AS EntryViewPostingControl
FROM P_BKPF_COM
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType -- association [0..*]
LEFT OUTER JOIN I_BusTransactionTypeText AS _BusinessTransactionTypeText ON BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType -- association [0..*]
LEFT OUTER JOIN I_FinancialManagementAreaText AS _FinancialManagementAreaText ON FinancialManagementArea = _FinancialManagementAreaText.FinancialManagementArea -- association [0..*]
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency1 ON AdditionalCurrency1 = _AdditionalCurrency1.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _AdditionalCurrency2 ON AdditionalCurrency2 = _AdditionalCurrency2.Currency -- association [0..1]
LEFT OUTER JOIN I_FiscalYearPeriodForCmpnyCode AS _FiscalPeriod ON FiscalYear = _FiscalPeriod.FiscalYear AND FiscalPeriod = _FiscalPeriod.FiscalPeriod AND CompanyCode = _FiscalPeriod.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentCategory AS _AccountingDocumentCategory ON AccountingDocumentCategory = _AccountingDocumentCategory.AccountingDocumentCategory -- association [0..1]
LEFT OUTER JOIN I_BusinessTransactionType AS _BusinessTransactionType ON BusinessTransactionType = _BusinessTransactionType.BusinessTransactionType -- association [0..1]
LEFT OUTER JOIN I_FinancialManagementArea AS _FinancialManagementArea ON FinancialManagementArea = _FinancialManagementArea.FinancialManagementArea -- association [0..1]
LEFT OUTER JOIN I_ReferenceDocumentType AS _ReferenceDocumentType ON ReferenceDocumentType = _ReferenceDocumentType.ReferenceDocumentType -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON LogicalSystem = _LogicalSystem.LogicalSystem -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _RefDocumentLogicalSystem ON ReferenceDocumentLogicalSystem = _RefDocumentLogicalSystem.LogicalSystem -- association [0..1]
LEFT OUTER JOIN I_User AS _User ON AccountingDocCreatedByUser = _User.UserID -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger -- association [1..1]
LEFT OUTER JOIN I_LedgerGroup AS _LedgerGroup ON LedgerGroup = _LedgerGroup.LedgerGroup -- association [0..1]
LEFT OUTER JOIN I_CurrencyRole AS _AdditionalCurrency1Role ON AdditionalCurrency1Role = _AdditionalCurrency1Role.CurrencyRole -- association [0..1]
LEFT OUTER JOIN I_CurrencyRole AS _AdditionalCurrency2Role ON AdditionalCurrency2Role = _AdditionalCurrency2Role.CurrencyRole -- association [0..1]
LEFT OUTER JOIN I_JournalEntryItem AS _JournalEntryItem ON CompanyCode = _JournalEntryItem.CompanyCode AND FiscalYear = _JournalEntryItem.FiscalYear AND AccountingDocument = _JournalEntryItem.AccountingDocument -- association [1..*]
LEFT OUTER JOIN I_OperationalAcctgDocItem AS _OperationalAcctgDocItem ON CompanyCode = _OperationalAcctgDocItem.CompanyCode AND FiscalYear = _OperationalAcctgDocItem.FiscalYear AND AccountingDocument = _OperationalAcctgDocItem.AccountingDocument -- association [0..*]
LEFT OUTER JOIN I_AddlLedgerOplAcctgDocItem AS _AddlLedgerOplAcctgDocItem ON CompanyCode = _AddlLedgerOplAcctgDocItem.CompanyCode AND FiscalYear = _AddlLedgerOplAcctgDocItem.FiscalYear AND AccountingDocument = _AddlLedgerOplAcctgDocItem.AccountingDocument -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- 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
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA