Deprecated PUBLIC_LOCAL_API
This CDS view is deprecated in S/4HANA. Use I_CnsldtnGrpJrnlItemC instead. View all deprecated CDS views →

I_MatrixCnsldtnReportC_2

DDL: I_MATRIXCNSLDTNREPORTC_2 Type: view COMPOSITE Package: FIN_CS_ANALYTICS

Group Reporting Data - Cube

I_MatrixCnsldtnReportC_2 (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Group Reporting

I_MatrixCnsldtnReportC_2 is a Composite CDS View (Cube) that provides data about "Group Reporting Data - Cube" in SAP S/4HANA. It reads from 1 data source (I_MatrixCnsldtnFoundation) and exposes 174 fields with key fields ConsolidationDimension, FiscalYear, ConsolidationDocumentNumber, ConsolidationPostingItem. It has 65 associations to related views. Part of development package FIN_CS_ANALYTICS.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryCube
Purpose
The primary purpose of this CDS view is to facilitate the reporting and analysis of consolidated financial data across different organizational units, profit centers, and segments. It integrates various dimensions and hierarchies related to financial consolidation, such as consolidation units, profit centers, segments, and more. The view is structured to support analytical queries by providing associations to various related entities, such as ledger, dimension, version, company, and more. Parameters for hierarchies: The view allows filtering based on consolidation unit hierarchy, profit center hierarchy, and segment hierarchy, providing flexibility in reporting. Associations: It includes numerous associations to other entities, enabling detailed drill-down and analysis of related data. Aggregation and semantics: The view supports aggregation of financial amounts and quantities, with semantics for currency and unit of measure, ensuring accurate and meaningful analysis. This CDS view provides the data to answer the following business questions: Consolidated financial performance: How is the financial performance of the organization when consolidated across different units, profit centers, and segments? Intercompany transactions: What are the details of intercompany transactions and eliminations within the group? Currency impact: How do currency conversions and differences impact the consolidated financial statements? Profitability analysis: What is the profitability of different segments, profit centers, and business areas within the consolidated group? Financial statement items: How are different financial statement items performing across the consolidated group? Hierarchy validity: What is the validity of different hierarchies (unit, profit center, segment) on a specific key date? Document and posting details: What are the details of consolidation documents and postings, including document types, posting levels, and reversal information? Additional account assignments: How are additional account assignments like cost centers, internal orders, and WBS elements affecting the consolidation? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: Restriction Type ID Restriction Type FICSPSTLV Reporting on Posting Levels RVERS Consolidation Version ITCLG Consolidation Chart of Accounts FI_CS_RPT Reporting on Organizational Units GLRLDNR Ledger VER_CGR_BNT_PCT_SGM_DTP_FSI_PL Enhanced Restriction Type for Group Reporting

Deprecated Fields
Note At least one element of this CDS view is deprecated. SAP may make the deprecated elements unusable, usually no earlier than one year after the deprecation. For more information, see . We recommend that you switch to the following successor elements as soon as possible: _InvesteeUnit → _InvesteeUnit_3 _PartnerUnit → _PartnerUnit_3 _CnsldtnUnit → _CnsldtnUnit_3 For more information about the deprecation process for CDS views, see Deprecated and Decommissioned CDS Views .

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-EA-2CL
CapabilitiesData Provider for Analytical Queries,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageGroup Reporting for SAP S/4HANA Cloud Public Edition
Description <p>The primary purpose of this CDS view is to facilitate the reporting and analysis of consolidated financial data across different organizational units, profit centers, and segments. It integrates various dimensions and hierarchies related to financial consolidation, such as consolidation units, profit centers, segments, and more. The view is structured to support analytical queries by providing associations to various related entities, such as ledger, dimension, version, company, and more.</p> <p>Parameters for hierarchies: The view allows filtering based on consolidation unit hierarchy, profit center hierarchy, and segment hierarchy, providing flexibility in reporting.</p> <p>Associations: It includes numerous associations to other entities, enabling detailed drill-down and analysis of related data.</p> <p>Aggregation and semantics: The view supports aggregation of financial amounts and quantities, with semantics for currency and unit of measure, ensuring accurate and meaningful analysis.</p> <p>This CDS view provides the data to answer the following business questions:</p> <li><p>Consolidated financial performance: How is the financial performance of the organization when consolidated across different units, profit centers, and segments?</p></li> <li><p>Intercompany transactions: What are the details of intercompany transactions and eliminations within the group?</p></li> <li><p>Currency impact: How do currency conversions and differences impact the consolidated financial statements?</p></li> <li><p>Profitability analysis: What is the profitability of different segments, profit centers, and business areas within the consolidated group?</p></li> <li><p>Financial statement items: How are different financial statement items performing across the consolidated group?</p></li> <li><p>Hierarchy validity: What is the validity of different hierarchies (unit, profit center, segment) on a specific key date?</p></li> <li><p>Document and posting details: What are the details of consolidation documents and postings, including document types, posting levels, and reversal information?</p></li> <li><p>Additional account assignments: How are additional account assignments like cost centers, internal orders, and WBS elements affecting the consolidation?</p></li> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_MatrixCnsldtnFoundation I_MatrixCnsldtnFoundation from

Parameters (4)

NameTypeDefault
P_ConsolidationUnitHierarchy fincs_hryid
P_ConsolidationPrftCtrHier fincs_hryid
P_ConsolidationSegmentHier fincs_hryid
P_KeyDate sydate

Associations (65)

CardinalityTargetAliasCondition
[1..1] E_CnsldtnGroupJrnlEntryItem _Extension $projection.ConsolidationLedger = _Extension.ConsolidationLedger and $projection.ConsolidationDimension = _Extension.ConsolidationDimension and $projection.FiscalYear = _Extension.FiscalYear and $projection.ConsolidationDocumentNumber = _Extension.CnsldtnGroupJrnlEntry and $projection.ConsolidationPostingItem = _Extension.CnsldtnGroupJrnlEntryItem
[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_Globalcompany _Company $projection.Company = _Company.Company
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[1..1] I_CnsldtnUnit_3 _CnsldtnUnit_3 $projection.ConsolidationUnit = _CnsldtnUnit_3.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_3 _PartnerUnit_3 $projection.PartnerConsolidationUnit = _PartnerUnit_3.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_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_3 _InvesteeUnit_3 $projection.InvesteeConsolidationUnit = _InvesteeUnit_3.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_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 (20)

NameValueLevelField
AbapCatalog.sqlViewName IMCREPORTC_2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #NOT_ALLOWED view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
Analytics.dataCategory #CUBE view
Analytics.readClassName CL_FINCS_GRA_CUBE_REL view
Analytics.internalName #LOCAL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_CnsldtnGrpJrnlItemC view
EndUserText.label Group Reporting Data - Cube view

Fields (174)

KeyFieldSource TableSource FieldDescription
P_ConsolidationUnitHierarchy Profit Center Hierarchy
P_ConsolidationPrftCtrHier
P_ConsolidationSegmentHier
KEY ConsolidationDimension ConsolidationDimension Dimension
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY ConsolidationDocumentNumber ConsolidationDocumentNumber Group Journal Entry
KEY ConsolidationPostingItem ConsolidationPostingItem Group Journal Entry Item
GLRecordType GLRecordType Record Type
ConsolidationVersion ConsolidationVersion Consolidation Version
ConsolidationVersionElement ConsolidationVersionElement Consolidation Version Element
TransactionCurrency TransactionCurrency Transaction Currency
LocalCurrency LocalCurrency Currency key of the local currency
GroupCurrency GroupCurrency Group Currency
BaseUnit BaseUnit Base Unit of Measure
FiscalPeriod FiscalPeriod Reporting Period
FiscalYearPeriod Fiscal Year Period
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
PeriodMode PeriodMode Period Mode
ConsolidationDocumentType ConsolidationDocumentType Document Type
DebitCreditCode DebitCreditCode Debit/Credit Indicator
Company Company Company
ConsolidationUnit Consolidation Unit
ConsolidationUnitForElim ConsolidationUnitForElim Consolidation Unit for Elimination
ConsolidationChartOfAccounts ConsolidationChartOfAccounts Consolidation Chart of Accounts
FinancialStatementItem FinancialStatementItem Financial Statement Item
PartnerConsolidationUnit Partner Unit
ConsolidationGroup ConsolidationGroup Consolidation Group
CompanyCode CompanyCode Receiver Company Code
SubItemCategory SubItemCategory Subitem Category
SubItem SubItem Subitem Number
PostingLevel PostingLevel Posting Level
ConsolidationApportionment ConsolidationApportionment Apportionment
CurrencyConversionsDiffType CurrencyConversionsDiffType Currency Translation
ConsolidationAcquisitionYear ConsolidationAcquisitionYear Year of Acquisition
ConsolidationAcquisitionPeriod ConsolidationAcquisitionPeriod Period of Acquisition
InvesteeConsolidationUnit Investee Unit
AmountInTransactionCurrency AmountInTransactionCurrency Amount in Transaction Currency
AmountInLocalCurrency AmountInLocalCurrency Amount in Local Currency
AmountInGroupCurrency AmountInGroupCurrency Amount in Group Currency
CnsldtnQuantityInBaseUnit CnsldtnQuantityInBaseUnit Stat. KeyFig. Qty
DocumentItemText DocumentItemText Item Text
ConsolidationPostgItemAutoFlag ConsolidationPostgItemAutoFlag Indicator: Automatic posting lines
BusinessTransactionType BusinessTransactionType Business Transaction
PostingDate PostingDate Posting Date in the Document
CurrencyTranslationDate CurrencyTranslationDate Value Date for Currency Translation
RefConsolidationDocumentNumber RefConsolidationDocumentNumber Document Number of an Accounting Document
ReferenceFiscalYear ReferenceFiscalYear Original Fiscal Year
RefConsolidationPostingItem RefConsolidationPostingItem Six-figure number of line item
RefConsolidationDocumentType RefConsolidationDocumentType Document Category
RefBusinessTransactionType RefBusinessTransactionType Business Transaction
CreationDate CreationDate Day On Which Accounting Document Was Entered
CreationTime CreationTime Time of Change
UserID UserID User Name
ReverseDocument ReverseDocument Reverse Document Number
ReversedDocument ReversedDocument Number of Reversed Document
InvestmentActivityType InvestmentActivityType Consolidation of Investments Activity
InvestmentActivity InvestmentActivity Consolidation of Investments Activity Number
ConsolidationDocReversalYear ConsolidationDocReversalYear Year of reversal document or reversed document
ReferenceDocumentType ReferenceDocumentType Reference Document Type
ReferenceDocumentContext ReferenceDocumentContext Reference Organizational Units
LogicalSystem LogicalSystem Logical System
ChartOfAccounts ChartOfAccounts Chart of Accounts
GLAccount GLAccount General Ledger
AssignmentReference AssignmentReference Assignment Reference
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
ConsolidationPrftCtrForElim ConsolidationPrftCtrForElim Profit Center for Elimination
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
ControllingArea ControllingArea Controlling Area
Segment Segment Segment for Segmental Reporting
ConsolidationSegmentForElim ConsolidationSegmentForElim Segment for Elimination
PartnerCostCenter PartnerCostCenter Sender Cost Center
PartnerProfitCenter PartnerProfitCenter Partner Profit Center
PartnerFunctionalArea PartnerFunctionalArea Partner Functional Area
PartnerBusinessArea PartnerBusinessArea Trading Partner's Business Area
PartnerCompany PartnerCompany Company ID of Trading Partner
PartnerSegment PartnerSegment Partner Segment for Segmental Reporting
OrderID OrderID Order Number
Customer Customer Customer Number
Supplier Supplier Account Number of Supplier
Material Material Material Number
Plant Plant Valuation Area
FinancialTransactionType FinancialTransactionType Transaction Type
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElementExternalID Work Breakdown Structure Element (WBS Element) Edited
Project Project Number (External) Edited
BillingDocumentType BillingDocumentType Billing Type
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
MaterialGroup MaterialGroup Material Group
SoldProduct SoldProduct Product Sold
SoldProductGroup SoldProductGroup Product Sold Group
CustomerGroup CustomerGroup Customer Group
CustomerSupplierCountry CustomerSupplierCountry Country/Region of Customer or Supplier
CustomerSupplierIndustry CustomerSupplierIndustry Industry Key
SalesDistrict SalesDistrict Sales District
BillToParty BillToParty Inv. Recipient
ShipToParty ShipToParty Ship-To Party (obsolete)
CustomerSupplierCorporateGroup CustomerSupplierCorporateGroup Group Key
CnsldtnAdhocItem CnsldtnAdhocItem Ad Hoc Item
CnsldtnAdhocSet CnsldtnAdhocSet Ad Hoc Set
CnsldtnAdhocSetItem CnsldtnAdhocSetItem Ad Hoc Set Item
MatchingReasonCode MatchingReasonCode Reason Code
OriginType OriginType Origin Type
OriginReference OriginReference Origin Reference
_Ledger _Ledger
_Dimension _Dimension
_Version _Version
_Company _Company
_CnsldtnUnit _CnsldtnUnit
_CnsldtnUnit_3 _CnsldtnUnit_3
_CnsldtnUnitForElimination _CnsldtnUnitForElimination
_CnsldtnGroup _CnsldtnGroup
_ChartOfAccounts _ChartOfAccounts
_FinStmntItm _FinStmntItm
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_GLChartOfAccounts _GLChartOfAccounts
_PartnerUnit _PartnerUnit
_PartnerUnit_3 _PartnerUnit_3
_CompanyCode _CompanyCode
_SubItemCategory _SubItemCategory
_SubItem _SubItem
_DebitCreditCode _DebitCreditCode
_DocumentType _DocumentType
_PostingLevel _PostingLevel
_InvesteeUnit _InvesteeUnit
_InvesteeUnit_3 _InvesteeUnit_3
_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
_SoldProduct _SoldProduct
_SoldProductGroup _SoldProductGroup
_CustomerGroup _CustomerGroup
_Country _Country
_Industry _Industry
_SalesDistrict _SalesDistrict
_BillToParty _BillToParty
_ShipToParty _ShipToParty
_AdhocItem _AdhocItem
_AdhocSet _AdhocSet
_AdhocSetItem _AdhocSetItem

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_MatrixCnsldtnReportC_2.
-- 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.
-- Parameters: P_ConsolidationUnitHierarchy : fincs_hryid, P_ConsolidationPrftCtrHier : fincs_hryid, P_ConsolidationSegmentHier : fincs_hryid, P_KeyDate : sydate

CREATE VIEW I_MatrixCnsldtnReportC_2 AS
SELECT
  entity: { name: 'I_CnsldtnUnitHierDirVH', element: 'ConsolidationUnitHierarchy' AS P_ConsolidationUnitHierarchy,
  P_ConsolidationPrftCtrHier: $parameters.P_ConsolidationPrftCtrHier AS P_ConsolidationPrftCtrHier,
  P_ConsolidationSegmentHier: $parameters.P_ConsolidationSegmentHier AS P_ConsolidationSegmentHier,
  ConsolidationDimension,
  FiscalYear,
  ConsolidationDocumentNumber,
  ConsolidationPostingItem,
  GLRecordType,
  ConsolidationVersion,
  ConsolidationVersionElement,
  TransactionCurrency,
  LocalCurrency,
  GroupCurrency,
  BaseUnit,
  FiscalPeriod,
  cast( FiscalYearPeriod as fis_jahrper_conv ) AS FiscalYearPeriod,
  FiscalYearVariant,
  PeriodMode,
  ConsolidationDocumentType,
  DebitCreditCode,
  Company,
  cast ( ConsolidationUnit as fincs_consolidationunit preserving type ) AS ConsolidationUnit,
  ConsolidationUnitForElim,
  ConsolidationChartOfAccounts,
  FinancialStatementItem,
  cast ( PartnerConsolidationUnit as fincs_partnerconsolidationunit preserving type ) AS PartnerConsolidationUnit,
  ConsolidationGroup,
  CompanyCode,
  SubItemCategory,
  SubItem,
  PostingLevel,
  ConsolidationApportionment,
  CurrencyConversionsDiffType,
  ConsolidationAcquisitionYear,
  ConsolidationAcquisitionPeriod,
  cast ( InvesteeConsolidationUnit as fincs_investeeconsunit preserving type ) AS InvesteeConsolidationUnit,
  AmountInTransactionCurrency,
  AmountInLocalCurrency,
  AmountInGroupCurrency,
  CnsldtnQuantityInBaseUnit,
  DocumentItemText,
  ConsolidationPostgItemAutoFlag,
  BusinessTransactionType,
  PostingDate,
  CurrencyTranslationDate,
  RefConsolidationDocumentNumber,
  ReferenceFiscalYear,
  RefConsolidationPostingItem,
  RefConsolidationDocumentType,
  RefBusinessTransactionType,
  CreationDate,
  CreationTime,
  UserID,
  ReverseDocument,
  ReversedDocument,
  InvestmentActivityType,
  InvestmentActivity,
  ConsolidationDocReversalYear,
  ReferenceDocumentType,
  ReferenceDocumentContext,
  LogicalSystem,
  ChartOfAccounts,
  GLAccount,
  AssignmentReference,
  CostCenter,
  ProfitCenter,
  ConsolidationPrftCtrForElim,
  FunctionalArea,
  BusinessArea,
  ControllingArea,
  Segment,
  ConsolidationSegmentForElim,
  PartnerCostCenter,
  PartnerProfitCenter,
  PartnerFunctionalArea,
  PartnerBusinessArea,
  PartnerCompany,
  PartnerSegment,
  OrderID,
  Customer,
  Supplier,
  Material,
  Plant,
  FinancialTransactionType,
  WBSElementInternalID,
  cast( WBSElementExternalID as ps_posid_edit ) AS WBSElementExternalID,
  cast( Project as ps_pspid_edit ) AS Project,
  BillingDocumentType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  MaterialGroup,
  SoldProduct,
  SoldProductGroup,
  CustomerGroup,
  CustomerSupplierCountry,
  CustomerSupplierIndustry,
  SalesDistrict,
  BillToParty,
  ShipToParty,
  CustomerSupplierCorporateGroup,
  CnsldtnAdhocItem,
  CnsldtnAdhocSet,
  CnsldtnAdhocSetItem,
  MatchingReasonCode,
  OriginType,
  OriginReference
FROM I_MatrixCnsldtnFoundation
LEFT OUTER JOIN E_CnsldtnGroupJrnlEntryItem AS _Extension ON ConsolidationLedger = _Extension.ConsolidationLedger AND ConsolidationDimension = _Extension.ConsolidationDimension AND FiscalYear = _Extension.FiscalYear AND ConsolidationDocumentNumber = _Extension.CnsldtnGroupJrnlEntry AND ConsolidationPostingItem = _Extension.CnsldtnGroupJrnlEntryItem  -- association [1..1]
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_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_3 AS _CnsldtnUnit_3 ON ConsolidationUnit = _CnsldtnUnit_3.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_3 AS _PartnerUnit_3 ON PartnerConsolidationUnit = _PartnerUnit_3.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_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_3 AS _InvesteeUnit_3 ON InvesteeConsolidationUnit = _InvesteeUnit_3.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_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]
;