I_ProductPlantMRPTP

DDL: I_PRODUCTPLANTMRPTP SQL: IPRDPLNTMRPTP Type: view TRANSACTIONAL

BO View for Product MRP Area

I_ProductPlantMRPTP is a Transactional CDS View that provides data about "BO View for Product MRP Area" in SAP S/4HANA. It reads from 1 data source (I_ProductPlantMRP) and exposes 112 fields with key fields Product, MRPArea, Plant. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductPlantMRP MRPData from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_AdvncdPlngProdMRPDmndPnltyTP _DemandPenalty $projection.Product = _DemandPenalty.Product and $projection.MRPArea = _DemandPenalty.MRPArea and $projection.Plant = _DemandPenalty.Plant
[1..1] I_ProductWD _Product $projection.Product = _Product.Product
[1..1] I_ProductPlantWD _Plant $projection.Product = _Plant.Product and $projection.Plant = _Plant.Plant
[1..1] I_ProdSrvcPartsLocProductMRPTP _ProdSrvcPartsLocProductMRP $projection.Product = _ProdSrvcPartsLocProductMRP.Product and $projection.MRPArea = _ProdSrvcPartsLocProductMRP.MRPArea and $projection.Plant = _ProdSrvcPartsLocProductMRP.Plant

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IPRDPLNTMRPTP view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label BO View for Product MRP Area view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeDraftPersistence PROD_PLNT_MRP view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY Product I_ProductPlantMRP Product Product Sold
KEY MRPArea I_ProductPlantMRP MRPArea MRP Area
KEY Plant I_ProductPlantMRP Plant Valuation Area
ProductForEdit I_ProductPlantMRP Product Product Sold
PlantForEdit I_ProductPlantMRP Plant Valuation Area
MRPAreaForEdit I_ProductPlantMRP MRPArea MRP Area
MRPType I_ProductPlantMRP MRPType MRP Type
MRPResponsible I_ProductPlantMRP MRPResponsible MRP Controller
MRPGroup I_ProductPlantMRP MRPGroup MRP Group
ReorderThresholdQuantity I_ProductPlantMRP ReorderThresholdQuantity Reorder Point
PlanAndOrderDayDetermination I_ProductPlantMRP PlanAndOrderDayDetermination Planning cycle
PlanningTimeFence I_ProductPlantMRP PlanningTimeFence Plng time fence
LotSizingProcedure I_ProductPlantMRP LotSizingProcedure Lot Sizing Procedure
RoundingProfile I_ProductPlantMRP RoundingProfile Rnding Profile
LotSizeRoundingQuantity I_ProductPlantMRP LotSizeRoundingQuantity Rounding value
MinimumLotSizeQuantity I_ProductPlantMRP MinimumLotSizeQuantity Min. Lot Size
MaximumLotSizeQuantity I_ProductPlantMRP MaximumLotSizeQuantity Max. Lot Size
MaximumStockQuantity I_ProductPlantMRP MaximumStockQuantity Max.stock level
AssemblyScrapPercent I_ProductPlantMRP AssemblyScrapPercent Assembly scrap
ProcurementSubType I_ProductPlantMRP ProcurementSubType SpecProcurement
StorageLocation I_ProductPlantMRP StorageLocation StorageLocation
DfltStorageLocationExtProcmt I_ProductPlantMRP DfltStorageLocationExtProcmt Storage Location
MRPPlanningCalendar I_ProductPlantMRP MRPPlanningCalendar Planning cal.
SafetyStockQuantity I_ProductPlantMRP SafetyStockQuantity Safety stock
RangeOfCvrgPrflCode I_ProductPlantMRP RangeOfCvrgPrflCode Coverage Prof.
SafetyDuration I_ProductPlantMRP SafetyDuration Safety time
FixedLotSizeQuantity I_ProductPlantMRP FixedLotSizeQuantity Fixed lot size
LotSizeIndependentCosts I_ProductPlantMRP LotSizeIndependentCosts LSI Costs
StorageCostsPercentageCode I_ProductPlantMRP StorageCostsPercentageCode Storage Costs
SrvcLvl I_ProductPlantMRP SrvcLvl Service level
IsMarkedForDeletion I_ProductPlantMRP IsMarkedForDeletion Purch.org. data
PerdPrflForSftyTme I_ProductPlantMRP PerdPrflForSftyTme Time Profile
DependentRqmtMRPRelevance I_ProductPlantMRP DependentRqmtMRPRelevance MRP Relevant
MaintenanceStatusName I_ProductPlantMRP MaintenanceStatusName Maint. status
ProductSafetyTimeMRPRelevance I_ProductPlantMRP ProductSafetyTimeMRPRelevance Safety Time Ind
PlannedDeliveryDurationInDays I_ProductPlantMRP PlannedDeliveryDurationInDays Plnd dely time
IsPlannedDeliveryTime I_ProductPlantMRP IsPlannedDeliveryTime
CreationDate I_ProductPlantMRP CreationDate Time Stamp
RqmtQtyRcptTaktTmeInWrkgDays I_ProductPlantMRP RqmtQtyRcptTaktTmeInWrkgDays Takt time
PPPlanningProcedure I_ProductPlantMRP PPPlanningProcedure PP Plng Proced.
ProdnPlngHeuristic I_ProductPlantMRP ProdnPlngHeuristic Heuristic
ProductPlanningPackage I_ProductPlantMRP ProductPlanningPackage Plan. Package
ProductPlanningGroup I_ProductPlantMRP ProductPlanningGroup Planning Group
AdvncdPlngPPDSHorizonInDays I_ProductPlantMRP AdvncdPlngPPDSHorizonInDays PP/DS Horizon
LotSizeUnit I_ProductPlantMRP LotSizeUnit Lot Size Unit
ReorderDaysSupplyInWorkDays I_ProductPlantMRP ReorderDaysSupplyInWorkDays Reorder DS
ReorderDaysSupplyInWorkDayCalc
TargetDaysSupplyInWorkDays I_ProductPlantMRP TargetDaysSupplyInWorkDays Trgt Days' Sup.
TargetDaysSupplyInWorkDaysCalc
PlngCalendarPerdcLotSizing I_ProductPlantMRP PlngCalendarPerdcLotSizing Per.LS Plng Cal
LocProdGoodsReceiptProcHours I_ProductPlantMRP LocProdGoodsReceiptProcHours GR Processng Time
LocProdGoodsRcptProcHoursCalc
LocProdGoodsIssueProcHours I_ProductPlantMRP LocProdGoodsIssueProcHours GI Processng Time
LocProdGoodsIssueProcHoursCalc
GRHandlingCapacityQuantity I_ProductPlantMRP GRHandlingCapacityQuantity GR Handlg Cap. Cons.
GRHandlingCapacityUnit I_ProductPlantMRP GRHandlingCapacityUnit UoM:HandlCap GR
GIHandlingCapacityQuantity I_ProductPlantMRP GIHandlingCapacityQuantity GI Handlg Cap. Cons.
GIHandlingCapacityUnit I_ProductPlantMRP GIHandlingCapacityUnit UoM:HandlCap GI
SrvcPartsThroughputTimeDurn I_ProductPlantMRP SrvcPartsThroughputTimeDurn
SrvcPartsThroughputTmeDurnCalc
ParLocSafetyStockQuantity I_ProductPlantMRP ParLocSafetyStockQuantity SFT Parent Location
VCLSafetyStockQuantity I_ProductPlantMRP VCLSafetyStockQuantity Safety Stock for VCL
VCLParLocSafetyStockQuantity I_ProductPlantMRP VCLParLocSafetyStockQuantity SFT Parent Loc. VCL
VCLReorderPointQuantity I_ProductPlantMRP VCLReorderPointQuantity Reord. Point (VCL)
VCLMaximumStockQuantity I_ProductPlantMRP VCLMaximumStockQuantity Maximum Stock (VCL)
CostFactorForStockHoldingVal I_ProductPlantMRP CostFactorForStockHoldingVal Holding Cost Factor
ProductProcurementCostsVal I_ProductPlantMRP ProductProcurementCostsVal Procuremt Costs
GoodsReceiptHandlingCost I_ProductPlantMRP GoodsReceiptHandlingCost GR Costs
GoodsIssueHandlingCost I_ProductPlantMRP GoodsIssueHandlingCost GI Costs
ConsumptionOfStorageCapacity I_ProductPlantMRP ConsumptionOfStorageCapacity Stor. Consumptn
ConsumptionOfStorageCapUnit I_ProductPlantMRP ConsumptionOfStorageCapUnit Unit of Meas.
BaseUnit I_ProductPlantMRP BaseUnit Unit of Measure
Currency I_ProductPlantMRP Currency Valuation Crcy
MRPSafetyStockMethod I_ProductPlantMRP MRPSafetyStockMethod Safety Stock Method
MaxDaysOfSupplyIsActive I_ProductPlantMRP MaxDaysOfSupplyIsActive Is Max Dos Active
MaxDaysOfSupplyPenaltyAmount I_ProductPlantMRP MaxDaysOfSupplyPenaltyAmount Penalty MaxDoS
AdvncdPlngSftyStkMeth I_ProductPlantMRP AdvncdPlngSftyStkMeth Safety Stock Method
AdvncdPlngTgtStkLvlMeth I_ProductPlantMRP AdvncdPlngTgtStkLvlMeth Targ.Stk Lvl Md
SftyStkMethIsAutomlyDtmnd I_ProductPlantMRP SftyStkMethIsAutomlyDtmnd Checkbox
PeriodFactorIsUsed I_ProductPlantMRP PeriodFactorIsUsed Use Period Fac.
AdvncdPlngPeriodFactorValue I_ProductPlantMRP AdvncdPlngPeriodFactorValue Period Factor
TimeDepdntStkLvlPerdFactorVal I_ProductPlantMRP TimeDepdntStkLvlPerdFactorVal Period Factor TDS
LocProdStorageCostValue I_ProductPlantMRP LocProdStorageCostValue Prod.Stor. Costs
SftyStkVioltnPnltyCostValue I_ProductPlantMRP SftyStkVioltnPnltyCostValue Safety Stk Pen.
_DemandPenalty _DemandPenalty
_Product _Product
_Plant _Plant
_ProdSrvcPartsLocProductMRP _ProdSrvcPartsLocProductMRP
_MRPType _MRPType
_MRPTypeName _MRPTypeName
_MRPResponsible _MRPResponsible
_LotSizingProcedure _LotSizingProcedure
_PlantInvtryManagedLoc _PlantInvtryManagedLoc
_LotSizeUnit _LotSizeUnit
_GRHandlingCapacityUnit _GRHandlingCapacityUnit
_GIHandlingCapacityUnit _GIHandlingCapacityUnit
_ProdnPlngHeuristic _ProdnPlngHeuristic
_PPPlanningProcedure _PPPlanningProcedure
_ProductPlanningPackage _ProductPlanningPackage
_RangeOfCvrgPrflCode _RangeOfCvrgPrflCode
_RangeOfCvrgPrflCodeText _RangeOfCvrgPrflCodeText
_MRPGroupText _MRPGroupText
_LotSizingProcedureText _LotSizingProcedureText
_MRPPlanningCalendarText _MRPPlanningCalendarText
_StorageCostsPercentageCode _StorageCostsPercentageCode
_SafetyTimePeriodProfile _SafetyTimePeriodProfile
_SafetyTimePeriodProfileText _SafetyTimePeriodProfileText
_PlantVH _PlantVH
_ProductProcmtProfile _ProductProcmtProfile
_ProductProcmtProfileText _ProductProcmtProfileText
_MRPSafetyStockMethod _MRPSafetyStockMethod
_MRPSafetyStockMethodText _MRPSafetyStockMethodText

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_ProductPlantMRPTP.
-- 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: IPRDPLNTMRPTP

