C_ProdSCMProductGroup

DDL: C_PRODSCMPRODUCTGROUP Type: view CONSUMPTION

Consumption view for SCM Product Group

C_ProdSCMProductGroup is a Consumption CDS View that provides data about "Consumption view for SCM Product Group" in SAP S/4HANA. It reads from 1 data source (I_ProdSCMProductGroupTP) and exposes 10 fields with key fields Product, ProductGroupType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProdSCMProductGroupTP I_ProdSCMProductGroupTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_Product _Product $projection.Product = _Product.Product
[0..*] I_SCMProductGroupTypeText _SCMProductGroupTypeText $projection.ProductGroupTypeForEdit = _SCMProductGroupTypeText.ProductGroupType

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CPRDSCMPRODGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Consumption view for SCM Product Group view
Metadata.allowExtensions true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.text.control #ASSOCIATED_TEXT_UI_HIDDEN view
VDM.viewType #CONSUMPTION view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY ProductGroupType ProductGroupType
ProductUUID ProductUUID UUID
ProductGroupTypeForEdit ProductGroupTypeForEdit Product Group Type
ProductGroupValue ProductGroupValue Product Group Value
_Product _Product
_ProductMappg _ProductMappg
_SCMProductGroupType _SCMProductGroupType
_SCMProductGroupTypeText _SCMProductGroupTypeText
_SCMProductGroupValue _SCMProductGroupValue

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 C_ProdSCMProductGroup.
-- 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 C_ProdSCMProductGroup AS
SELECT
  Product,
  ProductGroupType,
  ProductUUID,
  ProductGroupTypeForEdit,
  ProductGroupValue
FROM I_ProdSCMProductGroupTP
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_SCMProductGroupTypeText AS _SCMProductGroupTypeText ON ProductGroupTypeForEdit = _SCMProductGroupTypeText.ProductGroupType  -- association [0..*]
;