A_CnsldtnPartnerSegment

DDL: A_CNSLDTNPARTNERSEGMENT Type: view COMPOSITE

Combined Partner Segment

A_CnsldtnPartnerSegment is a Composite CDS View that provides data about "Combined Partner Segment" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnSegment) and exposes 6 fields with key field Segment. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnSegment I_CnsldtnSegment from

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_CnsldtnPartnerSegmentT _CnsldtnPartnerSegmentT $projection.Segment = _CnsldtnPartnerSegmentT.Segment
[0..*] A_CnsldtnPartnerSegmentHier _CnsldtnPartnerSegmentHier $projection.MDHierType = _CnsldtnPartnerSegmentHier.MDHierType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACSPARTSEGMENT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.representativeKey Segment view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Combined Partner Segment view
OData.entitySet.name PartnerSegment view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Segment Segment number
AdditionalMasterDataSource AdditionalMasterDataSource
MDHierType
HierarchyType
_CnsldtnPartnerSegmentT _CnsldtnPartnerSegmentT
_CnsldtnPartnerSegmentHier _CnsldtnPartnerSegmentHier

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 A_CnsldtnPartnerSegment.
-- 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 A_CnsldtnPartnerSegment AS
SELECT
  cast(Segment as fincs_psegment preserving type ) AS Segment,
  AdditionalMasterDataSource,
  cast ( 'CS01' as hrytype ) AS MDHierType,
  cast ( 'CS01' as hrytype ) AS HierarchyType
FROM I_CnsldtnSegment
LEFT OUTER JOIN A_CnsldtnPartnerSegmentT AS _CnsldtnPartnerSegmentT ON Segment = _CnsldtnPartnerSegmentT.Segment  -- association [0..*]
LEFT OUTER JOIN A_CnsldtnPartnerSegmentHier AS _CnsldtnPartnerSegmentHier ON MDHierType = _CnsldtnPartnerSegmentHier.MDHierType  -- association [0..*]
;