I_CnsldtnGLAccount_2

DDL: I_CNSLDTNGLACCOUNT_2 Type: view COMPOSITE

Consolidation Combined G/L Account

I_CnsldtnGLAccount_2 (Composite)

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

Consolidation G/L Account · Group Reporting

I_CnsldtnGLAccount_2 is a Composite CDS View (Dimension) that provides data about "Consolidation Combined G/L Account" in SAP S/4HANA. It has 5 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
Purpose
This CDS view provides access to the G/L account in consolidation. It combines the values from the CDS view I_GLAccountInChartOfAccounts with additional G/L accounts maintained for consolidation only. This CDS view provides the data to answer the following business questions: What G/L accounts exist and in which G/L chart of accounts? What is the source of a G/L account using the value ACCTG for values of I_GLAccountInChartOfAccounts and the value CNSLDTN for 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 One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: SAP_FIN_BC_CCON_MDORG_PC SAP_A4C_BC_DEV_TST_FI_CCON_PC Configuration FICSMDTYP = GLACCOUNT (Master Data Type)

Structure
Fields Used for Filtering The main filters are as follows: ChartOfAccounts : This field is used to determine the G/L chart of accounts. GLAccount : This field is used to determine the G/L account. AdditionalMasterDataSource : This field is used to determine the source of values in accounting or consolidation. Further Important Fields Important fields in this view include the following: Field Name Description Comment ChartOfAccounts A G/L chart of accounts Key (superordinate) GLAccount A G/L account Key AdditionalMasterDataSource The source of a value -

SAP Business Warehouse (SAP BW) Extraction
Data Extraction Type Full (physical deletions are possible in source tables) Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-MD
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Analytical Dimension
PackageGroup Reporting for SAP S/4HANA Cloud Private Edition

Documentation

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_CnsldtnGLChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
[0..*] I_CnsldtnGLAccountT_2 _Text $projection.GLAccount = _Text.GLAccount and $projection.ChartOfAccounts = _Text.ChartOfAccounts
[0..*] I_CnsldtnGLAccountHierNode _GLAccountHierNode $projection.GLAccount = _GLAccountHierNode.GLAccount and $projection.ChartOfAccounts = _GLAccountHierNode.ChartOfAccounts
[0..*] I_CnsldtnGLAccountHierNode_2 _GLAccountHierNode_2 $projection.GLAccount = _GLAccountHierNode_2.GLAccount and $projection.ChartOfAccounts = _GLAccountHierNode_2.ChartOfAccounts
[1..1] I_CnsldtnMDSource _MDSource $projection.AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICSGLACCOUNT2 view
AbapCatalog.compiler.compareFilter true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.representativeKey GLAccount view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name CnsldtnGLAccount view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Consolidation Combined G/L Account view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ChartOfAccounts G/L Chart of Accounts
KEY GLAccount General Ledger
AdditionalMasterDataSource Consolidation Additional Master Data Source
CnsldtnIsAdditionalMasterData Is Additional Master Data
CreationDateTime Creation Date Time
_ChartOfAccounts _ChartOfAccounts
_Text _Text
_GLAccountHierNode _GLAccountHierNode
_GLAccountHierNode_2 _GLAccountHierNode_2
_MDSource _MDSource

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_CnsldtnGLAccount_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.

CREATE VIEW I_CnsldtnGLAccount_2 AS
SELECT
  cast( ChartOfAccounts as fincs_chartofaccounts preserving type ) AS ChartOfAccounts,
  cast( GLAccount as fincs_glaccount preserving type ) AS GLAccount,
  cast( max ( AdditionalMasterDataSource ) as fincs_masterdatasource preserving type ) AS AdditionalMasterDataSource,
  cast( max ( CnsldtnIsAdditionalMasterData ) as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData,
  cast( min ( CreationDateTime ) as fincs_creationdatetime preserving type ) AS CreationDateTime
LEFT OUTER JOIN I_CnsldtnGLChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnGLAccountT_2 AS _Text ON GLAccount = _Text.GLAccount AND ChartOfAccounts = _Text.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnGLAccountHierNode AS _GLAccountHierNode ON GLAccount = _GLAccountHierNode.GLAccount AND ChartOfAccounts = _GLAccountHierNode.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnGLAccountHierNode_2 AS _GLAccountHierNode_2 ON GLAccount = _GLAccountHierNode_2.GLAccount AND ChartOfAccounts = _GLAccountHierNode_2.ChartOfAccounts  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnMDSource AS _MDSource ON AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource  -- association [1..1]
;