I_CnsldtnCountry

DDL: I_CNSLDTNCOUNTRY Type: view COMPOSITE

Consolidation Combined Country/Region

I_CnsldtnCountry (Composite)

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

Consolidation Country · Group Reporting

I_CnsldtnCountry is a Composite CDS View (Dimension) that provides data about "Consolidation Combined Country/Region" in SAP S/4HANA. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
Corresponding DataSourceICSCOUNTRY ICSCOUNTRYT
Purpose
This CDS view provides access to the consolidation country and region. It combines the countries and regions from CDS view I_Country with additional countries and regions maintained in group reporting for consolidation only. This CDS view provides the data to answer the following business questions: What consolidation countries and regions exist? What is the source of a value, either from the view I_Country or from consolidation?

Prerequisites
Authorizations Users who want to use these CDS views must have the following authorization objects assigned: FI_CS_MD (Consolidation Master Data) Configuration FICSMDTYP = CUSTOMERSUPPLIERCOUNTRY (Master Data Type)

Structure
Fields Used for Filtering The main filters are as follows: Country : used to determine the country or region. CnsldtnIsAdditionalMasterData : This field indicates the source of a value. The value blank indicates that the source of a value is accounting. The value X indicates that the source of a value is consolidation. Further Important Fields Important fields in this view include the following: Field Name Description Comment Country Country / Region Key AdditionalMasterDataSource The field is deprecated and replaced by CnsldtnIsAdditionalMasterData -

Data 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
Description <p>This CDS view provides access to the consolidation country and region. It combines the countries and regions from CDS view I_Country with additional countries and regions maintained in group reporting for consolidation only. </p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What consolidation countries and regions exist? </p></li> <li><p>What is the source of a value, either from the view I_Country or from consolidation?</p></li> </ul>

Documentation

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnCountryT _Text $projection.Country = _Text.Country
[0..*] I_CnsldtnCountryHierNode _CountryHierNode $projection.Country = _CountryHierNode.Country
[1..1] I_CnsldtnMDSource _MDSource $projection.AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICSCOUNTRY 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 #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey Country view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name CnsldtnCountry view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Consolidation Combined Country/Region view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Country Country/Region in Consolidation
AdditionalMasterDataSource Consolidation Additional Master Data Source
CnsldtnIsAdditionalMasterData Is Additional Master Data
_MDSource _MDSource
_Text _Text
_CountryHierNode _CountryHierNode

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_CnsldtnCountry.
-- 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_CnsldtnCountry AS
SELECT
  cast( Country as fincs_country preserving type ) AS Country,
  cast( max ( AdditionalMasterDataSource ) as fincs_masterdatasource preserving type ) AS AdditionalMasterDataSource,
  cast( max ( CnsldtnIsAdditionalMasterData ) as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData
LEFT OUTER JOIN I_CnsldtnCountryT AS _Text ON Country = _Text.Country  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnCountryHierNode AS _CountryHierNode ON Country = _CountryHierNode.Country  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnMDSource AS _MDSource ON AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource  -- association [1..1]
;