I_PMRPRequirementBasic
Requirement used in pMRP
I_PMRPRequirementBasic is a Basic CDS View that provides data about "Requirement used in pMRP" in SAP S/4HANA. It reads from 1 data source (pmrp_rqmt) and exposes 21 fields with key fields PMRPSimulation, RequirementInternalID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_rqmt | rqmt | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | _UnitOfMeasure.UnitOfMeasure = $projection.UnitOfMeasure |
| [1..1] | I_Product | _Product | _Product.Product = $projection.Product |
| [1..1] | I_Plant | _Plant | _Plant.Plant = $projection.Plant |
| [1..1] | I_MRPArea | _MRPArea | _MRPArea.MRPArea = $projection.MRPArea |
| [1..1] | I_PMRPSimulation | _Simulation | _Simulation.PMRPSimulation = $projection.PMRPSimulation |
| [1..1] | I_PMRPSimlnTopLevelDemand | _TopLevelDemand | _TopLevelDemand.PMRPSimulation = $projection.PMRPSimulation and _TopLevelDemand.TopLevelDemandInternalID = $projection.TopLevelDemandInternalID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPMRPRQMTB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Requirement used in pMRP | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | pmrp_rqmt | simulation_id | Simulation ID |
| KEY | RequirementInternalID | pmrp_rqmt | rqmt_id | Requirement ID |
| Product | pmrp_rqmt | product | Product Sold | |
| Plant | pmrp_rqmt | plant | Valuation Area | |
| MRPArea | pmrp_rqmt | mrparea | MRP Area | |
| PMRPRequirementCategory | pmrp_rqmt | rqmt_category | Order Category | |
| RequirementStartDate | pmrp_rqmt | rqmt_start_date | Start Date | |
| RequirementEndDate | pmrp_rqmt | rqmt_end_date | Requirement End Date | |
| RequiredQuantity | pmrp_rqmt | req_quantity | Required Quantity | |
| PMRPOpenQuantity | pmrp_rqmt | open_quantity | Open Quantity | |
| AvailableStockQuantity | pmrp_rqmt | available_stock | Available Quantity | |
| CoveredByStockQuantity | pmrp_rqmt | cov_by_stock_quan | Quantity Covered | |
| UnitOfMeasure | pmrp_rqmt | uom | UoM: Conv. to | |
| ReceiptInternalID | pmrp_rqmt | trigger_receipt_id | ID of Receipt | |
| TopLevelDemandInternalID | pmrp_rqmt | tld_id | Top-Level Demand ID | |
| _Product | _Product | |||
| _Plant | _Plant | |||
| _MRPArea | _MRPArea | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _TopLevelDemand | _TopLevelDemand | |||
| _Simulation | _Simulation |
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_PMRPRequirementBasic.
-- 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: IPMRPRQMTB
CREATE VIEW I_PMRPRequirementBasic AS
SELECT
rqmt.simulation_id AS PMRPSimulation,
rqmt.rqmt_id AS RequirementInternalID,
rqmt.product AS Product,
rqmt.plant AS Plant,
rqmt.mrparea AS MRPArea,
rqmt.rqmt_category AS PMRPRequirementCategory,
rqmt.rqmt_start_date AS RequirementStartDate,
rqmt.rqmt_end_date AS RequirementEndDate,
rqmt.req_quantity AS RequiredQuantity,
rqmt.open_quantity AS PMRPOpenQuantity,
rqmt.available_stock AS AvailableStockQuantity,
rqmt.cov_by_stock_quan AS CoveredByStockQuantity,
rqmt.uom AS UnitOfMeasure,
rqmt.trigger_receipt_id AS ReceiptInternalID,
rqmt.tld_id AS TopLevelDemandInternalID
FROM pmrp_rqmt AS rqmt
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON _Product.Product = Product -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON _Plant.Plant = Plant -- association [1..1]
LEFT OUTER JOIN I_MRPArea AS _MRPArea ON _MRPArea.MRPArea = MRPArea -- association [1..1]
LEFT OUTER JOIN I_PMRPSimulation AS _Simulation ON _Simulation.PMRPSimulation = PMRPSimulation -- association [1..1]
LEFT OUTER JOIN I_PMRPSimlnTopLevelDemand AS _TopLevelDemand ON _TopLevelDemand.PMRPSimulation = PMRPSimulation AND _TopLevelDemand.TopLevelDemandInternalID = TopLevelDemandInternalID -- 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