I_CustomerGroup

DDL: I_CUSTOMERGROUP SQL: ISDCUSTGRP Type: view BASIC

Customer Group

I_CustomerGroup is a Basic CDS View (Dimension) that provides data about "Customer Group" in SAP S/4HANA. It reads from 1 data source (t151) and exposes 3 fields with key field CustomerGroup. It has 2 associations to related views.

SAP Help Documentation

CategorySales Master Data Management
Purpose
This CDS view retrieves customer groups. 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 .

SAP Business Warehouse (SAP BW) Extraction
The I_CustomerGroupText view supports the extraction. Data extraction type Full (physical deletions are possible in source tables) Delta (change data capture) Corresponding DataSource (Extractor) ISDCUSTGRPT 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 →

Data Sources (1)

SourceAliasJoin Type
t151 t151 from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_CustomerGroupText _Text $projection.CustomerGroup = _Text.CustomerGroup
[0..*] I_CustomerGroupHierarchyNode _CustomerGroupHierarchyNode $projection.CustomerGroup = _CustomerGroupHierarchyNode.CustomerGroup

Annotations (20)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CustomerGroup view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Customer Group view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISDCUSTGRP view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name CustomerGroup view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CustomerGroup kdgrp Customer group
_Text _Text
_CustomerGroupHierarchyNode _CustomerGroupHierarchyNode

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_CustomerGroup.
-- 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: ISDCUSTGRP

CREATE VIEW I_CustomerGroup AS
SELECT
  kdgrp AS CustomerGroup
FROM t151
LEFT OUTER JOIN I_CustomerGroupText AS _Text ON CustomerGroup = _Text.CustomerGroup  -- association [0..*]
LEFT OUTER JOIN I_CustomerGroupHierarchyNode AS _CustomerGroupHierarchyNode ON CustomerGroup = _CustomerGroupHierarchyNode.CustomerGroup  -- association [0..*]
;