C_ProductStockRqmtListChart

DDL: C_PRODUCTSTOCKRQMTLISTCHART SQL: CPRODSTKRQMTCHRT Type: view CONSUMPTION Package: ODATA_PP_DD_REPL

Buffer levels projected stock and DLT

C_ProductStockRqmtListChart is a Consumption CDS View that provides data about "Buffer levels projected stock and DLT" in SAP S/4HANA. It reads from 1 data source (I_ProductStockRequirementList) and exposes 12 fields with key fields Material, Plant, MRPArea, CalendarDate. Part of development package ODATA_PP_DD_REPL.

Data Sources (1)

SourceAliasJoin Type
I_ProductStockRequirementList I_ProductStockRequirementList from

Parameters (3)

NameTypeDefault
P_Material matnr
P_Plant werks_d
P_MRPArea berid

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CPRODSTKRQMTCHRT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Buffer levels projected stock and DLT view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY CalendarDate CalendarDate Calendar Date
CurrentGreenZone
CurrentYellowZone
CurrentRedZone MaterialSafetyStockQty Safety Stock
DecoupledLeadTime DecoupledLeadTime
SpikeHorizonEndDate SpikeHorizonEndDate
BaseUnitofMeasure BaseUnitofMeasure Base Unit
HorizonStartDate HorizonStartDate
HorizonEndDate HorizonEndDate

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_ProductStockRqmtListChart.
-- 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: CPRODSTKRQMTCHRT
-- Parameters: P_Material : matnr, P_Plant : werks_d, P_MRPArea : berid

CREATE VIEW C_ProductStockRqmtListChart AS
SELECT
  Material,
  Plant,
  MRPArea,
  CalendarDate,
  MaterialMaxStockLevelQuantity - ReorderThresholdQuantity AS CurrentGreenZone,
  ReorderThresholdQuantity - MaterialSafetyStockQty AS CurrentYellowZone,
  MaterialSafetyStockQty AS CurrentRedZone,
  DecoupledLeadTime,
  SpikeHorizonEndDate,
  BaseUnitofMeasure,
  HorizonStartDate,
  HorizonEndDate
FROM I_ProductStockRequirementList
;