I_PMRPProduct
A product used in pMRP
I_PMRPProduct is a Basic CDS View that provides data about "A product used in pMRP" in SAP S/4HANA. It reads from 1 data source (pmrp_product) and exposes 19 fields with key fields PMRPReferencePlan, Product, Plant, MRPArea. It has 4 associations to related views. Part of development package PMRP_ENGINE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_product | pmrp_product | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PMRPReferencePlan | _ReferencePlan | _ReferencePlan.PMRPReferencePlan = $projection.PMRPReferencePlan |
| [1..1] | I_PMRPProcurementType | _PMRPProcurementType | _PMRPProcurementType.Product = $projection.Product and _PMRPProcurementType.Plant = $projection.Plant |
| [1..1] | I_MaterialText | _MaterialText | $projection.Product = _MaterialText.Material and _MaterialText.Language = $session.system_language |
| [1..1] | I_PMRPSimulationMRPController | _PMRPController | _PMRPController.PMRPReferencePlan = $projection.PMRPReferencePlan and _PMRPController.Plant = $projection.Plant and _PMRPController.Product = $projection.Product and _PMRPController.MRPArea = $projection.MRPArea and _PMRPController.MRPController = $projection.MRPController |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | A product used in pMRP | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPReferencePlan | reference_id | Reference No. | |
| KEY | Product | product | Product Sold | |
| KEY | Plant | plant | Valuation Area | |
| KEY | MRPArea | mrparea | MRP Area | |
| LowLevelCode | low_level_code | Low-Level Code | ||
| BOMIsRecursive | recursive | Recursive | ||
| UnitOfMeasure | uom | UoM: Conv. to | ||
| AvailableStockQuantity | stock_quantity | Stock Quantity | ||
| SafetyStockQuantity | safety_stock | Safety Stock | ||
| FactoryCalendar | factory_calendar | Factory Calendar | ||
| MRPController | mrp_controller | MRP Controller | ||
| ProductGroup | product_group | Product Group | ||
| MRPType | mrp_type | MRP Type | ||
| MRPProcedure | mrp_procedure | MRP Procedure | ||
| MaterialName | ||||
| IsKanbanReplenishmentElement | kanban_indicator | Kanban Indicat. | ||
| _ReferencePlan | _ReferencePlan | |||
| _PMRPProcurementType | _PMRPProcurementType | |||
| _PMRPController | _PMRPController |
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_PMRPProduct.
-- 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.
CREATE VIEW I_PMRPProduct AS
SELECT
reference_id AS PMRPReferencePlan,
Product,
Plant,
MRPArea,
low_level_code AS LowLevelCode,
recursive AS BOMIsRecursive,
uom AS UnitOfMeasure,
stock_quantity AS AvailableStockQuantity,
safety_stock AS SafetyStockQuantity,
factory_calendar AS FactoryCalendar,
mrp_controller AS MRPController,
product_group AS ProductGroup,
mrp_type AS MRPType,
mrp_procedure AS MRPProcedure,
coalesce (_MaterialText.MaterialName, product) AS MaterialName,
kanban_indicator AS IsKanbanReplenishmentElement
FROM pmrp_product
LEFT OUTER JOIN I_PMRPReferencePlan AS _ReferencePlan ON _ReferencePlan.PMRPReferencePlan = PMRPReferencePlan -- association [1..1]
LEFT OUTER JOIN I_PMRPProcurementType AS _PMRPProcurementType ON _PMRPProcurementType.Product = Product AND _PMRPProcurementType.Plant = Plant -- association [1..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Product = _MaterialText.Material AND _MaterialText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_PMRPSimulationMRPController AS _PMRPController ON _PMRPController.PMRPReferencePlan = PMRPReferencePlan AND _PMRPController.Plant = Plant AND _PMRPController.Product = Product AND _PMRPController.MRPArea = MRPArea AND _PMRPController.MRPController = MRPController -- association [1..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