I_ProdBufPositioning
Product Buffer Positioning View
I_ProdBufPositioning is a Composite CDS View that provides data about "Product Buffer Positioning View" in SAP S/4HANA. It reads from 1 data source (I_ProductPlantMRPArea) and exposes 43 fields with key fields Material, Plant, MRPArea. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductPlantMRPArea | I_ProductPlantMRPArea | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ProdBufPositioningCache | _ProdBufPositioning | $projection.Material = _ProdBufPositioning.Material and $projection.Plant = _ProdBufPositioning.Plant and $projection.MRPArea = _ProdBufPositioning.MRPArea |
| [1..*] | I_MaterialGroupText | _MaterialGroupText | $projection.MaterialGroup = _MaterialGroupText.MaterialGroup |
| [1..1] | I_DemandDrivenExtdProduct | _DDProduct | $projection.Material = _DDProduct.Material and $projection.Plant = _DDProduct.Plant and $projection.MRPArea = _DDProduct.MRPArea |
| [0..1] | I_ProcurementTypeText | _ProcmtText | $projection.procurementtype = _ProcmtText.ProcurementType and _ProcmtText.Language = $session.system_language |
| [0..1] | I_ProdBufVariabilityIndicatorT | _VarLongTxt | $projection.variabilitycode = _VarLongTxt.VariabilityIndicator and _VarLongTxt.Language = $session.system_language |
| [0..1] | I_ProdBufLeadTimeIndicatorT | _ReplnmtLongTxt | $projection.replenishmentleadtimecode = _ReplnmtLongTxt.ReplenishmentLeadTimeCode and _ReplnmtLongTxt.Language = $session.system_language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRODBUFPOS | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Product Buffer Positioning View | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Material | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRP Area | ||
| DecoupledLeadTime | _DDProduct | DecoupledLeadTime | ||
| MaterialBaseUnit | ||||
| AverageDailyUsageendasAverageDailyUsage | ||||
| CreatedByUser | _ProdBufPositioning | CreatedByUser | User Name | |
| AvgDailyUsgeChgdByUsr | _ProdBufPositioning | AvgDailyUsgeChgdByUsr | ||
| CreationTime | _ProdBufPositioning | CreationTime | Time of Change | |
| AvgDailyUsgeChgdOn | _ProdBufPositioning | AvgDailyUsgeChgdOn | ||
| DecoupledLeadTmeChgdByUsr | _ProdBufPositioning | DecoupledLeadTmeChgdByUsr | ||
| DecoupledLeadTmeChgdOn | _ProdBufPositioning | DecoupledLeadTmeChgdOn | ||
| BufferedMRPType | ||||
| NonBufferedMRPType | ||||
| MRPController | MRPController | MRP Controller | ||
| MRPGroup | MRPGroup | MRP Group | ||
| MRPType | MRPType | MRP Type | ||
| MaterialGroup | _Material | ProductGroup | Product Sold Group | |
| MaterialType | _Material | ProductType | Product Type Group | |
| MRPProcedure | MRPProcedure | |||
| PlanningTimeFence | PlanningTimeFence | Plng time fence | ||
| LotSizingProcedure | LotSizingProcedure | Lot Sizing Procedure | ||
| MaterialMaxStockLevelQuantity | MaterialMaxStockLevelQuantity | |||
| MinimumLotSizeQuantity | MinimumLotSizeQuantity | Min. Lot Size | ||
| ReorderThresholdQuantity | ReorderThresholdQuantity | Reorder Point | ||
| SafetyStockQuantity | SafetyStockQuantity | Safety stock | ||
| IsMRPAreaExisting | IsMRPAreaExisting | |||
| ProductIsBuffered | ProductIsBuffered | |||
| ProductAuthorizationGroup | _Product | AuthorizationGroup | AuthorizGroup | |
| ProductTypeAuthorizationGroup | ||||
| ProductGroupAuthorizationGroup | ||||
| ProcurementType | _DDProduct | ProcurementType | Procurement | |
| VariabilityCode | _DDProduct | VariabilityCode | ||
| ReplenishmentLeadTimeCode | _DDProduct | ReplenishmentLeadTimeCode | ||
| DDScopeProductendasDDScopeProduct | ||||
| BOMUsageCode | _DDProduct | BOMUsageCode | ||
| ConsumptionCode | _DDProduct | ConsumptionCode | ||
| _Material | _Material | |||
| _MaterialGroupText | _MaterialGroupText | |||
| _DDProduct | _DDProduct | |||
| _ProcmtText | _ProcmtText | |||
| _VarLongTxt | _VarLongTxt | |||
| _ReplnmtLongTxt | _ReplnmtLongTxt |
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_ProdBufPositioning.
-- 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: IPRODBUFPOS
CREATE VIEW I_ProdBufPositioning AS
SELECT
Material,
Plant,
cast(MRPArea as berid preserving type) AS MRPArea,
_DDProduct.DecoupledLeadTime AS DecoupledLeadTime,
I_ProductPlantMRPArea._Material.BaseUnit AS MaterialBaseUnit,
case when _ProdBufPositioning.AvgDailyUsgeChgdOn < $session.system_date then -9999 when _ProdBufPositioning.AvgDailyUsgeChgdByUsr is null then -9999 else _ProdBufPositioning.AverageDailyUsage end as AverageDailyUsage AS AverageDailyUsageendasAverageDailyUsage,
_ProdBufPositioning.CreatedByUser AS CreatedByUser,
_ProdBufPositioning.AvgDailyUsgeChgdByUsr AS AvgDailyUsgeChgdByUsr,
_ProdBufPositioning.CreationTime AS CreationTime,
_ProdBufPositioning.AvgDailyUsgeChgdOn AS AvgDailyUsgeChgdOn,
_ProdBufPositioning.DecoupledLeadTmeChgdByUsr AS DecoupledLeadTmeChgdByUsr,
_ProdBufPositioning.DecoupledLeadTmeChgdOn AS DecoupledLeadTmeChgdOn,
cast( '' as dismm ) AS BufferedMRPType,
cast( '' as dismm ) AS NonBufferedMRPType,
MRPController,
MRPGroup,
MRPType,
_Material.ProductGroup AS MaterialGroup,
_Material.ProductType AS MaterialType,
MRPProcedure,
PlanningTimeFence,
LotSizingProcedure,
MaterialMaxStockLevelQuantity,
MinimumLotSizeQuantity,
ReorderThresholdQuantity,
SafetyStockQuantity,
IsMRPAreaExisting,
ProductIsBuffered,
_Product.AuthorizationGroup AS ProductAuthorizationGroup,
_Product._ProductType.AuthorizationGroup AS ProductTypeAuthorizationGroup,
_Product._ProductGroup.AuthorizationGroup AS ProductGroupAuthorizationGroup,
_DDProduct.ProcurementType AS ProcurementType,
_DDProduct.VariabilityCode AS VariabilityCode,
_DDProduct.ReplenishmentLeadTimeCode AS ReplenishmentLeadTimeCode,
case when _DDProduct.DDScopeProduct is null then '' else _DDProduct.DDScopeProduct end as DDScopeProduct AS DDScopeProductendasDDScopeProduct,
_DDProduct.BOMUsageCode AS BOMUsageCode,
_DDProduct.ConsumptionCode AS ConsumptionCode
FROM I_ProductPlantMRPArea
LEFT OUTER JOIN I_ProdBufPositioningCache AS _ProdBufPositioning ON Material = _ProdBufPositioning.Material AND Plant = _ProdBufPositioning.Plant AND MRPArea = _ProdBufPositioning.MRPArea -- association [1..1]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup -- association [1..*]
LEFT OUTER JOIN I_DemandDrivenExtdProduct AS _DDProduct ON Material = _DDProduct.Material AND Plant = _DDProduct.Plant AND MRPArea = _DDProduct.MRPArea -- association [1..1]
LEFT OUTER JOIN I_ProcurementTypeText AS _ProcmtText ON procurementtype = _ProcmtText.ProcurementType AND _ProcmtText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ProdBufVariabilityIndicatorT AS _VarLongTxt ON variabilitycode = _VarLongTxt.VariabilityIndicator AND _VarLongTxt.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ProdBufLeadTimeIndicatorT AS _ReplnmtLongTxt ON replenishmentleadtimecode = _ReplnmtLongTxt.ReplenishmentLeadTimeCode AND _ReplnmtLongTxt.Language = $session.system_language -- association [0..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