I_CnsldtnSegment

DDL: I_CNSLDTNSEGMENT Type: view_entity COMPOSITE

Consolidation Combined Segment

I_CnsldtnSegment (Composite)

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

Consolidation Segment · Group Reporting

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

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
Purpose
This CDS view provides access to the consolidation segment. It combines the segments from the CDS view I_Segment with additional segments maintained for consolidation only. This view provides an association to the Consolidation Segment Hierarchy . This CDS view provides the data to answer the following business questions: What consolidation segments exist? What is the source of a segment using the value ACCTG for values of I_Segment 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 Users who want to use these CDS views must have the following authorization objects assigned: F_CS_MD Configuration FICSMDTYP = SEGMENT (Master Data Type)

Structure
Fields Used for Filtering The main filters are as follows: Segment : This field is used to determine the segment. AdditionalMasterDataSource : This field is used to determine the source of a segment in accounting or consolidation. Further Important Fields Important fields in this view include the following: Field Name Description Comment Segment A segment 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
Description <p>This CDS view provides access to the consolidation segment. It combines the segments from the CDS view I_Segment with additional segments maintained for consolidation only. </p> <p>This view provides an association to the Consolidation Segment Hierarchy.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What consolidation segments exist? </p></li> <li><p>What is the source of a segment using the value ACCTG for values of I_Segment and the value CNSLDTN for consolidation. </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 (4)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnSegmentT _Text $projection.Segment = _Text.Segment
[0..*] I_CnsldtnSegmentHierNode _SegmentHierNode $projection.Segment = _SegmentHierNode.Segment
[0..*] I_CnsldtnSegmentTNHierNode _TmprlNde $projection.Segment = _TmprlNde.Segment
[1..1] I_CnsldtnMDSource _MDSource $projection.AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource

Annotations (16)

NameValueLevelField
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Analytics.technicalName ICSSEGMENT view
AccessControl.authorizationCheck #MANDATORY 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 Segment view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name CnsldtnSegment view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Consolidation Combined Segment view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY Segment Segment number
AdditionalMasterDataSource Consolidation Additional Master Data Source
CnsldtnIsAdditionalMasterData Is Additional Master Data
_Text _Text
_SegmentHierNode _SegmentHierNode
_MDSource _MDSource
_TmprlNde _TmprlNde

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_CnsldtnSegment.
-- 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_CnsldtnSegment AS
SELECT
  cast( Segment as fincs_segment preserving type ) AS Segment,
  cast( max ( AdditionalMasterDataSource ) as fincs_masterdatasource preserving type ) AS AdditionalMasterDataSource,
  cast( max ( CnsldtnIsAdditionalMasterData ) as fincs_isadditionalmasterdata preserving type ) AS CnsldtnIsAdditionalMasterData
LEFT OUTER JOIN I_CnsldtnSegmentT AS _Text ON Segment = _Text.Segment  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnSegmentHierNode AS _SegmentHierNode ON Segment = _SegmentHierNode.Segment  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnSegmentTNHierNode AS _TmprlNde ON Segment = _TmprlNde.Segment  -- association [0..*]
LEFT OUTER JOIN I_CnsldtnMDSource AS _MDSource ON AdditionalMasterDataSource = _MDSource.AdditionalMasterDataSource  -- association [1..1]
;