I_ProductPlantWD

DDL: I_PRODUCTPLANTWD SQL: IPRDPLANTWD Type: view TRANSACTIONAL

Product BO - Plant Node (draft)

I_ProductPlantWD is a Transactional CDS View that provides data about "Product BO - Plant Node (draft)" in SAP S/4HANA. It reads from 2 data sources (I_ProductPlantBasic, P_PlantReferences) and exposes 72 fields with key fields Product, Plant. It has 24 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_ProductPlantBasic Plant from
P_PlantReferences Reference left_outer

Associations (24)

CardinalityTargetAliasCondition
[0..1] E_Productplant _ActiveExtension $projection.Product = _ActiveExtension.Product and $projection.Plant = _ActiveExtension.Plant
[0..1] E_Productplant _DraftExtension $projection.Product = _DraftExtension.Product and $projection.Plant = _DraftExtension.Plant
[1..1] I_ProductWD _Product $projection.Product = _Product.Product
[0..*] I_ProductStorageLocationWD _StorageLocation $projection.Product = _StorageLocation.Product and $projection.Plant = _StorageLocation.Plant
[0..1] I_Productplantprocurementwd _PlantProcurement $projection.Product = _PlantProcurement.Product and $projection.Plant = _PlantProcurement.Plant
[0..1] I_ProductplantsalesWD _PlantSales $projection.Product = _PlantSales.Product and $projection.Plant = _PlantSales.Plant
[0..1] I_Productplantqtmanagementwd _PlantQualityMgmt $projection.Product = _PlantQualityMgmt.Product and $projection.Plant = _PlantQualityMgmt.Plant
[0..1] I_ProductSupplyPlanningWD _MaterialLotSizingProcedure $projection.Product = _MaterialLotSizingProcedure.Product and $projection.Plant = _MaterialLotSizingProcedure.Plant
[0..1] I_ProductPlantForecastTP _ProductPlantForecast $projection.Product = _ProductPlantForecast.Product and $projection.Plant = _ProductPlantForecast.Plant
[0..1] I_ProductWorkSchedulingWD _GoodsMovementQuantity $projection.Product = _GoodsMovementQuantity.Product and $projection.Plant = _GoodsMovementQuantity.Plant
[0..1] I_Productplantstoragewd _PlantStorage $projection.Product = _PlantStorage.Product and $projection.Plant = _PlantStorage.Plant
[0..1] I_Productplantadvplanwd _AdvancedPlanning $projection.Product = _AdvancedPlanning.Product and $projection.Plant = _AdvancedPlanning.Plant
[0..*] I_AdvncdPlngProductDmndPnltyTP _DemandPenalty $projection.Product = _DemandPenalty.Product and $projection.Plant = _DemandPenalty.Plant
[1..*] I_ProductPlantMRPTP _MRPAreaData $projection.Product = _MRPAreaData.Product and $projection.Plant = _MRPAreaData.Plant
[0..1] I_ProductPlantIntlTrdTP _ProdPlantInternationalTrade $projection.Product = _ProdPlantInternationalTrade.Product and $projection.Plant = _ProdPlantInternationalTrade.Plant
[0..1] I_ProductPlantCostingTP _ProductPlantCosting $projection.Product = _ProductPlantCosting.Product and $projection.Plant = _ProductPlantCosting.Plant
[0..1] I_ProdReplnmtRecipientTP _ProductReplnmtRecipient $projection.Product = _ProductReplnmtRecipient.Product and $projection.Plant = _ProductReplnmtRecipient.Plant
[0..1] I_ProdPlntFcstParametersTP _ProdPlntFcstParameters $projection.Product = _ProdPlntFcstParameters.Product and $projection.Plant = _ProdPlntFcstParameters.Plant
[0..1] I_ProdPlantPurchaseTaxTP _ProdPlantPurchaseTax $projection.Product = _ProdPlantPurchaseTax.Product and $projection.Plant = _ProdPlantPurchaseTax.Plant
[0..1] I_ProductPlantESPPTP _ProdPlantESPP $projection.Product = _ProdPlantESPP.Product and $projection.Plant = _ProdPlantESPP.Plant
[0..1] I_ProdSrvcPartsLocProductTP _ProdSrvcPartsLoc $projection.Product = _ProdSrvcPartsLoc.Product and $projection.Plant = _ProdSrvcPartsLoc.Plant
[0..1] I_ProductPRTByInternalKeyTP _ProdPlantPRT $projection.Product = _ProdPlantPRT.Product and $projection.Plant = _ProdPlantPRT.Plant
[0..*] I_CmmdtyQuantityPurchasingTP _CmmdtyQuantityPurchasing $projection.Product = _CmmdtyQuantityPurchasing.Product and $projection.Plant = _CmmdtyQuantityPurchasing.Plant
[0..*] I_CmmdtyStructuralQuantityTP _CommodityStructuralQuantity $projection.Product = _CommodityStructuralQuantity.Product and $projection.Plant = _CommodityStructuralQuantity.Plant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPRDPLANTWD view
EndUserText.label Product BO - Plant Node (draft) view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence PROD_PLANT view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductPlantBasic Product Product Sold
KEY Plant I_ProductPlantBasic Plant Valuation Area
ProductForEdit I_ProductPlantBasic Product Product Sold
PlantForEdit I_ProductPlantBasic Plant Valuation Area
ProfileCode I_ProductPlantBasic ProfileCode Product Status
ProfileValidityStartDate I_ProductPlantBasic ProfileValidityStartDate Valid from
FiscalYearVariant I_ProductPlantBasic FiscalYearVariant FY Variant
PeriodType I_ProductPlantBasic PeriodType PeriodIndicator
ProfitCenter I_ProductPlantBasic ProfitCenter Profit Center
IsMarkedForDeletion I_ProductPlantBasic IsMarkedForDeletion Purch.org. data
ConfigurableProduct I_ProductPlantBasic ConfigurableProduct Conf. Material
StockDeterminationGroup I_ProductPlantBasic StockDeterminationGroup Stock Determ. Group
IsBatchManagementRequired I_ProductPlantBasic IsBatchManagementRequired Batch Mgmt Rqt(Plnt)
SerialNumberProfile I_ProductPlantBasic SerialNumberProfile SerialNoProfile
IsNegativeStockAllowed I_ProductPlantBasic IsNegativeStockAllowed Neg. stocks
IsInternalBatchManaged I_ProductPlantBasic IsInternalBatchManaged Batches
ProductCFOPCategory I_ProductPlantBasic ProductCFOPCategory Prod. category
ProductIsExciseTaxRelevant I_ProductPlantBasic ProductIsExciseTaxRelevant Is Excise Tax Relevant
ControllingArea
SalesOrganization P_PlantReferences SalesOrganization Sales Organization
DistributionChannel P_PlantReferences DistributionChannel RefDistCh-Cust/Mat.
PlantCategory P_PlantReferences PlantCategory Plant cat.
ReferenceDistributionCenter P_PlantReferences ReferenceDistributionCenter Ref. distr. ctr
ReferenceStore P_PlantReferences ReferenceStore Reference Store
IsReferenceDistributionCenter P_PlantReferences IsReferenceDistributionCenter TRUE
IsReferenceStore P_PlantReferences IsReferenceStore TRUE
ConfigurationSideEffect
GoodsIssueUnit I_ProductPlantBasic GoodsIssueUnit Unit of Issue
DistrCntrDistributionProfile I_ProductPlantBasic DistrCntrDistributionProfile Dist.prof.
ProductMaxControlTemperature I_ProductPlantBasic ProductMaxControlTemperature Max. Temp.
ProductMinControlTemperature I_ProductPlantBasic ProductMinControlTemperature Min. Temp.
ProductControlTemperatureUnit I_ProductPlantBasic ProductControlTemperatureUnit Temp. UoM
ProductFreightGroup I_ProductPlantBasic MaterialFreightGroup Mat.Freight Grp
_Product _Product
_StorageLocation _StorageLocation
_PlantProcurement _PlantProcurement
_PlantSales _PlantSales
_PlantQualityMgmt _PlantQualityMgmt
_MaterialLotSizingProcedure _MaterialLotSizingProcedure
_GoodsMovementQuantity _GoodsMovementQuantity
_PlantStorage _PlantStorage
_AdvancedPlanning _AdvancedPlanning
_DemandPenalty _DemandPenalty
_MRPAreaData _MRPAreaData
_ProdPlantInternationalTrade _ProdPlantInternationalTrade
_ProductPlantCosting _ProductPlantCosting
_ProductReplnmtRecipient _ProductReplnmtRecipient
_ProdPlntFcstParameters _ProdPlntFcstParameters
_ProdPlantPurchaseTax _ProdPlantPurchaseTax
_ProdPlantESPP _ProdPlantESPP
_ProdPlantPRT _ProdPlantPRT
_ProdSrvcPartsLoc _ProdSrvcPartsLoc
_CmmdtyQuantityPurchasing _CmmdtyQuantityPurchasing
_CommodityStructuralQuantity _CommodityStructuralQuantity
_GoodsIssueUnit _GoodsIssueUnit
_UnitOfMeasureText _UnitOfMeasureText
_ProductStatus _ProductStatus
_ProductStatusText _ProductStatusText
_FiscalYearVariant _FiscalYearVariant
_FiscalYearVariantDescription _FiscalYearVariantDescription
_ConfigurableProduct _ConfigurableProduct
_ConfigurableProductName _ConfigurableProductName
_DistributionProfile _DistributionProfile
_DistributionProfileText _DistributionProfileText
_StockDeterminationGroup _StockDeterminationGroup
_StockDeterminationGroupT _StockDeterminationGroupT
_ProductCFOPCategory _ProductCFOPCategory
_CFOPDesc _CFOPDesc
_PeriodType _PeriodType
_PeriodTypeText _PeriodTypeText
_ProductFreightGroup I_ProductPlantBasic _ProductFreightGroup
_ProductFreightGroupText I_ProductPlantBasic _ProductFreightGroupText

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_ProductPlantWD.
-- 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: IPRDPLANTWD