CREATE VIEW I_ProductPlantMRPTP AS
SELECT
  MRPData.Product AS Product,
  MRPData.MRPArea AS MRPArea,
  MRPData.Plant AS Plant,
  MRPData.Product AS ProductForEdit,
  MRPData.Plant AS PlantForEdit,
  MRPData.MRPArea AS MRPAreaForEdit,
  MRPData.MRPType AS MRPType,
  MRPData.MRPResponsible AS MRPResponsible,
  MRPData.MRPGroup AS MRPGroup,
  MRPData.ReorderThresholdQuantity AS ReorderThresholdQuantity,
  MRPData.PlanAndOrderDayDetermination AS PlanAndOrderDayDetermination,
  MRPData.PlanningTimeFence AS PlanningTimeFence,
  MRPData.LotSizingProcedure AS LotSizingProcedure,
  MRPData.RoundingProfile AS RoundingProfile,
  MRPData.LotSizeRoundingQuantity AS LotSizeRoundingQuantity,
  MRPData.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
  MRPData.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
  MRPData.MaximumStockQuantity AS MaximumStockQuantity,
  MRPData.AssemblyScrapPercent AS AssemblyScrapPercent,
  MRPData.ProcurementSubType AS ProcurementSubType,
  MRPData.StorageLocation AS StorageLocation,
  MRPData.DfltStorageLocationExtProcmt AS DfltStorageLocationExtProcmt,
  MRPData.MRPPlanningCalendar AS MRPPlanningCalendar,
  MRPData.SafetyStockQuantity AS SafetyStockQuantity,
  MRPData.RangeOfCvrgPrflCode AS RangeOfCvrgPrflCode,
  MRPData.SafetyDuration AS SafetyDuration,
  MRPData.FixedLotSizeQuantity AS FixedLotSizeQuantity,
  MRPData.LotSizeIndependentCosts AS LotSizeIndependentCosts,
  MRPData.StorageCostsPercentageCode AS StorageCostsPercentageCode,
  MRPData.SrvcLvl AS SrvcLvl,
  MRPData.IsMarkedForDeletion AS IsMarkedForDeletion,
  MRPData.PerdPrflForSftyTme AS PerdPrflForSftyTme,
  MRPData.DependentRqmtMRPRelevance AS DependentRqmtMRPRelevance,
  MRPData.MaintenanceStatusName AS MaintenanceStatusName,
  MRPData.ProductSafetyTimeMRPRelevance AS ProductSafetyTimeMRPRelevance,
  MRPData.PlannedDeliveryDurationInDays AS PlannedDeliveryDurationInDays,
  MRPData.IsPlannedDeliveryTime AS IsPlannedDeliveryTime,
  MRPData.CreationDate AS CreationDate,
  MRPData.RqmtQtyRcptTaktTmeInWrkgDays AS RqmtQtyRcptTaktTmeInWrkgDays,
  MRPData.PPPlanningProcedure AS PPPlanningProcedure,
  MRPData.ProdnPlngHeuristic AS ProdnPlngHeuristic,
  MRPData.ProductPlanningPackage AS ProductPlanningPackage,
  MRPData.ProductPlanningGroup AS ProductPlanningGroup,
  MRPData.AdvncdPlngPPDSHorizonInDays AS AdvncdPlngPPDSHorizonInDays,
  MRPData.LotSizeUnit AS LotSizeUnit,
  MRPData.ReorderDaysSupplyInWorkDays AS ReorderDaysSupplyInWorkDays,
  cast ( cast ( 0 as abap.quan(6,2) ) as cmd_prd_reord_dur preserving type ) AS ReorderDaysSupplyInWorkDayCalc,
  MRPData.TargetDaysSupplyInWorkDays AS TargetDaysSupplyInWorkDays,
  cast ( cast ( 0 as abap.quan(6,2) ) as cmd_prd_target_dur preserving type ) AS TargetDaysSupplyInWorkDaysCalc,
  MRPData.PlngCalendarPerdcLotSizing AS PlngCalendarPerdcLotSizing,
  MRPData.LocProdGoodsReceiptProcHours AS LocProdGoodsReceiptProcHours,
  cast ( cast ( 0 as abap.quan(6,2) ) as cmd_prd_good_rcpt_proc_time preserving type ) AS LocProdGoodsRcptProcHoursCalc,
  MRPData.LocProdGoodsIssueProcHours AS LocProdGoodsIssueProcHours,
  cast ( cast ( 0 as abap.quan(6,2) ) as cmd_prd_good_issue_proc_time preserving type ) AS LocProdGoodsIssueProcHoursCalc,
  MRPData.GRHandlingCapacityQuantity AS GRHandlingCapacityQuantity,
  MRPData.GRHandlingCapacityUnit AS GRHandlingCapacityUnit,
  MRPData.GIHandlingCapacityQuantity AS GIHandlingCapacityQuantity,
  MRPData.GIHandlingCapacityUnit AS GIHandlingCapacityUnit,
  MRPData.SrvcPartsThroughputTimeDurn AS SrvcPartsThroughputTimeDurn,
  cast ( cast ( 0 as abap.quan(6,2) ) as cmd_prd_srvcprts_thruput_time preserving type ) AS SrvcPartsThroughputTmeDurnCalc,
  MRPData.ParLocSafetyStockQuantity AS ParLocSafetyStockQuantity,
  MRPData.VCLSafetyStockQuantity AS VCLSafetyStockQuantity,
  MRPData.VCLParLocSafetyStockQuantity AS VCLParLocSafetyStockQuantity,
  MRPData.VCLReorderPointQuantity AS VCLReorderPointQuantity,
  MRPData.VCLMaximumStockQuantity AS VCLMaximumStockQuantity,
  MRPData.CostFactorForStockHoldingVal AS CostFactorForStockHoldingVal,
  MRPData.ProductProcurementCostsVal AS ProductProcurementCostsVal,
  MRPData.GoodsReceiptHandlingCost AS GoodsReceiptHandlingCost,
  MRPData.GoodsIssueHandlingCost AS GoodsIssueHandlingCost,
  MRPData.ConsumptionOfStorageCapacity AS ConsumptionOfStorageCapacity,
  MRPData.ConsumptionOfStorageCapUnit AS ConsumptionOfStorageCapUnit,
  MRPData.BaseUnit AS BaseUnit,
  MRPData.Currency AS Currency,
  MRPData.MRPSafetyStockMethod AS MRPSafetyStockMethod,
  MRPData.MaxDaysOfSupplyIsActive AS MaxDaysOfSupplyIsActive,
  MRPData.MaxDaysOfSupplyPenaltyAmount AS MaxDaysOfSupplyPenaltyAmount,
  MRPData.AdvncdPlngSftyStkMeth AS AdvncdPlngSftyStkMeth,
  MRPData.AdvncdPlngTgtStkLvlMeth AS AdvncdPlngTgtStkLvlMeth,
  MRPData.SftyStkMethIsAutomlyDtmnd AS SftyStkMethIsAutomlyDtmnd,
  MRPData.PeriodFactorIsUsed AS PeriodFactorIsUsed,
  MRPData.AdvncdPlngPeriodFactorValue AS AdvncdPlngPeriodFactorValue,
  MRPData.TimeDepdntStkLvlPerdFactorVal AS TimeDepdntStkLvlPerdFactorVal,
  MRPData.LocProdStorageCostValue AS LocProdStorageCostValue,
  MRPData.SftyStkVioltnPnltyCostValue AS SftyStkVioltnPnltyCostValue
FROM I_ProductPlantMRP AS MRPData
LEFT OUTER JOIN I_AdvncdPlngProdMRPDmndPnltyTP AS _DemandPenalty ON Product = _DemandPenalty.Product AND MRPArea = _DemandPenalty.MRPArea AND Plant = _DemandPenalty.Plant  -- association [0..*]
LEFT OUTER JOIN I_ProductWD AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_ProductPlantWD AS _Plant ON Product = _Plant.Product AND Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_ProdSrvcPartsLocProductMRPTP AS _ProdSrvcPartsLocProductMRP ON Product = _ProdSrvcPartsLocProductMRP.Product AND MRPArea = _ProdSrvcPartsLocProductMRP.MRPArea AND Plant = _ProdSrvcPartsLocProductMRP.Plant  -- association [1..1]
;