I_CnsldtnSalesDistrict

DDL: I_CNSLDTNSALESDISTRICT Type: view COMPOSITE

Consolidation Combined Sales District

I_CnsldtnSalesDistrict (Composite)

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

Consolidation Sales District · Group Reporting

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

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
Purpose
This CDS view provides access to the consolidation sales district. It combines the sales districts from CDS view I_SalesDistrict with additional sales districts maintained in consolidation only. This CDS view provides the data to answer the following business questions: Which sales districts have been specifically defined for exclusive use in group reporting? Which sales districts have been defined in an area other than group reporting? 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 these CDS views must have the following authorization objects assigned: FI_CS_MD (Consolidation Master Data) Configuration FICSMDTYP = SALESDISTRICT (Master Data Type)

Structure
Fields Used for Filtering SalesDistrict : This field is used to determine the sales district. CnsldtnIsAdditionalMasterData : This field is used to indicate the source of a sales district using a blank value for accounting and the value 'X' for consolidation. Important Fields Field Name Description SalesDistrict Sales district

Data Extraction
Data Extraction Type Full (physical deletions are possible in source tables)

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 sales district. It combines the sales districts from CDS view I_SalesDistrict with additional sales districts maintained in consolidation only. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which sales districts have been specifically defined for exclusive use in group reporting? </p></li> <li><p>Which sales districts have been defined in an area other than group reporting? </p></li> </ul> <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

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnSalesDistrictT _Text $projection.SalesDistrict = _Text.SalesDistrict
[1..1] I_CnsldtnMDSource _MDSource $projection.AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource
[0..*] I_CnsldtnSalesDistrictHierNode _HierarchyNode $projection.SalesDistrict = _HierarchyNode.SalesDistrict

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICSSALESDISTR 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 SalesDistrict view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name CnsldtnSalesDistrict view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Consolidation Combined Sales District view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SalesDistrict Sales District
AdditionalMasterDataSource Consolidation Additional Master Data Source
CnsldtnIsAdditionalMasterData Is Additional Master Data
_Text _Text
_MDSource _MDSource
_HierarchyNode _HierarchyNode

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_CnsldtnSalesDistrict.
-- 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_CnsldtnSalesDistrict AS
SELECT
  cast( SalesDistrict as fincs_salesdistrict preserving type ) AS SalesDistrict,
  cast( max ( AdditionalMasterDataSource ) as fincs_masterdatasource preserving type ) AS AdditionalMasterDataSource,
  cast( max ( CnsldtnIsAdditionalMasterData ) as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData
LEFT OUTER JOIN I_CnsldtnSalesDistrictT AS _Text ON SalesDistrict = _Text.SalesDistrict  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnMDSource AS _MDSource ON AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource  -- association [1..1]
LEFT OUTER JOIN I_CnsldtnSalesDistrictHierNode AS _HierarchyNode ON SalesDistrict = _HierarchyNode.SalesDistrict  -- association [0..*]
;