C_ProductDistrCtrMRP
Consumption View: Product DC MRP Area
C_ProductDistrCtrMRP is a Consumption CDS View that provides data about "Consumption View: Product DC MRP Area" in SAP S/4HANA. It reads from 1 data source (I_ProductPlantMRPTP) and exposes 68 fields with key fields Product, Plant, MRPArea. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProductPlantMRPTP | MRPAreaData | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_Product | _Product | $projection.Product = _Product.Product |
| [1..1] | C_Productdistributioncenter | _DistributionCenter | $projection.Product = _DistributionCenter.Product and $projection.Plant = _DistributionCenter.Plant |
| [0..*] | C_ProdSftyTimeIndTextTemp | _IsSafetyTimeText | $projection.ProductSafetyTimeMRPRelevance = _IsSafetyTimeText.IsSafetyTime |
| [0..*] | C_ProdMRPDepdntTextTemp | _IsMRPDependentRqmtText | $projection.DependentRqmtMRPRelevance = _IsMRPDependentRqmtText.IsMRPDependentRqmt |
| [0..1] | C_ProductMRPAreaVH | _MRPArea | $projection.MRPAreaForEdit = _MRPArea.MRPArea and $projection.PlantForEdit = _MRPArea.MRPAreaPlant |
| [0..1] | C_ProdStorageLocationVH | _StorageLocation | $projection.StorageLocation = _StorageLocation.StorageLocation and $projection.PlantForEdit = _StorageLocation.Plant |
| [0..1] | C_ProdStorageLocationVH | _ProductionInvtryManagedLoc | $projection.DfltStorageLocationExtProcmt = _ProductionInvtryManagedLoc.StorageLocation and $projection.PlantForEdit = _ProductionInvtryManagedLoc.Plant |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRDDCMRP | view | |
| EndUserText.label | Consumption View: Product DC MRP Area | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.text.control | #ASSOCIATED_TEXT_UI_HIDDEN | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Feature | SW:ISR_RETAILSWITCH | view |
Fields (68)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_ProductPlantMRPTP | Product | Product Sold |
| KEY | Plant | I_ProductPlantMRPTP | Plant | Valuation Area |
| KEY | MRPArea | I_ProductPlantMRPTP | MRPArea | MRP Area |
| PlantForEdit | I_ProductPlantMRPTP | PlantForEdit | Plant ID | |
| ProductForEdit | I_ProductPlantMRPTP | ProductForEdit | Product | |
| MRPAreaForEdit | I_ProductPlantMRPTP | MRPAreaForEdit | MRP Area | |
| MRPType | I_ProductPlantMRPTP | MRPType | MRP Type | |
| MRPResponsible | I_ProductPlantMRPTP | MRPResponsible | MRP Controller | |
| ReorderThresholdQuantity | I_ProductPlantMRPTP | ReorderThresholdQuantity | Reorder Point | |
| PlanAndOrderDayDetermination | I_ProductPlantMRPTP | PlanAndOrderDayDetermination | Planning cycle | |
| PlanningTimeFence | I_ProductPlantMRPTP | PlanningTimeFence | Plng time fence | |
| LotSizingProcedure | I_ProductPlantMRPTP | LotSizingProcedure | Lot Sizing Procedure | |
| LotSizeRoundingQuantity | I_ProductPlantMRPTP | LotSizeRoundingQuantity | Rounding value | |
| MinimumLotSizeQuantity | I_ProductPlantMRPTP | MinimumLotSizeQuantity | Min. Lot Size | |
| MaximumLotSizeQuantity | I_ProductPlantMRPTP | MaximumLotSizeQuantity | Max. Lot Size | |
| MaximumStockQuantity | I_ProductPlantMRPTP | MaximumStockQuantity | Max.stock level | |
| AssemblyScrapPercent | I_ProductPlantMRPTP | AssemblyScrapPercent | Assembly scrap | |
| ProcurementSubType | I_ProductPlantMRPTP | ProcurementSubType | SpecProcurement | |
| StorageLocation | I_ProductPlantMRPTP | StorageLocation | StorageLocation | |
| DfltStorageLocationExtProcmt | I_ProductPlantMRPTP | DfltStorageLocationExtProcmt | Storage Location | |
| SafetyStockQuantity | I_ProductPlantMRPTP | SafetyStockQuantity | Safety stock | |
| SafetyDuration | I_ProductPlantMRPTP | SafetyDuration | Safety time | |
| FixedLotSizeQuantity | I_ProductPlantMRPTP | FixedLotSizeQuantity | Fixed lot size | |
| IsMarkedForDeletion | I_ProductPlantMRPTP | IsMarkedForDeletion | Purch.org. data | |
| MaintenanceStatusName | I_ProductPlantMRPTP | MaintenanceStatusName | Maint. status | |
| PlannedDeliveryDurationInDays | I_ProductPlantMRPTP | PlannedDeliveryDurationInDays | Plnd dely time | |
| MRPGroup | I_ProductPlantMRPTP | MRPGroup | MRP Group | |
| StorageCostsPercentageCode | I_ProductPlantMRPTP | StorageCostsPercentageCode | ||
| MRPPlanningCalendar | I_ProductPlantMRPTP | MRPPlanningCalendar | Planning cal. | |
| RoundingProfile | I_ProductPlantMRPTP | RoundingProfile | Rnding Profile | |
| RangeOfCvrgPrflCode | I_ProductPlantMRPTP | RangeOfCvrgPrflCode | Coverage Prof. | |
| ProductSafetyTimeMRPRelevance | I_ProductPlantMRPTP | ProductSafetyTimeMRPRelevance | ||
| PerdPrflForSftyTme | I_ProductPlantMRPTP | PerdPrflForSftyTme | Time Profile | |
| DependentRqmtMRPRelevance | I_ProductPlantMRPTP | DependentRqmtMRPRelevance | ||
| IsPlannedDeliveryTime | I_ProductPlantMRPTP | IsPlannedDeliveryTime | ||
| LotSizeIndependentCosts | I_ProductPlantMRPTP | LotSizeIndependentCosts | LSI Costs | |
| RqmtQtyRcptTaktTmeInWrkgDays | I_ProductPlantMRPTP | RqmtQtyRcptTaktTmeInWrkgDays | Takt time | |
| SrvcLvl | I_ProductPlantMRPTP | SrvcLvl | Service level | |
| BaseUnit | BaseUnit | Unit of Measure | ||
| Currency | I_ProductPlantMRPTP | Currency | Valuation Crcy | |
| AssemblyScrapUnit | ||||
| SafetyDurationUnit | ||||
| ServiceLevelUnit | ||||
| PlannedDeliveryDurationUnit | ||||
| PlanningTimeFenceUnit | ||||
| _Product | _Product | |||
| _DistributionCenter | _DistributionCenter | |||
| _MRPType | _MRPType | |||
| _MRPTypeName | _MRPTypeName | |||
| _LotSizingProcedure | _LotSizingProcedure | |||
| _PlantInvtryManagedLoc | _PlantInvtryManagedLoc | |||
| _MRPPlanningCalendarText | _MRPPlanningCalendarText | |||
| _MRPGroupText | _MRPGroupText | |||
| _StorageCostsPercentageCode | _StorageCostsPercentageCode | |||
| _RangeOfCvrgPrflCode | _RangeOfCvrgPrflCode | |||
| _RangeOfCvrgPrflCodeText | _RangeOfCvrgPrflCodeText | |||
| _IsSafetyTimeText | _IsSafetyTimeText | |||
| _IsMRPDependentRqmtText | _IsMRPDependentRqmtText | |||
| _MRPResponsible | _MRPResponsible | |||
| _LotSizingProcedureText | _LotSizingProcedureText | |||
| _SafetyTimePeriodProfile | _SafetyTimePeriodProfile | |||
| _SafetyTimePeriodProfileText | _SafetyTimePeriodProfileText | |||
| _MRPArea | _MRPArea | |||
| _PlantVH | _PlantVH | |||
| _ProductProcmtProfile | _ProductProcmtProfile | |||
| _ProductProcmtProfileText | _ProductProcmtProfileText | |||
| _StorageLocation | _StorageLocation | |||
| _ProductionInvtryManagedLoc | _ProductionInvtryManagedLoc |
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 C_ProductDistrCtrMRP.
-- 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: CPRDDCMRP
CREATE VIEW C_ProductDistrCtrMRP AS
SELECT
MRPAreaData.Product AS Product,
MRPAreaData.Plant AS Plant,
MRPAreaData.MRPArea AS MRPArea,
MRPAreaData.PlantForEdit AS PlantForEdit,
MRPAreaData.ProductForEdit AS ProductForEdit,
MRPAreaData.MRPAreaForEdit AS MRPAreaForEdit,
MRPAreaData.MRPType AS MRPType,
MRPAreaData.MRPResponsible AS MRPResponsible,
MRPAreaData.ReorderThresholdQuantity AS ReorderThresholdQuantity,
MRPAreaData.PlanAndOrderDayDetermination AS PlanAndOrderDayDetermination,
MRPAreaData.PlanningTimeFence AS PlanningTimeFence,
MRPAreaData.LotSizingProcedure AS LotSizingProcedure,
MRPAreaData.LotSizeRoundingQuantity AS LotSizeRoundingQuantity,
MRPAreaData.MinimumLotSizeQuantity AS MinimumLotSizeQuantity,
MRPAreaData.MaximumLotSizeQuantity AS MaximumLotSizeQuantity,
MRPAreaData.MaximumStockQuantity AS MaximumStockQuantity,
MRPAreaData.AssemblyScrapPercent AS AssemblyScrapPercent,
MRPAreaData.ProcurementSubType AS ProcurementSubType,
MRPAreaData.StorageLocation AS StorageLocation,
MRPAreaData.DfltStorageLocationExtProcmt AS DfltStorageLocationExtProcmt,
MRPAreaData.SafetyStockQuantity AS SafetyStockQuantity,
MRPAreaData.SafetyDuration AS SafetyDuration,
MRPAreaData.FixedLotSizeQuantity AS FixedLotSizeQuantity,
MRPAreaData.IsMarkedForDeletion AS IsMarkedForDeletion,
MRPAreaData.MaintenanceStatusName AS MaintenanceStatusName,
MRPAreaData.PlannedDeliveryDurationInDays AS PlannedDeliveryDurationInDays,
MRPAreaData.MRPGroup AS MRPGroup,
MRPAreaData.StorageCostsPercentageCode AS StorageCostsPercentageCode,
MRPAreaData.MRPPlanningCalendar AS MRPPlanningCalendar,
MRPAreaData.RoundingProfile AS RoundingProfile,
MRPAreaData.RangeOfCvrgPrflCode AS RangeOfCvrgPrflCode,
MRPAreaData.ProductSafetyTimeMRPRelevance AS ProductSafetyTimeMRPRelevance,
MRPAreaData.PerdPrflForSftyTme AS PerdPrflForSftyTme,
MRPAreaData.DependentRqmtMRPRelevance AS DependentRqmtMRPRelevance,
MRPAreaData.IsPlannedDeliveryTime AS IsPlannedDeliveryTime,
MRPAreaData.LotSizeIndependentCosts AS LotSizeIndependentCosts,
MRPAreaData.RqmtQtyRcptTaktTmeInWrkgDays AS RqmtQtyRcptTaktTmeInWrkgDays,
MRPAreaData.SrvcLvl AS SrvcLvl,
BaseUnit,
MRPAreaData.Currency AS Currency,
cast( '' as assemblyscrapunit ) AS AssemblyScrapUnit,
cast( '' as safetydurationunit ) AS SafetyDurationUnit,
cast( '' as servicelevelunit ) AS ServiceLevelUnit,
cast( '' as planneddeliverydurationunit ) AS PlannedDeliveryDurationUnit,
cast( '' as planningtimefenceunit ) AS PlanningTimeFenceUnit
FROM I_ProductPlantMRPTP AS MRPAreaData
LEFT OUTER JOIN C_Product AS _Product ON Product = _Product.Product -- association [1..1]
LEFT OUTER JOIN C_Productdistributioncenter AS _DistributionCenter ON Product = _DistributionCenter.Product AND Plant = _DistributionCenter.Plant -- association [1..1]
LEFT OUTER JOIN C_ProdSftyTimeIndTextTemp AS _IsSafetyTimeText ON ProductSafetyTimeMRPRelevance = _IsSafetyTimeText.IsSafetyTime -- association [0..*]
LEFT OUTER JOIN C_ProdMRPDepdntTextTemp AS _IsMRPDependentRqmtText ON DependentRqmtMRPRelevance = _IsMRPDependentRqmtText.IsMRPDependentRqmt -- association [0..*]
LEFT OUTER JOIN C_ProductMRPAreaVH AS _MRPArea ON MRPAreaForEdit = _MRPArea.MRPArea AND PlantForEdit = _MRPArea.MRPAreaPlant -- association [0..1]
LEFT OUTER JOIN C_ProdStorageLocationVH AS _StorageLocation ON StorageLocation = _StorageLocation.StorageLocation AND PlantForEdit = _StorageLocation.Plant -- association [0..1]
LEFT OUTER JOIN C_ProdStorageLocationVH AS _ProductionInvtryManagedLoc ON DfltStorageLocationExtProcmt = _ProductionInvtryManagedLoc.StorageLocation AND PlantForEdit = _ProductionInvtryManagedLoc.Plant -- 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