CREATE VIEW I_ProductPlantWD AS
SELECT
  Plant.Product AS Product,
  Plant.Plant AS Plant,
  Plant.Product AS ProductForEdit,
  Plant.Plant AS PlantForEdit,
  Plant.ProfileCode AS ProfileCode,
  Plant.ProfileValidityStartDate AS ProfileValidityStartDate,
  Plant.FiscalYearVariant AS FiscalYearVariant,
  Plant.PeriodType AS PeriodType,
  Plant.ProfitCenter AS ProfitCenter,
  Plant.IsMarkedForDeletion AS IsMarkedForDeletion,
  Plant.ConfigurableProduct AS ConfigurableProduct,
  Plant.StockDeterminationGroup AS StockDeterminationGroup,
  Plant.IsBatchManagementRequired AS IsBatchManagementRequired,
  Plant.SerialNumberProfile AS SerialNumberProfile,
  Plant.IsNegativeStockAllowed AS IsNegativeStockAllowed,
  Plant.IsInternalBatchManaged AS IsInternalBatchManaged,
  Plant.ProductCFOPCategory AS ProductCFOPCategory,
  Plant.ProductIsExciseTaxRelevant AS ProductIsExciseTaxRelevant,
  cast('' as kokrs) AS ControllingArea,
  Reference.SalesOrganization AS SalesOrganization,
  Reference.DistributionChannel AS DistributionChannel,
  Reference.PlantCategory AS PlantCategory,
  Reference.ReferenceDistributionCenter AS ReferenceDistributionCenter,
  Reference.ReferenceStore AS ReferenceStore,
  Reference.IsReferenceDistributionCenter AS IsReferenceDistributionCenter,
  Reference.IsReferenceStore AS IsReferenceStore,
  cast('' as vchclf_side_effect_data) AS ConfigurationSideEffect,
  Plant.GoodsIssueUnit AS GoodsIssueUnit,
  Plant.DistrCntrDistributionProfile AS DistrCntrDistributionProfile,
  Plant.ProductMaxControlTemperature AS ProductMaxControlTemperature,
  Plant.ProductMinControlTemperature AS ProductMinControlTemperature,
  Plant.ProductControlTemperatureUnit AS ProductControlTemperatureUnit,
  Plant.MaterialFreightGroup AS ProductFreightGroup,
  Plant._ProductFreightGroup AS _ProductFreightGroup,
  Plant._ProductFreightGroupText AS _ProductFreightGroupText
