I_CADocumentGLItem
Document General Ledger Item
I_CADocumentGLItem (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Contract Accounting
I_CADocumentGLItem is a Basic CDS View that provides data about "Document General Ledger Item" in SAP S/4HANA. It reads from 1 data source (dfkkopk) and exposes 110 fields with key fields CADocumentNumber, CAGLItemNumber. It has 26 associations to related views.
SAP Help Documentation
| Category | CDS Views for Transaction Data |
|---|
Purpose
This CDS view represents the G/L line item in Contract Accounting . The most important data in the G/L line item structure of the Contract Accounting document is comprised of the document number, the reconciliation key, company code, the general ledger account, the amounts in transaction and local currencies and tax details. This CDS view provides the prerequisites for answering the following business questions: Which general ledger accounts are posted to in Contract Accounting ? In which transaction currencies are Contract Accounting documents posted?
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: F_KKKO_BUK ( Contract Accounting Company Code Authorization ) F_KKKO_GSB ( Contract Accounting Business Area Authorization ) F_FAGL_SEG ( General Ledger Segment Authorization )
This CDS view represents the G/L line item in Contract Accounting . The most important data in the G/L line item structure of the Contract Accounting document is comprised of the document number, the reconciliation key, company code, the general ledger account, the amounts in transaction and local currencies and tax details. This CDS view provides the prerequisites for answering the following business questions: Which general ledger accounts are posted to in Contract Accounting ? In which transaction currencies are Contract Accounting documents posted?
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: F_KKKO_BUK ( Contract Accounting Company Code Authorization ) F_KKKO_GSB ( Contract Accounting Business Area Authorization ) F_FAGL_SEG ( General Ledger Segment Authorization )
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Contract Accounting |
| Application Component | FI-CA |
| Capabilities | Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select |
| Package | Contract Accounting for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view represents the G/L line item in Contract Accounting. The most important data in the G/L line item structure of the Contract Accounting document is comprised of the document number, the reconciliation key, company code, the general ledger account, the amounts in transaction and local currencies and tax details.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which general ledger accounts are posted to in Contract Accounting?</p></li> <li><p>In which transaction currencies are Contract Accounting documents posted?</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 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 |
|---|---|---|
| dfkkopk | dfkkopk | from |
Associations (26)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [0..1] | I_CAAccountAssignmentCategory | _AcctAssgmtCat | $projection.CAAccountAssignmentCategory = _AcctAssgmtCat.CAAccountAssignmentCategory |
| [0..1] | I_CAAcctAssgmtDistrCode | _CAAcctAssgmtDistrCode | $projection.CACtrlFieldForAcctAssgmtDistr = _CAAcctAssgmtDistrCode.CACtrlFieldForAcctAssgmtDistr |
| [0..1] | I_CAAcctDetnTransKey | _CAAcctDetnTransKey | $projection.CATransactionKeyAccountDetn = _CAAcctDetnTransKey.CATransactionKeyAccountDetn |
| [0..1] | I_CAAltvExchangeRateSetCode | _CAAltvExchangeRateSetCode | $projection.CAAltvExchangeRateSetCode = _CAAltvExchangeRateSetCode.CAAltvExchangeRateSetCode |
| [1..1] | I_CADocumentHeader | _DocHeader | $projection.CADocumentNumber = _DocHeader.CADocumentNumber |
| [1..1] | I_CAEuroConversionStatus | _CAEuroConversionStatus | $projection.CAStatusOfEuroConversion = _CAEuroConversionStatus.CAStatusOfEuroConversion |
| [0..1] | I_CANonDcblInputTaxCode | _CANonDcblInputTaxCode | $projection.CAContainsNonDeductibleInptTax = _CANonDcblInputTaxCode.CAContainsNonDeductibleInptTax |
| [0..1] | I_CAOtherTaxCode | _OtherTaxCode | $projection.CAOtherTaxCode = _OtherTaxCode.CAOtherTaxCode and $projection.country = _OtherTaxCode.Country |
| [0..1] | I_CAIntPostingReasonCode | _CAIntPostingReasonCode | $projection.CAInternalPostingReasonCode = _CAIntPostingReasonCode.CAInternalPostingReasonCode |
| [0..1] | I_CANegativePostingCtrlCode | _CANegativePostingCtrlCode | $projection.CANegativePostingControlCode = _CANegativePostingCtrlCode.CANegativePostingControlCode |
| [0..1] | I_CAWithholdingTaxSupplement | _WhldgTaxSuplmnt | $projection.CAWithholdingTaxSupplement = _WhldgTaxSuplmnt.CAWithholdingTaxSupplement and $projection.country = _WhldgTaxSuplmnt.Country |
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | $projection.chartofaccounts = _ChartOfAccounts.ChartOfAccounts |
| [1..1] | I_CompanyCode | _CompCode | $projection.CompanyCode = _CompCode.CompanyCode |
| [0..1] | I_CompanyCode | _CompCodeCashFlow | $projection.CACashFlowCompanyCode = _CompCodeCashFlow.CompanyCode |
| [0..1] | I_Country | _Country | $projection.country = _Country.Country |
| [0..1] | I_Country | _TaxCountry | $projection.TaxCountry = _TaxCountry.Country |
| [0..1] | I_Currency | _GLPostingCurrency | $projection.CAGLPostingCurrency = _GLPostingCurrency.Currency |
| [1..1] | I_GLAccountInChartOfAccounts | _GLAccount | $projection.chartofaccounts = _GLAccount.ChartOfAccounts and $projection.GLAccount = _GLAccount.GLAccount |
| [1..1] | I_GLAccountInCompanyCode | _GLAccountInCompanyCode | $projection.GLAccount = _GLAccountInCompanyCode.GLAccount and $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode |
| [0..1] | I_GLAccountInChartOfAccounts | _CashFlowAccount | $projection.chartofaccounts = _CashFlowAccount.ChartOfAccounts and $projection.CACashFlowAccount = _CashFlowAccount.GLAccount |
| [0..*] | I_ProfitCenter | _ProfitCenter | $projection.ProfitCenter = _ProfitCenter.ProfitCenter |
| [0..1] | I_Partnercompany | _PartnerCompany | $projection.PartnerCompany = _PartnerCompany.PartnerCompany |
| [0..1] | I_Segment | _Segment | $projection.Segment = _Segment.Segment |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [1..1] | E_CADocumentGLItem | _Extension | $projection.CADocumentNumber = _Extension.CADocumentNumber and $projection.CAGLItemNumber = _Extension.CAGLItemNumber |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | ICADOCGLITEM | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Document General Ledger Item | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view |
Fields (110)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADocumentNumber | opbel | Number of a FI-CA Document | |
| KEY | CAGLItemNumber | opupk | Item Number in FI-CA Document | |
| CompanyCode | bukrs | Company Code | ||
| BusinessArea | Business Area | |||
| BusinessPlace | Business place | |||
| Segment | Segment for Segmental Reporting | |||
| ProfitCenter | Profit Centers | |||
| PartnerCompany | Company ID of Trading Partner | |||
| GLAccount | Transfer acct | |||
| ValueDate | valut | Value date | ||
| CAExchangeRate | Absolute Exchange Rate | |||
| ExchRateIsIndirectQuotation | Exchange Rate Is Indirect Quotation | |||
| TransactionCurrency | _DocHeader | TransactionCurrency | Transaction Currency | |
| Currency | _CompCode | Currency | Valuation Crcy | |
| CAAmountInLocalCurrency | betrh | Amount In Local Currency With +/- Signs | ||
| CAAmountInTransactionCurrency | betrw | Amount in Transaction Currency with +/- Sign | ||
| CAAmountInSecondCurrency | betr2 | Amount in Second Parallel Currency with +/- Sign | ||
| CAAmountInThirdCurrency | betr3 | Amount in Third Parallel Currency with +/- Sign | ||
| CAAccountAssignmentCategory | kontt | Account Assignment Category | ||
| CAAccountAssignment | kontl | Acct assnmnt string for industry-specific account assngments | ||
| CostCenter | kostl | Substitute CC | ||
| SalesOrder | kdauf | Sales Order Number | ||
| SalesOrderItem | kdpos | Item Number in Sales Order | ||
| CAReconciliationKey | fikey | Reconciliation Key for General Ledger | ||
| CAInternalPostingReasonCode | intbu | Reason for Automatic Creation of Posting | ||
| CANegativePostingControlCode | negbu | Control Field for Negative Posting | ||
| CAGLPostingCurrency | pswsl | Update Currency for General Ledger Transaction Figures | ||
| LedgerGroup | Target Ledger Group | |||
| ProfitabilitySegment_2 | Profitability Segment | |||
| ProfitabilitySegmentChanges | pasubnr | Profitability Segment Changes (CO-PA) | ||
| PlanningLevel | Planning Level | |||
| CARepetitionGroup | whgrp | Repetition group | ||
| CATransactionKeyAccountDetn | ktosl | Transaction key for account determination | ||
| ConditionType | kschl | Condition Type | ||
| CAIsSeparateLineItemInGL | xeiph | Create Line Item in General Ledger | ||
| QuantityInBaseUnit | menge | WarrCountValue | ||
| BaseUnit | meins | Base Unit of Measure | ||
| TaxCode | Tax on Sales/Purchases Code | |||
| CASupplementaryTaxCode | mwszkz | Supplementary Tax | ||
| CAWithholdingTaxSupplement | qssew | Withholding Tax Supplement | ||
| CAOtherTaxCode | strkz | Tax Code for Other Taxes | ||
| CAGroupingCodeForTaxItems | txgrp | Grouping Key for Tax Items | ||
| TaxJurisdiction | Tax Jurisdiction | |||
| CAEnteredTaxJurisdictionCode | txjco | Tax Jurisdiction Code (Entered value) | ||
| CATaxJurisdictionLevelCounter | txcnt | Level Counter for Multi-Level Taxes in Tax Jurisdiction | ||
| CATaxExceptionID | txexk | Key for tax exception | ||
| CATaxDate | txdat | Decisive Date for Calculating Taxes | ||
| CATaxBaseAmountInLocalCurrency | sbash | Amount Subject to Tax in Local Currency (Tax Base Amount) | ||
| CATaxBaseAmount | sbasw | Amount Subject to Tax in Transaction Currency (Tax Base Amt) | ||
| CANonDeductibleTxAmtInDocCrcy | ndtax | Non-Deductible Tax Amount in Document Currency | ||
| CANonDeductibleTxAmtInLoclCrcy | ndtxh | Non-Deductible Tax Amount in Local Currency | ||
| CAContainsNonDeductibleInptTax | xndtx | Contains Non-Deductible Input Tax | ||
| CATaxRate | stprz | Tax rate | ||
| GrossIncomeTaxActivityCode | gricd | Activity Code for Gross Income Tax | ||
| EmploymentTaxDistributionType | gityp | Distribution Type for Employment Tax | ||
| CATaxPortionInLocalCurrency | sctax | Tax Portion in FI-CA Local Currency | ||
| CATaxPortionInTransCurrency | sttax | Tax Portion in Document Currency | ||
| CATaxIsCalculatedExternally | xustpd | Tax on Sales/Purchases Was Calculated by Document | ||
| CAAltvExchangeRateForTaxItem | xdexr | Alternative Exchange Rate for Tax Items | ||
| CATaxItemHasAltvExchangeRate | xdexr | Alternative Exchange Rate for Tax Items | ||
| CAAltvExchangeRateSetCode | xdexr | Alternative Exchange Rate for Tax Items | ||
| TaxCountry | tax_country | Tax Reporting Country/Region | ||
| TransToTaxCntryCrcyCnvrsnFctr | taxc_factor | Factor for Conversion into Tax Country/Region Currency | ||
| CAIsCashFlowItem | xcsha | Document Contains Assignments from Cash Flows | ||
| CACashFlowAccount | reacc | Originating Account in Cash Flow Anlaysis | ||
| CACashFlowCompanyCode | rebuk | Partner Company Code for Cash Flow Analysis | ||
| HouseBank | House Bank Key | |||
| HouseBankAccount | House Bank Account | |||
| QuantitySignCode | squan | Quantity +/- Sign | ||
| BankStatementShortID | kukey | Short Key of Account Statement | ||
| BankStatementItem | esnum | Memo Record Number (Line Item Number in Bank Statement) | ||
| CashManagementLinkType | ltype | Link Type | ||
| CashManagementLink | lnkid | Link ID | ||
| CAItmIsCreatedByPostgInterface | xintb | Item Created by Posting Interface | ||
| CAProfitAnalysisUpdtIsDirect | xcopa | CO-PA update done directly | ||
| CAInvcgGroupingKey | invgr | Grouping Key for Invoicing | ||
| CACtrlFieldForAcctAssgmtDistr | aasta | Control Field for Account Assignment Distributions | ||
| CAUpdateMethodForFundsMgmt | fmtyp | Update Method for FM - FI-CA Integration | ||
| OriginalFinancialMgmtArea | origfikrs | Original FM Area for FM Account Assignment | ||
| OriglYearForFinMgmtAcctAssgmt | budgetyear | Original Year for FM Account Assignment | ||
| EarmarkedFunds | kblnr | Document Number for Earmarked Funds | ||
| EarmarkedFundsDocument | kblnr | Document Number for Earmarked Funds | ||
| ChartOfAccounts | _CompCode | ChartOfAccounts | Chart of Accounts | |
| Country | _CompCode | Country | Country/Region Key | |
| TaxCalculationProcedure | Procedure (Pricing, Output Control, Acct. Det., Costing,...) | |||
| _AcctAssgmtCat | _AcctAssgmtCat | |||
| _BaseUnit | _BaseUnit | |||
| _BusinessArea | _BusinessArea | |||
| _CAAcctAssgmtDistrCode | _CAAcctAssgmtDistrCode | |||
| _CAAcctDetnTransKey | _CAAcctDetnTransKey | |||
| _CAAltvExchangeRateSetCode | _CAAltvExchangeRateSetCode | |||
| _CAEuroConversionStatus | _CAEuroConversionStatus | |||
| _CAIntPostingReasonCode | _CAIntPostingReasonCode | |||
| _CANegativePostingCtrlCode | _CANegativePostingCtrlCode | |||
| _CANonDcblInputTaxCode | _CANonDcblInputTaxCode | |||
| _CashFlowAccount | _CashFlowAccount | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _CompCode | _CompCode | |||
| _CompCodeCashFlow | _CompCodeCashFlow | |||
| _Country | _Country | |||
| _DocHeader | _DocHeader | |||
| _GLAccount | _GLAccount | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _GLPostingCurrency | _GLPostingCurrency | |||
| _OtherTaxCode | _OtherTaxCode | |||
| _ProfitCenter | _ProfitCenter | |||
| _PartnerCompany | _PartnerCompany | |||
| _Segment | _Segment | |||
| _TaxCountry | _TaxCountry | |||
| _WhldgTaxSuplmnt | _WhldgTaxSuplmnt |
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_CADocumentGLItem.
-- 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_CADocumentGLItem AS
SELECT
opbel AS CADocumentNumber,
opupk AS CAGLItemNumber,
bukrs AS CompanyCode,
cast(cast(gsber as abap.char(4)) as fis_rbusa preserving type ) AS BusinessArea,
cast(cast(bupla as abap.char(4)) as farp_bupla preserving type ) AS BusinessPlace,
cast(cast(segment as abap.char(10)) as fb_segment preserving type ) AS Segment,
cast(cast(prctr as abap.char(10)) as fis_prctr preserving type ) AS ProfitCenter,
cast(vbund as fis_rassc preserving type ) AS PartnerCompany,
cast(hkont as fis_racct preserving type ) AS GLAccount,
valut AS ValueDate,
cast( abs( kursf ) as fis_absolute_exchangerate preserving type ) AS CAExchangeRate,
cast( case when kursf < 0 then 'X' else ' ' end as fis_indirect_quotation preserving type ) AS ExchRateIsIndirectQuotation,
_DocHeader.TransactionCurrency AS TransactionCurrency,
_CompCode.Currency AS Currency,
betrh AS CAAmountInLocalCurrency,
betrw AS CAAmountInTransactionCurrency,
betr2 AS CAAmountInSecondCurrency,
betr3 AS CAAmountInThirdCurrency,
kontt AS CAAccountAssignmentCategory,
kontl AS CAAccountAssignment,
kostl AS CostCenter,
kdauf AS SalesOrder,
kdpos AS SalesOrderItem,
fikey AS CAReconciliationKey,
intbu AS CAInternalPostingReasonCode,
negbu AS CANegativePostingControlCode,
pswsl AS CAGLPostingCurrency,
cast(ldgrp as fagl_ldgrp preserving type ) AS LedgerGroup,
cast(paobjnr as rkeobjnr_char ) AS ProfitabilitySegment_2,
pasubnr AS ProfitabilitySegmentChanges,
cast(fdlev as fdlev preserving type ) AS PlanningLevel,
whgrp AS CARepetitionGroup,
ktosl AS CATransactionKeyAccountDetn,
kschl AS ConditionType,
xeiph AS CAIsSeparateLineItemInGL,
menge AS QuantityInBaseUnit,
meins AS BaseUnit,
cast(mwskz as fis_mwskz preserving type ) AS TaxCode,
mwszkz AS CASupplementaryTaxCode,
qssew AS CAWithholdingTaxSupplement,
strkz AS CAOtherTaxCode,
txgrp AS CAGroupingCodeForTaxItems,
cast(txjcd as fis_txjcd preserving type ) AS TaxJurisdiction,
txjco AS CAEnteredTaxJurisdictionCode,
txcnt AS CATaxJurisdictionLevelCounter,
txexk AS CATaxExceptionID,
txdat AS CATaxDate,
sbash AS CATaxBaseAmountInLocalCurrency,
sbasw AS CATaxBaseAmount,
ndtax AS CANonDeductibleTxAmtInDocCrcy,
ndtxh AS CANonDeductibleTxAmtInLoclCrcy,
xndtx AS CAContainsNonDeductibleInptTax,
stprz AS CATaxRate,
gricd AS GrossIncomeTaxActivityCode,
gityp AS EmploymentTaxDistributionType,
sctax AS CATaxPortionInLocalCurrency,
sttax AS CATaxPortionInTransCurrency,
xustpd AS CATaxIsCalculatedExternally,
xdexr AS CAAltvExchangeRateForTaxItem,
xdexr AS CATaxItemHasAltvExchangeRate,
xdexr AS CAAltvExchangeRateSetCode,
tax_country AS TaxCountry,
taxc_factor AS TransToTaxCntryCrcyCnvrsnFctr,
xcsha AS CAIsCashFlowItem,
reacc AS CACashFlowAccount,
rebuk AS CACashFlowCompanyCode,
cast(hbkid as farp_hbkid preserving type ) AS HouseBank,
cast(hktid as fac_hktid preserving type ) AS HouseBankAccount,
squan AS QuantitySignCode,
kukey AS BankStatementShortID,
esnum AS BankStatementItem,
ltype AS CashManagementLinkType,
lnkid AS CashManagementLink,
xintb AS CAItmIsCreatedByPostgInterface,
xcopa AS CAProfitAnalysisUpdtIsDirect,
invgr AS CAInvcgGroupingKey,
aasta AS CACtrlFieldForAcctAssgmtDistr,
fmtyp AS CAUpdateMethodForFundsMgmt,
origfikrs AS OriginalFinancialMgmtArea,
budgetyear AS OriglYearForFinMgmtAcctAssgmt,
kblnr AS EarmarkedFunds,
kblnr AS EarmarkedFundsDocument,
_CompCode.ChartOfAccounts AS ChartOfAccounts,
_CompCode.Country AS Country,
_CompCode._Country.TaxCalculationProcedure AS TaxCalculationProcedure
FROM dfkkopk
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_CAAccountAssignmentCategory AS _AcctAssgmtCat ON CAAccountAssignmentCategory = _AcctAssgmtCat.CAAccountAssignmentCategory -- association [0..1]
LEFT OUTER JOIN I_CAAcctAssgmtDistrCode AS _CAAcctAssgmtDistrCode ON CACtrlFieldForAcctAssgmtDistr = _CAAcctAssgmtDistrCode.CACtrlFieldForAcctAssgmtDistr -- association [0..1]
LEFT OUTER JOIN I_CAAcctDetnTransKey AS _CAAcctDetnTransKey ON CATransactionKeyAccountDetn = _CAAcctDetnTransKey.CATransactionKeyAccountDetn -- association [0..1]
LEFT OUTER JOIN I_CAAltvExchangeRateSetCode AS _CAAltvExchangeRateSetCode ON CAAltvExchangeRateSetCode = _CAAltvExchangeRateSetCode.CAAltvExchangeRateSetCode -- association [0..1]
LEFT OUTER JOIN I_CADocumentHeader AS _DocHeader ON CADocumentNumber = _DocHeader.CADocumentNumber -- association [1..1]
LEFT OUTER JOIN I_CAEuroConversionStatus AS _CAEuroConversionStatus ON CAStatusOfEuroConversion = _CAEuroConversionStatus.CAStatusOfEuroConversion -- association [1..1]
LEFT OUTER JOIN I_CANonDcblInputTaxCode AS _CANonDcblInputTaxCode ON CAContainsNonDeductibleInptTax = _CANonDcblInputTaxCode.CAContainsNonDeductibleInptTax -- association [0..1]
LEFT OUTER JOIN I_CAOtherTaxCode AS _OtherTaxCode ON CAOtherTaxCode = _OtherTaxCode.CAOtherTaxCode AND country = _OtherTaxCode.Country -- association [0..1]
LEFT OUTER JOIN I_CAIntPostingReasonCode AS _CAIntPostingReasonCode ON CAInternalPostingReasonCode = _CAIntPostingReasonCode.CAInternalPostingReasonCode -- association [0..1]
LEFT OUTER JOIN I_CANegativePostingCtrlCode AS _CANegativePostingCtrlCode ON CANegativePostingControlCode = _CANegativePostingCtrlCode.CANegativePostingControlCode -- association [0..1]
LEFT OUTER JOIN I_CAWithholdingTaxSupplement AS _WhldgTaxSuplmnt ON CAWithholdingTaxSupplement = _WhldgTaxSuplmnt.CAWithholdingTaxSupplement AND country = _WhldgTaxSuplmnt.Country -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON chartofaccounts = _ChartOfAccounts.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCodeCashFlow ON CACashFlowCompanyCode = _CompCodeCashFlow.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_Country AS _TaxCountry ON TaxCountry = _TaxCountry.Country -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GLPostingCurrency ON CAGLPostingCurrency = _GLPostingCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccount ON chartofaccounts = _GLAccount.ChartOfAccounts AND GLAccount = _GLAccount.GLAccount -- association [1..1]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON GLAccount = _GLAccountInCompanyCode.GLAccount AND CompanyCode = _GLAccountInCompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _CashFlowAccount ON chartofaccounts = _CashFlowAccount.ChartOfAccounts AND CACashFlowAccount = _CashFlowAccount.GLAccount -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_Partnercompany AS _PartnerCompany ON PartnerCompany = _PartnerCompany.PartnerCompany -- association [0..1]
LEFT OUTER JOIN I_Segment AS _Segment ON Segment = _Segment.Segment -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN E_CADocumentGLItem AS _Extension ON CADocumentNumber = _Extension.CADocumentNumber AND CAGLItemNumber = _Extension.CAGLItemNumber -- association [1..1]
;
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