I_ProductBufferLevelChart
Product Buffer Level Chart
I_ProductBufferLevelChart is a Composite CDS View that provides data about "Product Buffer Level Chart" in SAP S/4HANA. It reads from 4 data sources (P_DDMRPChartHorizon, I_ProdBufLvlPrpsl, P_ProductAdoptedBufferLevels, P_ProductBufferLevelChartFutr) and exposes 49 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. It has 1 association to related views. Part of development package PPH_DD_VDM_STLM.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| P_DDMRPChartHorizon | _Cald | union_all |
| I_ProdBufLvlPrpsl | _ProposalHeader | left_outer |
| P_ProductAdoptedBufferLevels | _TimeStkBuffer | left_outer |
| P_ProductBufferLevelChartFutr | P_ProductBufferLevelChartFutr | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProdBufLvlPrpslDemand | _dmndpast | _dmndpast.Material = _TimeStkBuffer.Material and _dmndpast.Plant = _TimeStkBuffer.Plant and _dmndpast.MRPArea = _TimeStkBuffer.MRPArea and _dmndpast.ProposalStartDate = _TimeStkBuffer.ProposalStartDate and _dmndpast.ProposalVersion = _TimeStkBuffer.ProposalVersion and _dmndpast.ProposalRecordDetailsStartDate <= _Cald.CalendarDate and _dmndpast.ProposalRecordDetailsEndDate >= _Cald.CalendarDate and _dmndpast.ProposalRecordDetailsStartDate <= $session.system_date |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDDPRODBUFCHART | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Product Buffer Level Chart | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | ProposalStartDate | ProposalStartDate | ||
| KEY | ProposalVersion | ProposalVersion | ||
| KEY | BufPrpslZonePostingDate | BufPrpslZonePostingDate | Calendar Date | |
| RedZoneAdjustmentFactor | RedZoneAdjustmentFactor | |||
| YellowZoneAdjustmentFactor | YellowZoneAdjustmentFactor | |||
| GreenZoneAdjustmentFactor | GreenZoneAdjustmentFactor | |||
| DemandAdjustmentFactor | DemandAdjustmentFactor | |||
| ProposedGreenZoneMinOrdQty | ProposedGreenZoneMinOrdQty | Minimum Order Quantity | ||
| ProposedGreenZoneOrdCycle | ||||
| DecoupledLeadTime | DecoupledLeadTime | |||
| VariabilityFactor | VariabilityFactor | |||
| LeadTimeFactor | LeadTimeFactor | |||
| AverageDailyUsage | AverageDailyUsage | |||
| AvgDailyUsageUnit | AvgDailyUsageUnit | |||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| ProductAuthorizationGroup | ProductAuthorizationGroup | |||
| ProductTypeAuthorizationGroup | ProductTypeAuthorizationGroup | |||
| ProductGroupAuthorizationGroup | ProductGroupAuthorizationGroup | |||
| Material | Vehicle Model | |||
| KEY | Plant | I_ProdBufLvlPrpsl | Plant | Valuation Area |
| KEY | MRPArea | I_ProdBufLvlPrpsl | MRPArea | MRP Area |
| KEY | ProposalStartDate | I_ProdBufLvlPrpsl | ProposalStartDate | |
| KEY | ProposalVersion | I_ProdBufLvlPrpsl | ProposalVersion | |
| KEY | BufPrpslZonePostingDate | P_DDMRPChartHorizon | CalendarDate | Calendar Date |
| RedZoneAdjustmentFactor | ||||
| YellowZoneAdjustmentFactor | ||||
| GreenZoneAdjustmentFactor | ||||
| DemandAdjustmentFactor | ||||
| ProposedRedZone | MaterialSafetyStockQty | Safety Stock | ||
| MaterialSafetyStockQty | MaterialSafetyStockQty | Safety Stock | ||
| ProposedYellowZone | ||||
| ReorderThresholdQuantity | ReorderThresholdQuantity | Reorder Point | ||
| ProposedGreenZone | ||||
| MaterialMaxStockLevelQuantity | MaterialMaxStockLevelQuantity | |||
| ProposedGreenZoneMinOrdQty | Minimum Order Quantity | |||
| ProposedGreenZoneOrdCycle | ||||
| DecoupledLeadTime | ||||
| VariabilityFactor | ||||
| LeadTimeFactor | ||||
| AverageDailyUsage | _dmndpast | AverageDailyUsage | ||
| AvgDailyUsageUnit | ||||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| ProductAuthorizationGroup | I_ProdBufLvlPrpsl | ProductAuthorizationGroup | ||
| ProductTypeAuthorizationGroup | I_ProdBufLvlPrpsl | ProductTypeAuthorizationGroup | ||
| ProductGroupAuthorizationGroup | I_ProdBufLvlPrpsl | ProductGroupAuthorizationGroup | ||
| MinOrdQtyIsConsideredGreenZone | P_ProductAdoptedBufferLevels | MinOrdQtyIsConsideredGreenZone |
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_ProductBufferLevelChart.
-- 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: IDDPRODBUFCHART
CREATE VIEW I_ProductBufferLevelChart AS
SELECT
Material,
Plant,
MRPArea,
ProposalStartDate,
ProposalVersion,
BufPrpslZonePostingDate,
RedZoneAdjustmentFactor,
YellowZoneAdjustmentFactor,
GreenZoneAdjustmentFactor,
DemandAdjustmentFactor,
ProposedGreenZoneMinOrdQty,
cast(ProposedGreenZoneOrdCycle as pph_proposed_greenzone) AS ProposedGreenZoneOrdCycle,
DecoupledLeadTime,
VariabilityFactor,
LeadTimeFactor,
AverageDailyUsage,
AvgDailyUsageUnit,
MaterialBaseUnit,
ProductAuthorizationGroup,
ProductTypeAuthorizationGroup,
ProductGroupAuthorizationGroup,
MaterialSafetyStockQty AS ProposedRedZone,
MaterialSafetyStockQty,
ReorderThresholdQuantity - MaterialSafetyStockQty AS ProposedYellowZone,
ReorderThresholdQuantity,
MaterialMaxStockLevelQuantity - ReorderThresholdQuantity AS ProposedGreenZone,
MaterialMaxStockLevelQuantity,
_TimeStkBuffer.MinOrdQtyIsConsideredGreenZone AS MinOrdQtyIsConsideredGreenZone
FROM P_ProductBufferLevelChartFutr
LEFT OUTER JOIN I_ProdBufLvlPrpsl AS _ProposalHeader ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ProductAdoptedBufferLevels AS _TimeStkBuffer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ProdBufLvlPrpslDemand AS _dmndpast ON _dmndpast.Material = _TimeStkBuffer.Material AND _dmndpast.Plant = _TimeStkBuffer.Plant AND _dmndpast.MRPArea = _TimeStkBuffer.MRPArea AND _dmndpast.ProposalStartDate = _TimeStkBuffer.ProposalStartDate AND _dmndpast.ProposalVersion = _TimeStkBuffer.ProposalVersion AND _dmndpast.ProposalRecordDetailsStartDate <= _Cald.CalendarDate AND _dmndpast.ProposalRecordDetailsEndDate >= _Cald.CalendarDate AND _dmndpast.ProposalRecordDetailsStartDate <= $session.system_date -- association [1..1]
-- UNION ALL with additional select branch(es): P_DDMRPChartHorizon
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA