C_ProductReplenishment

DDL: C_PRODUCTREPLENISHMENT SQL: CPRODREPLNMT Type: view CONSUMPTION

Consumption View - Product Replenishment

C_ProductReplenishment is a Consumption CDS View that provides data about "Consumption View - Product Replenishment" in SAP S/4HANA. It reads from 1 data source (I_ProductReplenishmentTP) and exposes 11 fields with key fields Product, ProdReplnmtRqmtGroup. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductReplenishmentTP I_ProductReplenishmentTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_Product _Product $projection.Product = _Product.Product
[0..1] I_ProdReplnmtRqmtGroup _ProdReplnmtRqmtGroup $projection.ProdReplnmtRqmtGroupForEdit = _ProdReplnmtRqmtGroup.ProdReplnmtRqmtGroup

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CPRODREPLNMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption View - Product Replenishment view
Search.searchable true view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
Feature SW:ISR_RETAILSWITCH view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY ProdReplnmtRqmtGroup ProdReplnmtRqmtGroup
ProdReplnmtRqmtGroupForEdit ProdReplnmtRqmtGroupForEdit
ProdReplnmtTgtStkQuantity ProdReplnmtTgtStkQuantity
ReorderThresholdQuantity ReorderThresholdQuantity Reorder Point
SafetyStockQuantity SafetyStockQuantity Safety stock
ProdReplnmtMinTgtStockQuantity ProdReplnmtMinTgtStockQuantity
ProdReplnmtMaxTgtStockQuantity ProdReplnmtMaxTgtStockQuantity
BaseUnit BaseUnit Unit of Measure
_Product _Product
_ProdReplnmtRqmtGroup _ProdReplnmtRqmtGroup

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_ProductReplenishment.
-- 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: CPRODREPLNMT

CREATE VIEW C_ProductReplenishment AS
SELECT
  Product,
  ProdReplnmtRqmtGroup,
  ProdReplnmtRqmtGroupForEdit,
  ProdReplnmtTgtStkQuantity,
  ReorderThresholdQuantity,
  SafetyStockQuantity,
  ProdReplnmtMinTgtStockQuantity,
  ProdReplnmtMaxTgtStockQuantity,
  BaseUnit
FROM I_ProductReplenishmentTP
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_ProdReplnmtRqmtGroup AS _ProdReplnmtRqmtGroup ON ProdReplnmtRqmtGroupForEdit = _ProdReplnmtRqmtGroup.ProdReplnmtRqmtGroup  -- association [0..1]
;