I_ProductPlantPlanning

DDL: I_PRODUCTPLANTPLANNING SQL: IPRDPLNTPLANNING Type: view BASIC

Product Plant Planning Details

I_ProductPlantPlanning is a Basic CDS View that provides data about "Product Plant Planning Details" in SAP S/4HANA. It reads from 2 data sources (pgmi, pgzu) and exposes 11 fields with key fields Product, Plant. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
pgmi MemberAllocation from
pgzu MemberQuantityConv inner

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_Product _ProductPlantPlanning $projection.PlanningMaterial = _ProductPlantPlanning.Product
[0..1] I_Plant _PlanningPlant $projection.PlanningPlant = _PlanningPlant.Plant

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPRDPLNTPLANNING view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Product Plant Planning Details view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Product pgmi nrmit Product group
KEY Plant pgmi wemit Plant
PlanningMaterial pgmi prgrp Product Group
PlanningPlant pgzu werks Receiving Plant
ProdPlntPlngMatlConversionFctr pgzu umref Conversion
PlanningMaterialUnitOfMeasure _ProductPlantPlanning BaseUnit Unit of Measure
_Product _Product
_Plant _Plant
_BaseUnitOfMeasureText _ProductPlantPlanning _BaseUnitOfMeasureText
_PlanningPlant _PlanningPlant
_BaseUnitOfMeasure _ProductPlantPlanning _BaseUnitOfMeasure

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_ProductPlantPlanning.
-- 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: IPRDPLNTPLANNING

CREATE VIEW I_ProductPlantPlanning AS
SELECT
  MemberAllocation.nrmit AS Product,
  MemberAllocation.wemit AS Plant,
  MemberAllocation.prgrp AS PlanningMaterial,
  MemberQuantityConv.werks AS PlanningPlant,
  MemberQuantityConv.umref AS ProdPlntPlngMatlConversionFctr,
  _ProductPlantPlanning.BaseUnit AS PlanningMaterialUnitOfMeasure,
  _ProductPlantPlanning._BaseUnitOfMeasureText AS _BaseUnitOfMeasureText,
  _ProductPlantPlanning._BaseUnitOfMeasure AS _BaseUnitOfMeasure
FROM pgmi AS MemberAllocation
INNER JOIN pgzu AS MemberQuantityConv ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Product AS _ProductPlantPlanning ON PlanningMaterial = _ProductPlantPlanning.Product  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _PlanningPlant ON PlanningPlant = _PlanningPlant.Plant  -- association [0..1]
;