FROM I_ProductPlantBasic AS Plant
LEFT OUTER JOIN P_PlantReferences AS Reference ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_Productplant AS _ActiveExtension ON Product = _ActiveExtension.Product AND Plant = _ActiveExtension.Plant  -- association [0..1]
LEFT OUTER JOIN E_Productplant AS _DraftExtension ON Product = _DraftExtension.Product AND Plant = _DraftExtension.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductWD AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_ProductStorageLocationWD AS _StorageLocation ON Product = _StorageLocation.Product AND Plant = _StorageLocation.Plant  -- association [0..*]
LEFT OUTER JOIN I_Productplantprocurementwd AS _PlantProcurement ON Product = _PlantProcurement.Product AND Plant = _PlantProcurement.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductplantsalesWD AS _PlantSales ON Product = _PlantSales.Product AND Plant = _PlantSales.Plant  -- association [0..1]
LEFT OUTER JOIN I_Productplantqtmanagementwd AS _PlantQualityMgmt ON Product = _PlantQualityMgmt.Product AND Plant = _PlantQualityMgmt.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductSupplyPlanningWD AS _MaterialLotSizingProcedure ON Product = _MaterialLotSizingProcedure.Product AND Plant = _MaterialLotSizingProcedure.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductPlantForecastTP AS _ProductPlantForecast ON Product = _ProductPlantForecast.Product AND Plant = _ProductPlantForecast.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductWorkSchedulingWD AS _GoodsMovementQuantity ON Product = _GoodsMovementQuantity.Product AND Plant = _GoodsMovementQuantity.Plant  -- association [0..1]
LEFT OUTER JOIN I_Productplantstoragewd AS _PlantStorage ON Product = _PlantStorage.Product AND Plant = _PlantStorage.Plant  -- association [0..1]
LEFT OUTER JOIN I_Productplantadvplanwd AS _AdvancedPlanning ON Product = _AdvancedPlanning.Product AND Plant = _AdvancedPlanning.Plant  -- association [0..1]
LEFT OUTER JOIN I_AdvncdPlngProductDmndPnltyTP AS _DemandPenalty ON Product = _DemandPenalty.Product AND Plant = _DemandPenalty.Plant  -- association [0..*]
LEFT OUTER JOIN I_ProductPlantMRPTP AS _MRPAreaData ON Product = _MRPAreaData.Product AND Plant = _MRPAreaData.Plant  -- association [1..*]
LEFT OUTER JOIN I_ProductPlantIntlTrdTP AS _ProdPlantInternationalTrade ON Product = _ProdPlantInternationalTrade.Product AND Plant = _ProdPlantInternationalTrade.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductPlantCostingTP AS _ProductPlantCosting ON Product = _ProductPlantCosting.Product AND Plant = _ProductPlantCosting.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProdReplnmtRecipientTP AS _ProductReplnmtRecipient ON Product = _ProductReplnmtRecipient.Product AND Plant = _ProductReplnmtRecipient.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProdPlntFcstParametersTP AS _ProdPlntFcstParameters ON Product = _ProdPlntFcstParameters.Product AND Plant = _ProdPlntFcstParameters.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProdPlantPurchaseTaxTP AS _ProdPlantPurchaseTax ON Product = _ProdPlantPurchaseTax.Product AND Plant = _ProdPlantPurchaseTax.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductPlantESPPTP AS _ProdPlantESPP ON Product = _ProdPlantESPP.Product AND Plant = _ProdPlantESPP.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProdSrvcPartsLocProductTP AS _ProdSrvcPartsLoc ON Product = _ProdSrvcPartsLoc.Product AND Plant = _ProdSrvcPartsLoc.Plant  -- association [0..1]
LEFT OUTER JOIN I_ProductPRTByInternalKeyTP AS _ProdPlantPRT ON Product = _ProdPlantPRT.Product AND Plant = _ProdPlantPRT.Plant  -- association [0..1]
LEFT OUTER JOIN I_CmmdtyQuantityPurchasingTP AS _CmmdtyQuantityPurchasing ON Product = _CmmdtyQuantityPurchasing.Product AND Plant = _CmmdtyQuantityPurchasing.Plant  -- association [0..*]
LEFT OUTER JOIN I_CmmdtyStructuralQuantityTP AS _CommodityStructuralQuantity ON Product = _CommodityStructuralQuantity.Product AND Plant = _CommodityStructuralQuantity.Plant  -- association [0..*]
;