A_CnsldtnCustomerGroup

DDL: A_CNSLDTNCUSTOMERGROUP SQL: ACSCUSTOMERGROUP Type: view COMPOSITE

Combined Customer Group

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

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnCustomerGroup _Source from

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_CnsldtnCustomerGroupT _CnsldtnCustomerGroupT $projection.CustomerGroup = _CnsldtnCustomerGroupT.CustomerGroup
[0..*] A_CnsldtnCustomerGroupHier _CnsldtnCustomerGroupHier $projection.MDHierType = _CnsldtnCustomerGroupHier.MDHierType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ACSCUSTOMERGROUP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Combined Customer Group view
VDM.viewType #COMPOSITE 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 #S view
OData.entitySet.name CustomerGroup view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CustomerGroup I_CnsldtnCustomerGroup CustomerGroup Customer Group
AdditionalMasterDataSource I_CnsldtnCustomerGroup AdditionalMasterDataSource
MDHierType
HierarchyType
_CnsldtnCustomerGroupT _CnsldtnCustomerGroupT
_CnsldtnCustomerGroupHier _CnsldtnCustomerGroupHier

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_CnsldtnCustomerGroup.
-- 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.
-- SQL view name: ACSCUSTOMERGROUP

CREATE VIEW A_CnsldtnCustomerGroup AS
SELECT
  _Source.CustomerGroup AS CustomerGroup,
  _Source.AdditionalMasterDataSource AS AdditionalMasterDataSource,
  cast ( 'CS13' as hrytype ) AS MDHierType,
  cast ( 'CS13' as hrytype ) AS HierarchyType
FROM I_CnsldtnCustomerGroup AS _Source
LEFT OUTER JOIN A_CnsldtnCustomerGroupT AS _CnsldtnCustomerGroupT ON CustomerGroup = _CnsldtnCustomerGroupT.CustomerGroup  -- association [0..*]
LEFT OUTER JOIN A_CnsldtnCustomerGroupHier AS _CnsldtnCustomerGroupHier ON MDHierType = _CnsldtnCustomerGroupHier.MDHierType  -- association [0..*]
;