P_MatrixCnsldtnFoundation
P_MatrixCnsldtnFoundation is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnVersion, P_MJEL_CnsldtnFoundation) and exposes 181 fields with key fields ConsolidationLedger, ConsolidationDimension, FiscalYear, ConsolidationDocumentNumber, ConsolidationPostingItem. It has 67 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnVersion | CnsldtnVersion | inner |
| P_MJEL_CnsldtnFoundation | P_MJEL_CnsldtnFoundation | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_ConsolidationUnitHierarchy | fincs_hryid | |
| P_ConsolidationPrftCtrHier | fincs_hryid | |
| P_ConsolidationSegmentHier | fincs_hryid | |
| P_KeyDate | sydate |
Associations (67)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CnsldtnLedger | _Ledger | $projection.ConsolidationLedger = _Ledger.ConsolidationLedger |
| [1..1] | I_CnsldtnDimension | _Dimension | $projection.ConsolidationDimension = _Dimension.ConsolidationDimension |
| [1..1] | I_CnsldtnVersion | _Version | $projection.ConsolidationVersion = _Version.ConsolidationVersion |
| [1..1] | I_CnsldtnVersion | _VersionElement | $projection.ConsolidationVersionElement = _VersionElement.ConsolidationVersion |
| [1..1] | I_Globalcompany | _Company | $projection.Company = _Company.Company |
| [0..1] | I_DebitCreditCode | _DebitCreditCode | $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode |
| [1..1] | I_CnsldtnUnit_2 | _CnsldtnUnit | $projection.ConsolidationDimension = _CnsldtnUnit.ConsolidationDimension and $projection.ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit |
| [1..1] | I_CnsldtnUnitForElimination | _CnsldtnUnitForElimination | $projection.ConsolidationDimension = _CnsldtnUnitForElimination.ConsolidationDimension and $projection.ConsolidationUnitForElim = _CnsldtnUnitForElimination.ConsolidationUnit |
| [1..1] | I_CnsldtnGroupWithEmptyValue | _CnsldtnGroup | $projection.ConsolidationDimension = _CnsldtnGroup.ConsolidationDimension and $projection.ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup |
| [1..1] | I_CnsldtnChartOfAccounts | _ChartOfAccounts | $projection.ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts |
| [1..1] | I_GroupReportingFSItem | _FinStmntItm | $projection.ConsolidationChartOfAccounts = _FinStmntItm.ConsolidationChartOfAccounts and $projection.FinancialStatementItem = _FinStmntItm.FinancialStatementItem |
| [0..1] | I_CnsldtnUnit_2 | _PartnerUnit | $projection.ConsolidationDimension = _PartnerUnit.ConsolidationDimension and $projection.PartnerConsolidationUnit = _PartnerUnit.ConsolidationUnit |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_CnsldtnGLAccount | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount |
| [0..1] | I_GLAccountInCompanyCode | _GLAccountInCompanyCode | $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount |
| [0..1] | I_CnsldtnGLChartOfAccounts | _GLChartOfAccounts | $projection.ChartOfAccounts = _GLChartOfAccounts.ChartOfAccounts |
| [0..1] | I_CnsldtnSubItemCategory | _SubItemCategory | $projection.SubItemCategory = _SubItemCategory.SubItemCategory |
| [0..1] | I_CnsldtnSubItem | _SubItem | $projection.SubItemCategory = _SubItem.SubItemCategory and $projection.SubItem = _SubItem.SubItem |
| [1..1] | I_CnsldtnDocumentType | _DocumentType | $projection.ConsolidationDimension = _DocumentType.ConsolidationDimension and $projection.ConsolidationDocumentType = _DocumentType.ConsolidationDocumentType |
| [1..1] | I_CnsldtnPostingLevel | _PostingLevel | $projection.PostingLevel = _PostingLevel.PostingLevel |
| [0..1] | I_CnsldtnUnit_2 | _InvesteeUnit | $projection.ConsolidationDimension = _InvesteeUnit.ConsolidationDimension and $projection.InvesteeConsolidationUnit = _InvesteeUnit.ConsolidationUnit |
| [1..1] | I_CnsldtnApportionment | _Apportionment | $projection.ConsolidationApportionment = _Apportionment.ConsolidationApportionment |
| [1..1] | I_CnsldtnCrcyCnvrsnDiffType | _CrcyCnvrsnDiffType | $projection.CurrencyConversionsDiffType = _CrcyCnvrsnDiffType.CurrencyConversionsDiffType |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_Currency | _LocalCurrency | $projection.LocalCurrency = _LocalCurrency.Currency |
| [0..1] | I_Currency | _GroupCurrency | $projection.GroupCurrency = _GroupCurrency.Currency |
| [0..1] | I_UnitOfMeasure | _BaseUnit | $projection.BaseUnit = _BaseUnit.UnitOfMeasure |
| [0..1] | I_CnsldtnInternalOrder | _InternalOrder | $projection.OrderID = _InternalOrder.InternalOrder |
| [0..1] | I_CnsldtnCustomer | _Customer | $projection.Customer = _Customer.Customer |
| [0..1] | I_CnsldtnSupplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_CnsldtnMaterial | _Material | $projection.Material = _Material.Material |
| [0..1] | I_CnsldtnMaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_CnsldtnPlant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_CnsldtnFinTransType | _FinancialTransactionType | $projection.FinancialTransactionType = _FinancialTransactionType.FinancialTransactionType |
| [0..1] | I_CnsldtnWBSElement | _WBSElement | $projection.Project = _WBSElement.Project and $projection.WBSElementExternalID = _WBSElement.WBSElement |
| [0..1] | I_WBSElementBasicData | _WBSElementInternalID | $projection.WBSElementInternalID = _WBSElementInternalID.WBSElementInternalID |
| [0..1] | I_CnsldtnProject | _Project | $projection.Project = _Project.Project |
| [0..1] | I_CnsldtnCostCenter | _CostCenter | $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter |
| [0..1] | I_CnsldtnProfitCenter | _ProfitCenter | $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter |
| [0..1] | I_CnsldtnProfitCenterForElim | _ProfitCenterForElim | $projection.ControllingArea = _ProfitCenterForElim.ControllingArea and $projection.ConsolidationPrftCtrForElim = _ProfitCenterForElim.ProfitCenter |
| [0..1] | I_CnsldtnFunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..1] | I_CnsldtnBusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [0..1] | I_CnsldtnControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_CnsldtnSegment | _Segment | $projection.Segment = _Segment.Segment |
| [0..1] | I_CnsldtnSegmentForElim | _SegmentForElim | $projection.ConsolidationSegmentForElim = _SegmentForElim.Segment |
| [0..1] | I_CnsldtnCostCenter | _PartnerCostCenter | $projection.ControllingArea = _PartnerCostCenter.ControllingArea and $projection.PartnerCostCenter = _PartnerCostCenter.CostCenter |
| [0..1] | I_CnsldtnProfitCenter | _PartnerProfitCenter | $projection.ControllingArea = _PartnerProfitCenter.ControllingArea and $projection.PartnerProfitCenter = _PartnerProfitCenter.ProfitCenter |
| [0..1] | I_CnsldtnFunctionalArea | _PartnerFunctionalArea | $projection.PartnerFunctionalArea = _PartnerFunctionalArea.FunctionalArea |
| [0..1] | I_CnsldtnBusinessArea | _PartnerBusinessArea | $projection.PartnerBusinessArea = _PartnerBusinessArea.BusinessArea |
| [1..1] | I_Globalcompany | _PartnerCompany | $projection.PartnerCompany = _PartnerCompany.Company |
| [0..1] | I_CnsldtnSegment | _PartnerSegment | $projection.PartnerSegment = _PartnerSegment.Segment |
| [0..1] | I_CnsldtnBillingType | _BillingDocumentType | $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType |
| [0..1] | I_CnsldtnSalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [0..1] | I_CnsldtnDistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_CnsldtnDivision | _Division | $projection.OrganizationDivision = _Division.Division |
| [0..1] | I_CnsldtnMaterial | _SoldMaterial | $projection.SoldMaterial = _SoldMaterial.Material |
| [0..1] | I_CnsldtnProduct | _SoldProduct | $projection.SoldProduct = _SoldProduct.Product |
| [0..1] | I_CnsldtnMaterialGroup | _SoldProductGroup | $projection.SoldProductGroup = _SoldProductGroup.MaterialGroup |
| [0..1] | I_CnsldtnCustomerGroup | _CustomerGroup | $projection.CustomerGroup = _CustomerGroup.CustomerGroup |
| [0..1] | I_CnsldtnCountry | _Country | $projection.CustomerSupplierCountry = _Country.Country |
| [0..1] | I_CnsldtnIndustry | _Industry | $projection.CustomerSupplierIndustry = _Industry.Industry |
| [0..1] | I_CnsldtnSalesDistrict | _SalesDistrict | $projection.SalesDistrict = _SalesDistrict.SalesDistrict |
| [0..1] | I_CnsldtnCustomer | _BillToParty | $projection.BillToParty = _BillToParty.Customer |
| [0..1] | I_CnsldtnCustomer | _ShipToParty | $projection.ShipToParty = _ShipToParty.Customer |
| [0..1] | I_CnsldtnAdhocItem | _AdhocItem | $projection.ConsolidationChartOfAccounts = _AdhocItem.ConsolidationChartOfAccounts and $projection.CnsldtnAdhocItem = _AdhocItem.CnsldtnAdhocItem |
| [0..1] | I_CnsldtnAdhocSet | _AdhocSet | $projection.ConsolidationChartOfAccounts = _AdhocSet.ConsolidationChartOfAccounts and $projection.CnsldtnAdhocSet = _AdhocSet.CnsldtnAdhocSet |
| [0..1] | I_CnsldtnAdhocSetItem | _AdhocSetItem | $projection.ConsolidationChartOfAccounts = _AdhocSetItem.ConsolidationChartOfAccounts and $projection.CnsldtnAdhocSet = _AdhocSetItem.CnsldtnAdhocSet and $projection.CnsldtnAdhocSetItem = _AdhocSetItem.CnsldtnAdhocSetItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMCFNDN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (181)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ConsolidationLedger | rldnr | Ledger (Compat.) | |
| KEY | ConsolidationDimension | rdimen | Dimension | |
| KEY | FiscalYear | ryear | Ref. Year1 | |
| KEY | ConsolidationDocumentNumber | docnr | Well doc.no. | |
| KEY | ConsolidationPostingItem | docln | Matching Document Line Item | |
| KEY | ConsolidationGroup | rcongr | Consolidation Group | |
| KEY | FiscalPeriod | poper | Posting periods | |
| KEY | PeriodMode | period_mode | ||
| FiscalYearPeriod | year_period | Period/Year | ||
| FiscalYearVariant | ||||
| PostingFiscalPeriod | poper_posting | |||
| GLRecordType | Record Type | |||
| ConsolidationVersionElement | Version: Tax rt | |||
| ConsolidationVersion | ref_version | Version | ||
| TransactionCurrency | rtcur | Currency | ||
| LocalCurrency | rhcur | Local Currency | ||
| GroupCurrency | rkcur | Ledger curr. | ||
| BaseUnit | runit | Unit/Area | ||
| DocumentCategory | docct | Document Categ. | ||
| ConsolidationDocumentType | docty | Document Type | ||
| DebitCreditCode | drcrk | Debit/Credit | ||
| Company | rcomp | Trading Partner | ||
| ConsolidationUnit | rbunit | Consolidation Unit | ||
| ConsolidationUnitForElim | rbunit_eliminated | Cons. Elim. Member | ||
| ConsolidationChartOfAccounts | ritclg | Consolidation COA | ||
| FinancialStatementItem | ritem | Reporting Item | ||
| PartnerConsolidationUnit | rbuptr | Partner Unit | ||
| CompanyCode | robukrs | Orig. CC | ||
| SubItemCategory | sityp | Trip Schedule Type | ||
| SubItem | subit | Subitem | ||
| PostingLevel | plevl | Posting Level | ||
| ConsolidationApportionment | rpflg | Apportionment | ||
| CurrencyConversionsDiffType | rtflg | Currency Translation Indicator | ||
| ConsolidationAcquisitionYear | yracq | Year of Acquisition | ||
| ConsolidationAcquisitionPeriod | pracq | Period of Acquisition | ||
| InvesteeConsolidationUnit | coicu | Investee Unit | ||
| AmountInTransactionCurrency | tsl | Trans. Currency | ||
| AmountInLocalCurrency | hsl | Local Crcy Amt | ||
| AmountInGroupCurrency | ksl | GrpCurr | ||
| QuantityInBaseUnit | msl | Stat. KeyFig. Qty | ||
| DocumentItemText | sgtxt | Text | ||
| ConsolidationPostgItemAutoFlag | autom | Automatic Call | ||
| BusinessTransactionType | activ | Transaction | ||
| PostingDate | budat | Posting Date | ||
| CurrencyTranslationDate | wsdat | Value Date | ||
| RefConsolidationDocumentNumber | refdocnr | Reference | ||
| ReferenceFiscalYear | refryear | Reference year | ||
| RefConsolidationPostingItem | refdocln | Reference Item | ||
| RefConsolidationDocumentType | refdocct | Ref. Doc. Cat. | ||
| RefBusinessTransactionType | refactiv | Ref. Transactn | ||
| CreationDateTime | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| CreationDate | cpudt | Imported On | ||
| CreationTime | cputm | Time | ||
| UserID | usnam | User Name | ||
| ReverseDocument | rvsdocnr | Reversed With | ||
| ReversedDocument | orndocnr | Reversed doc. | ||
| InvestmentActivityType | coiac | Investment Activity | ||
| InvestmentActivity | coinr | Investment Activity Number | ||
| ConsolidationDocReversalYear | revyear | Year of reversal doc | ||
| ReferenceDocumentType | awtyp | Reference Document Type | ||
| ReferenceDocumentContext | aworg | Refer. Org.Unit | ||
| LogicalSystem | logsys | Source system | ||
| ChartOfAccounts | ktopl | G/L Chart of Accounts | ||
| GLAccount | racct | GL Account From | ||
| AssignmentReference | zuonr | Finance Project | ||
| CostCenter | rcntr | Cost Center | ||
| ProfitCenter | prctr | Profit Centers | ||
| ConsolidationPrftCtrForElim | prctr_eliminated | Cons. Elim. Member | ||
| FunctionalArea | rfarea | R FuncArea | ||
| BusinessArea | rbusa | Business Area | ||
| ControllingArea | kokrs | Org. Value | ||
| Segment | segment | Segment number | ||
| ConsolidationSegmentForElim | segment_eliminated | Cons. Elim. Member | ||
| PartnerCostCenter | scntr | Sender Cost Ctr | ||
| PartnerProfitCenter | pprctr | Partner PC | ||
| PartnerFunctionalArea | sfarea | Sender FnArea | ||
| PartnerBusinessArea | sbusa | Trdg Part.BA | ||
| PartnerCompany | rassc | Trading Partner | ||
| PartnerSegment | psegment | Partner Segment | ||
| OrderID | aufnr | SettlementOrder | ||
| Customer | kunnr | Stock customer | ||
| Supplier | lifnr | Vendor no. | ||
| Material | matnr | Vehicle Model | ||
| MaterialGroup | matkl_mm | Material Group | ||
| Plant | werks | Receiving Plant | ||
| FinancialTransactionType | rmvct | Transact. Type | ||
| WBSElementInternalID | WBS Element | |||
| WBSElementExternalID | ps_posid | WBS Element | ||
| Project | ps_pspid | Project def. | ||
| BillingDocumentType | fkart | Ship. cost type | ||
| SalesOrganization | vkorg | SD Sales Org. | ||
| DistributionChannel | vtweg | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | spart | Source supplier | ||
| SoldMaterial | matnr_copa | Product Sold | ||
| SoldProduct | matnr_copa | Product Sold | ||
| SoldProductGroup | matkl | Product Sold Group | ||
| CustomerGroup | kdgrp | Customer group | ||
| CustomerSupplierCountry | land1 | Trip Ctry/Reg | ||
| CustomerSupplierIndustry | brsch | Industry | ||
| SalesDistrict | bzirk | Sales District | ||
| BillToParty | kunre | Bill-to Party | ||
| ShipToParty | kunwe | Ship-to Party | ||
| CustomerSupplierCorporateGroup | konzs | Group | ||
| CnsldtnJrnlEntryItemOrigin | CnsldtnJrnlEntryItemOrigin | |||
| FinancialPlanningReqTransSqnc | FinancialPlanningReqTransSqnc | Request TSN | ||
| FinancialPlanningDataPacket | FinancialPlanningDataPacket | Data packet number | ||
| FinancialPlanningEntryItem | FinancialPlanningEntryItem | |||
| Ledger | rldnr_fin | |||
| CnsldtnAdhocItem | adhocitem | Ad Hoc Item | ||
| CnsldtnAdhocSet | adhocset | Ad Hoc Set | ||
| CnsldtnAdhocSetItem | adhocsetitem | Ad Hoc Set Item | ||
| MatchingReasonCode | rcode | Result | ||
| OriginType | orig_type | Origin Type | ||
| OriginReference | orig_ref | Origin Ref. | ||
| _Ledger | _Ledger | |||
| _Dimension | _Dimension | |||
| _Version | _Version | |||
| _Company | _Company | |||
| _CnsldtnUnit | _CnsldtnUnit | |||
| _CnsldtnUnitForElimination | _CnsldtnUnitForElimination | |||
| _CnsldtnGroup | _CnsldtnGroup | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _FinStmntItm | _FinStmntItm | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _GLChartOfAccounts | _GLChartOfAccounts | |||
| _PartnerUnit | _PartnerUnit | |||
| _CompanyCode | _CompanyCode | |||
| _SubItemCategory | _SubItemCategory | |||
| _SubItem | _SubItem | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _DocumentType | _DocumentType | |||
| _PostingLevel | _PostingLevel | |||
| _InvesteeUnit | _InvesteeUnit | |||
| _Apportionment | _Apportionment | |||
| _CrcyCnvrsnDiffType | _CrcyCnvrsnDiffType | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _LocalCurrency | _LocalCurrency | |||
| _GroupCurrency | _GroupCurrency | |||
| _BaseUnit | _BaseUnit | |||
| _InternalOrder | _InternalOrder | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _Plant | _Plant | |||
| _FinancialTransactionType | _FinancialTransactionType | |||
| _WBSElement | _WBSElement | |||
| _WBSElementInternalID | _WBSElementInternalID | |||
| _Project | _Project | |||
| _CostCenter | _CostCenter | |||
| _ProfitCenter | _ProfitCenter | |||
| _ProfitCenterForElim | _ProfitCenterForElim | |||
| _FunctionalArea | _FunctionalArea | |||
| _BusinessArea | _BusinessArea | |||
| _ControllingArea | _ControllingArea | |||
| _Segment | _Segment | |||
| _SegmentForElim | _SegmentForElim | |||
| _PartnerCostCenter | _PartnerCostCenter | |||
| _PartnerProfitCenter | _PartnerProfitCenter | |||
| _PartnerFunctionalArea | _PartnerFunctionalArea | |||
| _PartnerBusinessArea | _PartnerBusinessArea | |||
| _PartnerCompany | _PartnerCompany | |||
| _PartnerSegment | _PartnerSegment | |||
| _BillingDocumentType | _BillingDocumentType | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _SoldMaterial | _SoldMaterial | |||
| _SoldProduct | _SoldProduct | |||
| _SoldProductGroup | _SoldProductGroup | |||
| _CustomerGroup | _CustomerGroup | |||
| _Country | _Country | |||
| _Industry | _Industry | |||
| _SalesDistrict | _SalesDistrict | |||
| _BillToParty | _BillToParty | |||
| _ShipToParty | _ShipToParty | |||
| _AdhocItem | _AdhocItem | |||
| _AdhocSet | _AdhocSet | |||
| _AdhocSetItem | _AdhocSetItem | |||
| _VersionElement | _VersionElement |
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 P_MatrixCnsldtnFoundation.
-- 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.
-- SQL view name: PMCFNDN
-- Parameters: P_ConsolidationUnitHierarchy : fincs_hryid, P_ConsolidationPrftCtrHier : fincs_hryid, P_ConsolidationSegmentHier : fincs_hryid, P_KeyDate : sydate
CREATE VIEW P_MatrixCnsldtnFoundation AS
SELECT
rldnr AS ConsolidationLedger,
rdimen AS ConsolidationDimension,
ryear AS FiscalYear,
docnr AS ConsolidationDocumentNumber,
docln AS ConsolidationPostingItem,
rcongr AS ConsolidationGroup,
poper AS FiscalPeriod,
period_mode AS PeriodMode,
year_period AS FiscalYearPeriod,
cast ('K4' as fis_periv) AS FiscalYearVariant,
poper_posting AS PostingFiscalPeriod,
cast (rrcty as fincs_rrcty preserving type ) AS GLRecordType,
cast (rvers as fincs_vers_elem preserving type ) AS ConsolidationVersionElement,
ref_version AS ConsolidationVersion,
rtcur AS TransactionCurrency,
rhcur AS LocalCurrency,
rkcur AS GroupCurrency,
runit AS BaseUnit,
docct AS DocumentCategory,
docty AS ConsolidationDocumentType,
drcrk AS DebitCreditCode,
rcomp AS Company,
rbunit AS ConsolidationUnit,
rbunit_eliminated AS ConsolidationUnitForElim,
ritclg AS ConsolidationChartOfAccounts,
ritem AS FinancialStatementItem,
rbuptr AS PartnerConsolidationUnit,
robukrs AS CompanyCode,
sityp AS SubItemCategory,
subit AS SubItem,
plevl AS PostingLevel,
rpflg AS ConsolidationApportionment,
rtflg AS CurrencyConversionsDiffType,
yracq AS ConsolidationAcquisitionYear,
pracq AS ConsolidationAcquisitionPeriod,
coicu AS InvesteeConsolidationUnit,
tsl AS AmountInTransactionCurrency,
hsl AS AmountInLocalCurrency,
ksl AS AmountInGroupCurrency,
msl AS QuantityInBaseUnit,
sgtxt AS DocumentItemText,
autom AS ConsolidationPostgItemAutoFlag,
activ AS BusinessTransactionType,
budat AS PostingDate,
wsdat AS CurrencyTranslationDate,
refdocnr AS RefConsolidationDocumentNumber,
refryear AS ReferenceFiscalYear,
refdocln AS RefConsolidationPostingItem,
refdocct AS RefConsolidationDocumentType,
refactiv AS RefBusinessTransactionType,
timestamp AS CreationDateTime,
cpudt AS CreationDate,
cputm AS CreationTime,
usnam AS UserID,
rvsdocnr AS ReverseDocument,
orndocnr AS ReversedDocument,
coiac AS InvestmentActivityType,
coinr AS InvestmentActivity,
revyear AS ConsolidationDocReversalYear,
awtyp AS ReferenceDocumentType,
aworg AS ReferenceDocumentContext,
logsys AS LogicalSystem,
ktopl AS ChartOfAccounts,
racct AS GLAccount,
zuonr AS AssignmentReference,
rcntr AS CostCenter,
prctr AS ProfitCenter,
prctr_eliminated AS ConsolidationPrftCtrForElim,
rfarea AS FunctionalArea,
rbusa AS BusinessArea,
kokrs AS ControllingArea,
Segment,
segment_eliminated AS ConsolidationSegmentForElim,
scntr AS PartnerCostCenter,
pprctr AS PartnerProfitCenter,
sfarea AS PartnerFunctionalArea,
sbusa AS PartnerBusinessArea,
rassc AS PartnerCompany,
psegment AS PartnerSegment,
aufnr AS OrderID,
kunnr AS Customer,
lifnr AS Supplier,
matnr AS Material,
matkl_mm AS MaterialGroup,
werks AS Plant,
rmvct AS FinancialTransactionType,
cast ( ps_psp_pnr as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
ps_posid AS WBSElementExternalID,
ps_pspid AS Project,
fkart AS BillingDocumentType,
vkorg AS SalesOrganization,
vtweg AS DistributionChannel,
spart AS OrganizationDivision,
matnr_copa AS SoldMaterial,
matnr_copa AS SoldProduct,
matkl AS SoldProductGroup,
kdgrp AS CustomerGroup,
land1 AS CustomerSupplierCountry,
brsch AS CustomerSupplierIndustry,
bzirk AS SalesDistrict,
kunre AS BillToParty,
kunwe AS ShipToParty,
konzs AS CustomerSupplierCorporateGroup,
CnsldtnJrnlEntryItemOrigin,
FinancialPlanningReqTransSqnc,
FinancialPlanningDataPacket,
FinancialPlanningEntryItem,
rldnr_fin AS Ledger,
adhocitem AS CnsldtnAdhocItem,
adhocset AS CnsldtnAdhocSet,
adhocsetitem AS CnsldtnAdhocSetItem,
rcode AS MatchingReasonCode,
orig_type AS OriginType,
orig_ref AS OriginReference
FROM P_MJEL_CnsldtnFoundation
INNER JOIN I_CnsldtnVersion AS CnsldtnVersion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CnsldtnLedger AS _Ledger ON ConsolidationLedger = _Ledger.ConsolidationLedger -- association [1..1]
LEFT OUTER JOIN I_CnsldtnDimension AS _Dimension ON ConsolidationDimension = _Dimension.ConsolidationDimension -- association [1..1]
LEFT OUTER JOIN I_CnsldtnVersion AS _Version ON ConsolidationVersion = _Version.ConsolidationVersion -- association [1..1]
LEFT OUTER JOIN I_CnsldtnVersion AS _VersionElement ON ConsolidationVersionElement = _VersionElement.ConsolidationVersion -- association [1..1]
LEFT OUTER JOIN I_Globalcompany AS _Company ON Company = _Company.Company -- association [1..1]
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode -- association [0..1]
LEFT OUTER JOIN I_CnsldtnUnit_2 AS _CnsldtnUnit ON ConsolidationDimension = _CnsldtnUnit.ConsolidationDimension AND ConsolidationUnit = _CnsldtnUnit.ConsolidationUnit -- association [1..1]
LEFT OUTER JOIN I_CnsldtnUnitForElimination AS _CnsldtnUnitForElimination ON ConsolidationDimension = _CnsldtnUnitForElimination.ConsolidationDimension AND ConsolidationUnitForElim = _CnsldtnUnitForElimination.ConsolidationUnit -- association [1..1]
LEFT OUTER JOIN I_CnsldtnGroupWithEmptyValue AS _CnsldtnGroup ON ConsolidationDimension = _CnsldtnGroup.ConsolidationDimension AND ConsolidationGroup = _CnsldtnGroup.ConsolidationGroup -- association [1..1]
LEFT OUTER JOIN I_CnsldtnChartOfAccounts AS _ChartOfAccounts ON ConsolidationChartOfAccounts = _ChartOfAccounts.ConsolidationChartOfAccounts -- association [1..1]
LEFT OUTER JOIN I_GroupReportingFSItem AS _FinStmntItm ON ConsolidationChartOfAccounts = _FinStmntItm.ConsolidationChartOfAccounts AND FinancialStatementItem = _FinStmntItm.FinancialStatementItem -- association [1..1]
LEFT OUTER JOIN I_CnsldtnUnit_2 AS _PartnerUnit ON ConsolidationDimension = _PartnerUnit.ConsolidationDimension AND PartnerConsolidationUnit = _PartnerUnit.ConsolidationUnit -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_CnsldtnGLAccount AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND GLAccount = _GLAccountInChartOfAccounts.GLAccount -- association [0..1]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount -- association [0..1]
LEFT OUTER JOIN I_CnsldtnGLChartOfAccounts AS _GLChartOfAccounts ON ChartOfAccounts = _GLChartOfAccounts.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSubItemCategory AS _SubItemCategory ON SubItemCategory = _SubItemCategory.SubItemCategory -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSubItem AS _SubItem ON SubItemCategory = _SubItem.SubItemCategory AND SubItem = _SubItem.SubItem -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDocumentType AS _DocumentType ON ConsolidationDimension = _DocumentType.ConsolidationDimension AND ConsolidationDocumentType = _DocumentType.ConsolidationDocumentType -- association [1..1]
LEFT OUTER JOIN I_CnsldtnPostingLevel AS _PostingLevel ON PostingLevel = _PostingLevel.PostingLevel -- association [1..1]
LEFT OUTER JOIN I_CnsldtnUnit_2 AS _InvesteeUnit ON ConsolidationDimension = _InvesteeUnit.ConsolidationDimension AND InvesteeConsolidationUnit = _InvesteeUnit.ConsolidationUnit -- association [0..1]
LEFT OUTER JOIN I_CnsldtnApportionment AS _Apportionment ON ConsolidationApportionment = _Apportionment.ConsolidationApportionment -- association [1..1]
LEFT OUTER JOIN I_CnsldtnCrcyCnvrsnDiffType AS _CrcyCnvrsnDiffType ON CurrencyConversionsDiffType = _CrcyCnvrsnDiffType.CurrencyConversionsDiffType -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _LocalCurrency ON LocalCurrency = _LocalCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GroupCurrency ON GroupCurrency = _GroupCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_CnsldtnInternalOrder AS _InternalOrder ON OrderID = _InternalOrder.InternalOrder -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCustomer AS _Customer ON Customer = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSupplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_CnsldtnMaterial AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_CnsldtnMaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_CnsldtnPlant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_CnsldtnFinTransType AS _FinancialTransactionType ON FinancialTransactionType = _FinancialTransactionType.FinancialTransactionType -- association [0..1]
LEFT OUTER JOIN I_CnsldtnWBSElement AS _WBSElement ON Project = _WBSElement.Project AND WBSElementExternalID = _WBSElement.WBSElement -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementInternalID ON WBSElementInternalID = _WBSElementInternalID.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_CnsldtnProject AS _Project ON Project = _Project.Project -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter -- association [0..1]
LEFT OUTER JOIN I_CnsldtnProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter -- association [0..1]
LEFT OUTER JOIN I_CnsldtnProfitCenterForElim AS _ProfitCenterForElim ON ControllingArea = _ProfitCenterForElim.ControllingArea AND ConsolidationPrftCtrForElim = _ProfitCenterForElim.ProfitCenter -- association [0..1]
LEFT OUTER JOIN I_CnsldtnFunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_CnsldtnBusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_CnsldtnControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSegment AS _Segment ON Segment = _Segment.Segment -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSegmentForElim AS _SegmentForElim ON ConsolidationSegmentForElim = _SegmentForElim.Segment -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCostCenter AS _PartnerCostCenter ON ControllingArea = _PartnerCostCenter.ControllingArea AND PartnerCostCenter = _PartnerCostCenter.CostCenter -- association [0..1]
LEFT OUTER JOIN I_CnsldtnProfitCenter AS _PartnerProfitCenter ON ControllingArea = _PartnerProfitCenter.ControllingArea AND PartnerProfitCenter = _PartnerProfitCenter.ProfitCenter -- association [0..1]
LEFT OUTER JOIN I_CnsldtnFunctionalArea AS _PartnerFunctionalArea ON PartnerFunctionalArea = _PartnerFunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_CnsldtnBusinessArea AS _PartnerBusinessArea ON PartnerBusinessArea = _PartnerBusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_Globalcompany AS _PartnerCompany ON PartnerCompany = _PartnerCompany.Company -- association [1..1]
LEFT OUTER JOIN I_CnsldtnSegment AS _PartnerSegment ON PartnerSegment = _PartnerSegment.Segment -- association [0..1]
LEFT OUTER JOIN I_CnsldtnBillingType AS _BillingDocumentType ON BillingDocumentType = _BillingDocumentType.BillingDocumentType -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_CnsldtnDivision AS _Division ON OrganizationDivision = _Division.Division -- association [0..1]
LEFT OUTER JOIN I_CnsldtnMaterial AS _SoldMaterial ON SoldMaterial = _SoldMaterial.Material -- association [0..1]
LEFT OUTER JOIN I_CnsldtnProduct AS _SoldProduct ON SoldProduct = _SoldProduct.Product -- association [0..1]
LEFT OUTER JOIN I_CnsldtnMaterialGroup AS _SoldProductGroup ON SoldProductGroup = _SoldProductGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCountry AS _Country ON CustomerSupplierCountry = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_CnsldtnIndustry AS _Industry ON CustomerSupplierIndustry = _Industry.Industry -- association [0..1]
LEFT OUTER JOIN I_CnsldtnSalesDistrict AS _SalesDistrict ON SalesDistrict = _SalesDistrict.SalesDistrict -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCustomer AS _BillToParty ON BillToParty = _BillToParty.Customer -- association [0..1]
LEFT OUTER JOIN I_CnsldtnCustomer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer -- association [0..1]
LEFT OUTER JOIN I_CnsldtnAdhocItem AS _AdhocItem ON ConsolidationChartOfAccounts = _AdhocItem.ConsolidationChartOfAccounts AND CnsldtnAdhocItem = _AdhocItem.CnsldtnAdhocItem -- association [0..1]
LEFT OUTER JOIN I_CnsldtnAdhocSet AS _AdhocSet ON ConsolidationChartOfAccounts = _AdhocSet.ConsolidationChartOfAccounts AND CnsldtnAdhocSet = _AdhocSet.CnsldtnAdhocSet -- association [0..1]
LEFT OUTER JOIN I_CnsldtnAdhocSetItem AS _AdhocSetItem ON ConsolidationChartOfAccounts = _AdhocSetItem.ConsolidationChartOfAccounts AND CnsldtnAdhocSet = _AdhocSetItem.CnsldtnAdhocSet AND CnsldtnAdhocSetItem = _AdhocSetItem.CnsldtnAdhocSetItem -- association [0..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