C_ProductBufferLevelChartTP
Product Buffer Level Zone Chart - Transactions
C_ProductBufferLevelChartTP is a Consumption CDS View that provides data about "Product Buffer Level Zone Chart - Transactions" in SAP S/4HANA. It reads from 1 data source (I_ProdBufLvlChartTP) and exposes 30 fields with key fields Material, Plant, MRPArea, ProposalStartDate, ProposalVersion. It has 2 associations to related views. Part of development package ODATA_PP_DD_STLM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProdBufLvlChartTP | I_ProdBufLvlChartTP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ProductBufferLevelMgmtTP | _ProposalHeaderTP | $projection.Material = _ProposalHeaderTP.Material and $projection.Plant = _ProposalHeaderTP.Plant and $projection.MRPArea = _ProposalHeaderTP.MRPArea and $projection.ProposalStartDate = _ProposalHeaderTP.ProposalStartDate and $projection.ProposalVersion = _ProposalHeaderTP.ProposalVersion |
| [1..1] | P_TimeDependentBufferLevels | _TimeDependentStock | $projection.Material = _TimeDependentStock.Material and $projection.Plant = _TimeDependentStock.Plant and $projection.MRPArea = _TimeDependentStock.MRPArea and $projection.BufPrpslZonePostingDate >= _TimeDependentStock.BufferLevelStartDate and $projection.BufPrpslZonePostingDate <= _TimeDependentStock.BufferLevelEndDate |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRODBUFFCHARTTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.representativeKey | BufPrpslZonePostingDate | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Product Buffer Level Zone Chart - Transactions | view |
Fields (30)
| 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 | Date | |
| RedZoneAdjustmentFactor | RedZoneAdjustmentFactor | |||
| YellowZoneAdjustmentFactor | YellowZoneAdjustmentFactor | |||
| GreenZoneAdjustmentFactor | GreenZoneAdjustmentFactor | |||
| DemandAdjustmentFactor | DemandAdjustmentFactor | |||
| ProposedRedZone | ProposedRedZone | Red Zone | ||
| ProposedYellowZone | ProposedYellowZone | Yellow Zone | ||
| ProposedGreenZone | ProposedGreenZone | Green Zone | ||
| ProposedSafetyStockQty | MaterialSafetyStockQty | Proposed Safety Stock | ||
| ProposedReorderThresholdQty | ReorderThresholdQuantity | Proposed Reorder Point | ||
| ProposedMaxStockQty | MaterialMaxStockLevelQuantity | Proposed Max. Stock | ||
| MaterialSafetyStockQty | _TimeDependentStock | MaterialSafetyStockQty | Current Safety Stock | |
| ReorderThresholdQuantity | _TimeDependentStock | ReorderThresholdQuantity | Current Reorder Point | |
| MaterialMaxStockLevelQuantity | _TimeDependentStock | MaterialMaxStockLevelQuantity | Current Max. Stock | |
| CurrentRedZone | _TimeDependentStock | MaterialSafetyStockQty | Safety Stock | |
| CurrentYellowZone | _TimeDependentStock | CurrentYellowZone | ||
| CurrentGreenZone | _TimeDependentStock | CurrentGreenZone | ||
| ProductAuthorizationGroup | I_ProdBufLvlChartTP | ProductAuthorizationGroup | ||
| ProductGroupAuthorizationGroup | I_ProdBufLvlChartTP | ProductGroupAuthorizationGroup | ||
| ProductTypeAuthorizationGroup | I_ProdBufLvlChartTP | ProductTypeAuthorizationGroup | ||
| MinOrdQtyIsConsideredGreenZone | I_ProdBufLvlChartTP | MinOrdQtyIsConsideredGreenZone | ||
| AverageDailyUsage | AverageDailyUsage | |||
| AvgDailyUsageUnit | AvgDailyUsageUnit | |||
| MaterialBaseUnit | MaterialBaseUnit | Valuation Unit | ||
| _ProposalHeaderTP | _ProposalHeaderTP |
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_ProductBufferLevelChartTP.
-- 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: CPRODBUFFCHARTTP
CREATE VIEW C_ProductBufferLevelChartTP AS
SELECT
Material,
Plant,
MRPArea,
ProposalStartDate,
ProposalVersion,
BufPrpslZonePostingDate,
RedZoneAdjustmentFactor,
YellowZoneAdjustmentFactor,
GreenZoneAdjustmentFactor,
DemandAdjustmentFactor,
ProposedRedZone,
ProposedYellowZone,
ProposedGreenZone,
MaterialSafetyStockQty AS ProposedSafetyStockQty,
ReorderThresholdQuantity AS ProposedReorderThresholdQty,
MaterialMaxStockLevelQuantity AS ProposedMaxStockQty,
_TimeDependentStock.MaterialSafetyStockQty AS MaterialSafetyStockQty,
_TimeDependentStock.ReorderThresholdQuantity AS ReorderThresholdQuantity,
_TimeDependentStock.MaterialMaxStockLevelQuantity AS MaterialMaxStockLevelQuantity,
_TimeDependentStock.MaterialSafetyStockQty AS CurrentRedZone,
_TimeDependentStock.CurrentYellowZone AS CurrentYellowZone,
_TimeDependentStock.CurrentGreenZone AS CurrentGreenZone,
I_ProdBufLvlChartTP.ProductAuthorizationGroup AS ProductAuthorizationGroup,
I_ProdBufLvlChartTP.ProductGroupAuthorizationGroup AS ProductGroupAuthorizationGroup,
I_ProdBufLvlChartTP.ProductTypeAuthorizationGroup AS ProductTypeAuthorizationGroup,
I_ProdBufLvlChartTP.MinOrdQtyIsConsideredGreenZone AS MinOrdQtyIsConsideredGreenZone,
AverageDailyUsage,
AvgDailyUsageUnit,
MaterialBaseUnit
FROM I_ProdBufLvlChartTP
LEFT OUTER JOIN C_ProductBufferLevelMgmtTP AS _ProposalHeaderTP ON Material = _ProposalHeaderTP.Material AND Plant = _ProposalHeaderTP.Plant AND MRPArea = _ProposalHeaderTP.MRPArea AND ProposalStartDate = _ProposalHeaderTP.ProposalStartDate AND ProposalVersion = _ProposalHeaderTP.ProposalVersion -- association [1..1]
LEFT OUTER JOIN P_TimeDependentBufferLevels AS _TimeDependentStock ON Material = _TimeDependentStock.Material AND Plant = _TimeDependentStock.Plant AND MRPArea = _TimeDependentStock.MRPArea AND BufPrpslZonePostingDate >= _TimeDependentStock.BufferLevelStartDate AND BufPrpslZonePostingDate <= _TimeDependentStock.BufferLevelEndDate -- association [1..1]
;
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