I_ProductMRPArea

DDL: I_PRODUCTMRPAREA SQL: IPRODMRPAREA Type: view BASIC

MRP Area Details of a Product

I_ProductMRPArea (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

ProductMRPArea · Manufacturing

I_ProductMRPArea is a Basic CDS View (Dimension) that provides data about "MRP Area Details of a Product" in SAP S/4HANA. It reads from 1 data source (mdma) and exposes 57 fields with key field Product. It has 23 associations to related views.

SAP Help Documentation

CategoryCDS Views for Material Requirements Planning
Data CategoryDIMENSION
StatusReleased
Purpose
This CDS view selects the MRP area relevant data of a product (table MDMA ). This CDS view provides the data to answer the following business questions: Which control parameters and profiles are assigned to an MRP area of a product? Which MRP controller is assigned to an MRP area of a product? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: M_MATE_WRK (Material Master: Plants, display authorization) M_MATE_MAT (Material Master: Materials, display authorization)

Structure
Fields used for filtering The main filters are as follows: MRPPlant used to filter on plant level. MRPController used to filter on MRP controller. Further important fields Important fields in this view include the following: Field Name Description Product Product MRPArea MRP Area MRPPlant MRP Area Plant MRPGroup MRP Group MRPType MRP Type MRPController MRP Controller MRPProfile MRP Profile MRPPlanningCalendar Planning Calendar MRPPlanningCycle Planning Cycle LotSizingProcedure Lot Sizing Procedure SafetyTimePeriodProfile Safety Time Period Profile RangeOfCoverageProfile Range of Coverage Profile PlannedDeliveryDurationInDays Planned Delivery Duration PlanningTimeFenceInDays Planning Time Fence BaseUnit Base Unit of Measure MinimumLotSizeQuantity Minimum Lot Size MaximumLotSizeQuantity Maximum Lot Size SafetyStockQuantity Safety Stock MaterialMaxStockLevelQuantity Maximum Stock Level

SAP Business Warehouse (SAP BW) Extraction
Data extraction type Full (physical deletions are possible in source tables) Delta (change data capture) Corresponding DataSource (Extractor) Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Analytical Dimension
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view selects the MRP area relevant data of a product (table MDMA). </p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Which control parameters and profiles are assigned to an MRP area of a product?</p></li> <li><p>Which MRP controller is assigned to an MRP area of a product?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
mdma mdma from

Associations (23)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_Plant _Plant $projection.MRPPlant = _Plant.Plant
[1..1] I_ProductPlantBasic _ProductPlant $projection.MRPPlant = _ProductPlant.Plant and $projection.Product = _ProductPlant.Product
[1..1] I_ProductPlantMRP _ProductPlantMRPArea $projection.Product = _ProductPlantMRPArea.Product and $projection.MRPArea = _ProductPlantMRPArea.MRPArea and $projection.MRPPlant = _ProductPlantMRPArea.Plant
[1..1] I_MRPArea _MRPArea $projection.MRPArea = _MRPArea.MRPArea
[1..1] I_MRPType _MRPType $projection.MRPType = _MRPType.MRPType
[0..1] I_MRPGroup _MRPGroup $projection.MRPGroup = _MRPGroup.MRPGroup and $projection.MRPPlant = _MRPGroup.MRPPlant
[0..1] I_MRPController _MRPResponsible $projection.MRPPlant = _MRPResponsible.Plant and $projection.MRPController = _MRPResponsible.MRPController
[0..1] I_MRPProfile _MRPProfile $projection.MRPProfile = _MRPProfile.MRPProfile
[0..1] I_MRPPlanningPeriod _MRPPlanningCalendar $projection.MRPPlant = _MRPPlanningCalendar.MRPPlant and $projection.MRPPlanningCalendar = _MRPPlanningCalendar.MRPPlanningCalendar
[0..1] I_MRPPlanningPeriod _MRPPlanningCycle $projection.MRPPlant = _MRPPlanningCycle.MRPPlant and $projection.MRPPlanningCycle = _MRPPlanningCycle.MRPPlanningCalendar
[0..1] I_StorageLocation _ProductionStorageLocation $projection.MRPPlant = _ProductionStorageLocation.Plant and $projection.ProductionStorageLocation = _ProductionStorageLocation.StorageLocation
[0..1] I_StorageLocation _ExtProcmtStorageLocation $projection.MRPPlant = _ExtProcmtStorageLocation.Plant and $projection.DfltStorLocForExtProcmt = _ExtProcmtStorageLocation.StorageLocation
[0..1] I_MRPLotSizingProcedure _MRPLotSizingProcedure $projection.LotSizingProcedure = _MRPLotSizingProcedure.MaterialLotSizingProcedure
[0..1] I_MatlProcurementProfile _MatlProcurementProfile $projection.MaterialProcurementProfile = _MatlProcurementProfile.MaterialProcurementProfile and $projection.MRPPlant = _MatlProcurementProfile.Plant
[0..1] I_RangeOfCoverageProfile _RangeOfCoverageProfile $projection.MRPPlant = _RangeOfCoverageProfile.Plant and $projection.RangeOfCoverageProfile = _RangeOfCoverageProfile.RangeOfCoverageProfile
[0..1] I_SafetyTimePeriodProfile _SafetyTimePeriodProfile $projection.MRPPlant = _SafetyTimePeriodProfile.Plant and $projection.SafetyTimePeriodProfile = _SafetyTimePeriodProfile.SafetyTimePeriodProfile
[0..1] I_ProdSafetyTimeMRPRelevance _ProdSafetyTimeMRPRelevance $projection.ProductSafetyTimeMRPRelevance = _ProdSafetyTimeMRPRelevance.ProductSafetyTimeMRPRelevance
[0..1] I_DepdntRqmtMRPRelevance _DependentRqmtMRPRelevance $projection.DependentRqmtMRPRelevance = _DependentRqmtMRPRelevance.DependentRqmtMRPRelevance
[0..1] I_StorageCostsPercentageCode _StorageCostsPercentage $projection.MRPPlant = _StorageCostsPercentage.Plant and $projection.StorageCostsPercentageCode = _StorageCostsPercentage.StorageCostsPercentageCode
[0..1] I_MRPSafetyStockMethod _MRPSafetyStockMethod $projection.MRPSafetyStockMethod = _MRPSafetyStockMethod.MRPSafetyStockMethod
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName IPRODMRPAREA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey MRPArea view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label MRP Area Details of a Product view

Fields (57)

KeyFieldSource TableSource FieldDescription
KEY Product Product Number
representativekeykeyberidasMRPArea
MRPPlant werks Receiving Plant
MRPGroup disgr MRP Group
MRPType dismm MRP Type
MRPController MRP Controller
MRPProfile Material: MRP Profile
dislsasLotSizingProcedure
MRPPlanningCalendar mrppp Planning Calendar
lfrhyasMRPPlanningCycle
MRPSafetyStockMethod sfty_stk_meth MRP Safety Stock Method
MaterialProcurementProfile Material Procurement Profile
ProductionStorageLocation Production Storage Location
RangeOfCoverageProfile Range-of-Coverage Profile
SafetyTimePeriodProfile Period Profile for Safety Time
ProductSafetyTimeMRPRelevance Code: MRP Relevance of Product Safety Time
DependentRqmtMRPRelevance Code: MRP Relevance of Dependent Requirements
StorageCostsPercentageCode lagpr Storage Costs Percentage Code
RoundingProfile rdprf Rounding Profile
IsMarkedForDeletion loekz Deletion Indicator
LastChangedByUser aenam Name of Person Who Changed Object
LastChangeDate aedat Last Changed On
LastChangeTime aezeit Time of Change
PlannedDeliveryDurationInDays plifz Planned Delivery Time in Days
PlanningTimeFenceInDays Planning Time Fence
RqmtQtyRcptTaktTmeInWrkgDays takzt Takt time
AssemblyScrapPercent ausss Assembly scrap in percent
BaseUnit _Product BaseUnit Base Unit of Measure
MinimumLotSizeQuantity bstmi Minimum Lot Size
MaximumLotSizeQuantity bstma Maximum Lot Size
MaterialMaxStockLevelQuantity mabst Maximum Stock Level
SafetyStockQuantity eisbe Safety Stock
LotSizeRoundingQuantity Rounding Quantity
ReorderThresholdQuantity minbe Reorder Point
_Product _Product
_Plant _Plant
_ProductPlant _ProductPlant
_ProductPlantMRPArea _ProductPlantMRPArea
_MRPArea _MRPArea
_MRPGroup _MRPGroup
_MRPType _MRPType
_MRPResponsible _MRPResponsible
_MRPProfile _MRPProfile
_MRPPlanningCalendar _MRPPlanningCalendar
_MRPPlanningCycle _MRPPlanningCycle
_MRPLotSizingProcedure _MRPLotSizingProcedure
_ProductionStorageLocation _ProductionStorageLocation
_ExtProcmtStorageLocation _ExtProcmtStorageLocation
_MatlProcurementProfile _MatlProcurementProfile
_RangeOfCoverageProfile _RangeOfCoverageProfile
_SafetyTimePeriodProfile _SafetyTimePeriodProfile
_ProdSafetyTimeMRPRelevance _ProdSafetyTimeMRPRelevance
_DependentRqmtMRPRelevance _DependentRqmtMRPRelevance
_StorageCostsPercentage _StorageCostsPercentage
_MRPSafetyStockMethod _MRPSafetyStockMethod
_LastChangedByUser _LastChangedByUser
_BaseUnit _BaseUnit

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_ProductMRPArea.
-- 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: IPRODMRPAREA

CREATE VIEW I_ProductMRPArea AS
SELECT
  cast(matnr as productnumber preserving type) AS Product,
  werks AS MRPPlant,
  disgr AS MRPGroup,
  dismm AS MRPType,
  cast(dispo as pph_dispo preserving type) AS MRPController,
  cast(dispr as vdm_dispr preserving type) AS MRPProfile,
  mrppp AS MRPPlanningCalendar,
  sfty_stk_meth AS MRPSafetyStockMethod,
  cast(sobsl as pph_sobsl preserving type) AS MaterialProcurementProfile,
  cast(lgpro as vdm_lgpro preserving type) AS ProductionStorageLocation,
  cast(rwpro as pph_rwpro preserving type) AS RangeOfCoverageProfile,
  cast(shpro as pph_shpro preserving type) AS SafetyTimePeriodProfile,
  cast(shflg as pph_shflg preserving type) AS ProductSafetyTimeMRPRelevance,
  cast(ahdis as pph_ahdis preserving type) AS DependentRqmtMRPRelevance,
  lagpr AS StorageCostsPercentageCode,
  rdprf AS RoundingProfile,
  loekz AS IsMarkedForDeletion,
  aenam AS LastChangedByUser,
  aedat AS LastChangeDate,
  aezeit AS LastChangeTime,
  plifz AS PlannedDeliveryDurationInDays,
  cast(fxhor as vdm_fxhor preserving type) AS PlanningTimeFenceInDays,
  takzt AS RqmtQtyRcptTaktTmeInWrkgDays,
  ausss AS AssemblyScrapPercent,
  _Product.BaseUnit AS BaseUnit,
  bstmi AS MinimumLotSizeQuantity,
  bstma AS MaximumLotSizeQuantity,
  mabst AS MaterialMaxStockLevelQuantity,
  eisbe AS SafetyStockQuantity,
  cast(bstrf as vdm_bstrf preserving type) AS LotSizeRoundingQuantity,
  minbe AS ReorderThresholdQuantity
FROM mdma
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON MRPPlant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_ProductPlantBasic AS _ProductPlant ON MRPPlant = _ProductPlant.Plant AND Product = _ProductPlant.Product  -- association [1..1]
LEFT OUTER JOIN I_ProductPlantMRP AS _ProductPlantMRPArea ON Product = _ProductPlantMRPArea.Product AND MRPArea = _ProductPlantMRPArea.MRPArea AND MRPPlant = _ProductPlantMRPArea.Plant  -- association [1..1]
LEFT OUTER JOIN I_MRPArea AS _MRPArea ON MRPArea = _MRPArea.MRPArea  -- association [1..1]
LEFT OUTER JOIN I_MRPType AS _MRPType ON MRPType = _MRPType.MRPType  -- association [1..1]
LEFT OUTER JOIN I_MRPGroup AS _MRPGroup ON MRPGroup = _MRPGroup.MRPGroup AND MRPPlant = _MRPGroup.MRPPlant  -- association [0..1]
LEFT OUTER JOIN I_MRPController AS _MRPResponsible ON MRPPlant = _MRPResponsible.Plant AND MRPController = _MRPResponsible.MRPController  -- association [0..1]
LEFT OUTER JOIN I_MRPProfile AS _MRPProfile ON MRPProfile = _MRPProfile.MRPProfile  -- association [0..1]
LEFT OUTER JOIN I_MRPPlanningPeriod AS _MRPPlanningCalendar ON MRPPlant = _MRPPlanningCalendar.MRPPlant AND MRPPlanningCalendar = _MRPPlanningCalendar.MRPPlanningCalendar  -- association [0..1]
LEFT OUTER JOIN I_MRPPlanningPeriod AS _MRPPlanningCycle ON MRPPlant = _MRPPlanningCycle.MRPPlant AND MRPPlanningCycle = _MRPPlanningCycle.MRPPlanningCalendar  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _ProductionStorageLocation ON MRPPlant = _ProductionStorageLocation.Plant AND ProductionStorageLocation = _ProductionStorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _ExtProcmtStorageLocation ON MRPPlant = _ExtProcmtStorageLocation.Plant AND DfltStorLocForExtProcmt = _ExtProcmtStorageLocation.StorageLocation  -- association [0..1]
LEFT OUTER JOIN I_MRPLotSizingProcedure AS _MRPLotSizingProcedure ON LotSizingProcedure = _MRPLotSizingProcedure.MaterialLotSizingProcedure  -- association [0..1]
LEFT OUTER JOIN I_MatlProcurementProfile AS _MatlProcurementProfile ON MaterialProcurementProfile = _MatlProcurementProfile.MaterialProcurementProfile AND MRPPlant = _MatlProcurementProfile.Plant  -- association [0..1]
LEFT OUTER JOIN I_RangeOfCoverageProfile AS _RangeOfCoverageProfile ON MRPPlant = _RangeOfCoverageProfile.Plant AND RangeOfCoverageProfile = _RangeOfCoverageProfile.RangeOfCoverageProfile  -- association [0..1]
LEFT OUTER JOIN I_SafetyTimePeriodProfile AS _SafetyTimePeriodProfile ON MRPPlant = _SafetyTimePeriodProfile.Plant AND SafetyTimePeriodProfile = _SafetyTimePeriodProfile.SafetyTimePeriodProfile  -- association [0..1]
LEFT OUTER JOIN I_ProdSafetyTimeMRPRelevance AS _ProdSafetyTimeMRPRelevance ON ProductSafetyTimeMRPRelevance = _ProdSafetyTimeMRPRelevance.ProductSafetyTimeMRPRelevance  -- association [0..1]
LEFT OUTER JOIN I_DepdntRqmtMRPRelevance AS _DependentRqmtMRPRelevance ON DependentRqmtMRPRelevance = _DependentRqmtMRPRelevance.DependentRqmtMRPRelevance  -- association [0..1]
LEFT OUTER JOIN I_StorageCostsPercentageCode AS _StorageCostsPercentage ON MRPPlant = _StorageCostsPercentage.Plant AND StorageCostsPercentageCode = _StorageCostsPercentage.StorageCostsPercentageCode  -- association [0..1]
LEFT OUTER JOIN I_MRPSafetyStockMethod AS _MRPSafetyStockMethod ON MRPSafetyStockMethod = _MRPSafetyStockMethod.MRPSafetyStockMethod  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [1..1]
;