I_PMRPReceiptBasic
Receipt used in pMRP
I_PMRPReceiptBasic is a Basic CDS View that provides data about "Receipt used in pMRP" in SAP S/4HANA. It reads from 1 data source (pmrp_receipt) and exposes 24 fields with key fields PMRPSimulation, TopLevelDemandInternalID. It has 7 associations to related views. Part of development package PMRP_ENGINE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_receipt | receipt | from |
Associations (7)
| 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 |
| [1..*] | I_PMRPReceipt | _AlternativePMRPReceipt | _AlternativePMRPReceipt.PMRPSimulation = $projection.PMRPSimulation and _AlternativePMRPReceipt.TopLevelDemandInternalID = $projection.TopLevelDemandInternalID and _AlternativePMRPReceipt.PeggedRequirementInternalID = $projection.PeggedRequirementInternalID and _AlternativePMRPReceipt.PMRPReceiptSupplyEndDate = $projection.PMRPReceiptSupplyEndDate |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Receipt used in pMRP | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | simulation_id | Simulation ID | |
| KEY | TopLevelDemandInternalID | tld_id | Top-Level Demand ID | |
| Product | product | Product Sold | ||
| Plant | plant | Valuation Area | ||
| MRPArea | mrparea | MRP Area | ||
| PMRPReceiptCategory | receipt_category | Order Category | ||
| ReceiptStartDate | rec_start_date | Receipt Start Date | ||
| ReceiptEndDate | rec_end_date | Receipt End Date | ||
| PMRPReceiptSupplyEndDate | rec_supply_end_date | Supply End Date | ||
| RequiredQuantity | req_quantity | Required Quantity | ||
| PMRPReceiptQuantity | receipt_quantity | Receipt Quantity | ||
| PullInQuantity | preprod_quan | Pull-In Quantity | ||
| UnitOfMeasure | uom | UoM: Conv. to | ||
| PMRPSourceOfSupplyInternalID | sos_id | Source of Supply ID | ||
| QuotaArrangementPercent | quot_factor | Quota Percent | ||
| PeggedRequirementInternalID | pegged_rqmt_id | Requirement ID | ||
| PMRPTopLvlDmndQuantityFactor | scale_factor_tld | Scale from Top Level Domain to Element | ||
| pureBOMfactortoTLD_Product | ||||
| _Plant | _Plant | |||
| _MRPArea | _MRPArea | |||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _TopLevelDemand | _TopLevelDemand | |||
| _AlternativePMRPReceipt | _AlternativePMRPReceipt | |||
| _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_PMRPReceiptBasic.
-- 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_PMRPReceiptBasic AS
SELECT
simulation_id AS PMRPSimulation,
tld_id AS TopLevelDemandInternalID,
Product,
Plant,
MRPArea,
receipt_category AS PMRPReceiptCategory,
rec_start_date AS ReceiptStartDate,
rec_end_date AS ReceiptEndDate,
rec_supply_end_date AS PMRPReceiptSupplyEndDate,
req_quantity AS RequiredQuantity,
receipt_quantity AS PMRPReceiptQuantity,
preprod_quan AS PullInQuantity,
uom AS UnitOfMeasure,
sos_id AS PMRPSourceOfSupplyInternalID,
quot_factor AS QuotaArrangementPercent,
pegged_rqmt_id AS PeggedRequirementInternalID,
scale_factor_tld AS PMRPTopLvlDmndQuantityFactor
FROM pmrp_receipt AS receipt
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]
LEFT OUTER JOIN I_PMRPReceipt AS _AlternativePMRPReceipt ON _AlternativePMRPReceipt.PMRPSimulation = PMRPSimulation AND _AlternativePMRPReceipt.TopLevelDemandInternalID = TopLevelDemandInternalID AND _AlternativePMRPReceipt.PeggedRequirementInternalID = PeggedRequirementInternalID AND _AlternativePMRPReceipt.PMRPReceiptSupplyEndDate = PMRPReceiptSupplyEndDate -- association [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