C_ProductBufferLevelMicroChart

DDL: C_PRODUCTBUFFERLEVELMICROCHART SQL: CPRDBUFMICCHT Type: view CONSUMPTION

Product Buffer Level Micro Chart

C_ProductBufferLevelMicroChart is a Consumption CDS View that provides data about "Product Buffer Level Micro Chart" in SAP S/4HANA. It reads from 1 data source (P_ProductBufferLevelMicroCht) and exposes 11 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion.

Data Sources (1)

SourceAliasJoin Type
P_ProductBufferLevelMicroCht P_ProductBufferLevelMicroCht from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CPRDBUFMICCHT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Product Buffer Level Micro Chart view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
VDM.viewType #CONSUMPTION view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY ProposalStartDate ProposalStartDate
KEY ProposalVersion ProposalVersion
KEY BufPrpslZonePostingDate BufPrpslZonePostingDate
RowIndex
MaterialSafetyStockQty
ReorderThresholdQuantity
MaterialMaxStockLevelQuantity
AverageDailyUsage

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_ProductBufferLevelMicroChart.
-- 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: CPRDBUFMICCHT

CREATE VIEW C_ProductBufferLevelMicroChart AS
SELECT
  Material,
  Plant,
  MRPArea,
  ProposalStartDate,
  ProposalVersion,
  BufPrpslZonePostingDate,
  cast(division((dats_days_between(TodaysDate,BufPrpslZonePostingDate) + 91),3,0) as abap.fltp) AS RowIndex,
  cast( ProposedRedZone as abap.fltp) AS MaterialSafetyStockQty,
  cast( ProposedYellowZone as minbe) AS ReorderThresholdQuantity,
  cast( MatlProposedMaxStock as abap.fltp) AS MaterialMaxStockLevelQuantity,
  cast(AverageDailyUsage as abap.fltp) AS AverageDailyUsage
FROM P_ProductBufferLevelMicroCht
;