P_PMRPSimlnReceiptBucketBasic
Receipt used in pMRP distributed
P_PMRPSimlnReceiptBucketBasic is a Basic CDS View that provides data about "Receipt used in pMRP distributed" in SAP S/4HANA. It reads from 1 data source (pmrp_rcpt_bckt) and exposes 20 fields with key fields PMRPSimulation, PMRPNodeID. It has 4 associations to related views. Part of development package PMRP_ENGINE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_rcpt_bckt | pmrp_rcpt_bckt | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | _UnitOfMeasure.UnitOfMeasure = $projection.PMRPConstraintBaseUnit |
| [1..1] | I_PMRPSimulation | _PMRPSimulation | _PMRPSimulation.PMRPSimulation = $projection.PMRPSimulation |
| [0..1] | I_PMRPReceiptBasic | _Receipt | _Receipt.PMRPSimulation = $projection.PMRPSimulation and _Receipt.ReceiptInternalID = $projection.ReceiptInternalID and _Receipt.TopLevelDemandInternalID = $projection.TopLevelDemandInternalID |
| [0..1] | I_PMRPSimlnTopLevelDemand | _TopLevelDemand | _TopLevelDemand.PMRPSimulation = $projection.PMRPSimulation and _TopLevelDemand.TopLevelDemandInternalID = $projection.TopLevelDemandInternalID |
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 | |
| VDM.private | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | pmrpsimulation | Simulation ID | |
| KEY | PMRPNodeID | pmrpnodeid | Receipt ID | |
| BucketInternalID | bucketinternalid | Bucket ID | ||
| Product | product | Product Sold | ||
| Plant | plant | Valuation Area | ||
| MRPArea | mrparea | MRP Area | ||
| PMRPSourceOfSupplyInternalID | pmrpsourceofsupplyinternalid | Source of Supply ID | ||
| ReceiptInternalID | receiptinternalid | Receipt ID | ||
| PMRPSupplyGroup | pmrpsupplygroup | Supply Group | ||
| PMRPSupplyGroupCategory | pmrpsupplygroupcategory | Supply Group Cat | ||
| PMRPFlexibleConstraint | pmrpflexibleconstraint | Constraints ID | ||
| PMRPRcptBcktQtyInCstrtUnit | quantity | Value | ||
| PMRPConstraintBaseUnit | unitofmeasure | Unit Protected Qty | ||
| TopLevelDemandInternalID | topleveldemandinternalid | Top-Level Demand ID | ||
| PMRPNmbrOfWrkgDaysInBucket | working_days_in_bucket | Duration in Bucket | ||
| PMRPReferencePlan | _PMRPSimulation | PMRPReferencePlan | ||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Receipt | _Receipt | |||
| _TopLevelDemand | _TopLevelDemand | |||
| _PMRPSimulation | _PMRPSimulation |
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 P_PMRPSimlnReceiptBucketBasic.
-- 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 P_PMRPSimlnReceiptBucketBasic AS
SELECT
PMRPSimulation,
PMRPNodeID,
BucketInternalID,
Product,
Plant,
MRPArea,
PMRPSourceOfSupplyInternalID,
ReceiptInternalID,
PMRPSupplyGroup,
PMRPSupplyGroupCategory,
PMRPFlexibleConstraint,
quantity AS PMRPRcptBcktQtyInCstrtUnit,
unitofmeasure AS PMRPConstraintBaseUnit,
TopLevelDemandInternalID,
working_days_in_bucket AS PMRPNmbrOfWrkgDaysInBucket,
_PMRPSimulation.PMRPReferencePlan AS PMRPReferencePlan
FROM pmrp_rcpt_bckt
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = PMRPConstraintBaseUnit -- association [1..1]
LEFT OUTER JOIN I_PMRPSimulation AS _PMRPSimulation ON _PMRPSimulation.PMRPSimulation = PMRPSimulation -- association [1..1]
LEFT OUTER JOIN I_PMRPReceiptBasic AS _Receipt ON _Receipt.PMRPSimulation = PMRPSimulation AND _Receipt.ReceiptInternalID = ReceiptInternalID AND _Receipt.TopLevelDemandInternalID = TopLevelDemandInternalID -- association [0..1]
LEFT OUTER JOIN I_PMRPSimlnTopLevelDemand AS _TopLevelDemand ON _TopLevelDemand.PMRPSimulation = PMRPSimulation AND _TopLevelDemand.TopLevelDemandInternalID = TopLevelDemandInternalID -- 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