I_PMRPSimlnOutpQtyBySupply
Output of a product per bucket by Supply
I_PMRPSimlnOutpQtyBySupply is a Composite CDS View that provides data about "Output of a product per bucket by Supply" in SAP S/4HANA. It reads from 1 data source (P_PMRPSimlnOutpQtyBySupply1) and exposes 38 fields with key fields PMRPSimulation, PMRPSupplyGroup, PMRPSupplyGroupCategory, Product, Plant. It has 11 associations to related views. Part of development package PMRP_ENGINE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PMRPSimlnOutpQtyBySupply1 | P_PMRPSimlnOutpQtyBySupply1 | from |
Associations (11)
| 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_PMRPReferencePlan | _ReferencePlan | _ReferencePlan.PMRPReferencePlan = $projection.PMRPReferencePlan |
| [1..1] | I_PMRPProduct | _PMRPProduct | _PMRPProduct.PMRPReferencePlan = $projection.PMRPReferencePlan and _PMRPProduct.Product = $projection.Product and _PMRPProduct.MRPArea = $projection.MRPArea and _PMRPProduct.Plant = $projection.Plant |
| [1..1] | I_PMRPSourceOfSupply | _SourceOfSupply | _SourceOfSupply.PMRPReferencePlan = $projection.PMRPReferencePlan and _SourceOfSupply.PMRPSourceOfSupplyInternalID = $projection.PMRPSourceOfSupplyInternalID |
| [0..1] | I_PMRPFlexibleConstraint | _Constraint | _Constraint.PMRPSimulation = $projection.PMRPSimulation and _Constraint.PMRPFlexibleConstraint = $projection.PMRPFlexibleConstraint |
| [0..*] | I_PMRPSimlnOutpQtyByTopLvlDmnd | _PMRPSimlnOutpQtyByTopLvlDmnd | _PMRPSimlnOutpQtyByTopLvlDmnd.PMRPSimulation = $projection.PMRPSimulation and _PMRPSimlnOutpQtyByTopLvlDmnd.Product = $projection.Product and _PMRPSimlnOutpQtyByTopLvlDmnd.MRPArea = $projection.MRPArea and _PMRPSimlnOutpQtyByTopLvlDmnd.Plant = $projection.Plant and _PMRPSimlnOutpQtyByTopLvlDmnd.BucketInternalID = $projection.BucketInternalID and _PMRPSimlnOutpQtyByTopLvlDmnd.PMRPSupplyGroup = $projection.PMRPSupplyGroup and _PMRPSimlnOutpQtyByTopLvlDmnd.PMRPSupplyGroupCategory = $projection.PMRPSupplyGroupCategory |
| [0..1] | I_PMRPSimlnOutpQtyBySupply | _ParentOutpQtyBySupplyGroup | _ParentOutpQtyBySupplyGroup.PMRPSimulation = $projection.PMRPSimulation and _ParentOutpQtyBySupplyGroup.Product = $projection.ParentProduct and _ParentOutpQtyBySupplyGroup.Plant = $projection.ParentPlant and _ParentOutpQtyBySupplyGroup.MRPArea = $projection.ParentMRPArea and _ParentOutpQtyBySupplyGroup.PMRPSupplyGroup = $projection.PMRPParentSupplyGroup and _ParentOutpQtyBySupplyGroup.PMRPSupplyGroupCategory = $projection.PMRPParentSupplyGroupCategory and _ParentOutpQtyBySupplyGroup.BucketInternalID = $projection.BucketInternalID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPMRPOUTPSUPP | 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 | #MASTER | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Output of a product per bucket by Supply | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | PMRPSimulation | Simulation ID | |
| KEY | PMRPSupplyGroup | PMRPSupplyGroup | Supply Group | |
| KEY | PMRPSupplyGroupCategory | PMRPSupplyGroupCategory | Supply Group Cat | |
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | BucketInternalID | BucketInternalID | Bucket ID | |
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| PMRPFlexibleConstraint | PMRPFlexibleConstraint | Constraints ID | ||
| PMRPConstraintBaseUnit | PMRPConstraintBaseUnit | |||
| PMRPConstraintQtyInBaseUnit | PMRPConstraintQtyInBaseUnit | |||
| PMRPConstraintDeltaQuantity | PMRPConstraintDeltaQuantity | |||
| PMRPConstraintTolerancePercent | PMRPConstraintTolerancePercent | |||
| PMRPReferencePlan | PMRPReferencePlan | |||
| PMRPParentSupplyGroup | PMRPParentSupplyGroup | Supply Group | ||
| PMRPParentSupplyGroupCategory | PMRPParentSupplyGroupCategory | Supply Group Cat | ||
| ParentProduct | ParentProduct | |||
| ParentPlant | ParentPlant | Valuation Area | ||
| ParentMRPArea | ParentMRPArea | |||
| PMRPSourceOfSupplyInternalID | PMRPSourceOfSupplyInternalID | Source of Supply ID | ||
| Supplier | _SourceOfSupply | Supplier | Supplier | |
| ProductionLine | _SourceOfSupply | ProductionLine | Production Line | |
| SupplyingPlant | _SourceOfSupply | SupplyingPlant | Supplying Plant | |
| ReceivingPlant | _SourceOfSupply | ReceivingPlant | Receiving Plant | |
| _PMRPSimlnOutpQtyByTopLvlDmnd | _PMRPSimlnOutpQtyByTopLvlDmnd | |||
| _ParentOutpQtyBySupplyGroup | _ParentOutpQtyBySupplyGroup | |||
| _Product | _Product | |||
| _Plant | _Plant | |||
| _SourceOfSupply | _SourceOfSupply | |||
| _SupplyingPlant | _SourceOfSupply | _SupplyingPlant | ||
| _MRPArea | _MRPArea | |||
| _Supplier | _SourceOfSupply | _Supplier | ||
| _WorkCenter | _SourceOfSupply | _ProductionLine | ||
| _UnitOfMeasure | _UnitOfMeasure | |||
| _Constraint | _Constraint | |||
| _ReferencePlan | _ReferencePlan | |||
| _Simulation | _Simulation | |||
| _PMRPProduct | _PMRPProduct |
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_PMRPSimlnOutpQtyBySupply.
-- 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: IPMRPOUTPSUPP
CREATE VIEW I_PMRPSimlnOutpQtyBySupply AS
SELECT
PMRPSimulation,
PMRPSupplyGroup,
PMRPSupplyGroupCategory,
Product,
Plant,
MRPArea,
BucketInternalID,
UnitOfMeasure,
PMRPFlexibleConstraint,
PMRPConstraintBaseUnit,
PMRPConstraintQtyInBaseUnit,
PMRPConstraintDeltaQuantity,
PMRPConstraintTolerancePercent,
PMRPReferencePlan,
PMRPParentSupplyGroup,
PMRPParentSupplyGroupCategory,
ParentProduct,
ParentPlant,
ParentMRPArea,
PMRPSourceOfSupplyInternalID,
_SourceOfSupply.Supplier AS Supplier,
_SourceOfSupply.ProductionLine AS ProductionLine,
_SourceOfSupply.SupplyingPlant AS SupplyingPlant,
_SourceOfSupply.ReceivingPlant AS ReceivingPlant,
_SourceOfSupply._SupplyingPlant AS _SupplyingPlant,
_SourceOfSupply._Supplier AS _Supplier,
_SourceOfSupply._ProductionLine AS _WorkCenter
FROM P_PMRPSimlnOutpQtyBySupply1
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_PMRPReferencePlan AS _ReferencePlan ON _ReferencePlan.PMRPReferencePlan = PMRPReferencePlan -- association [1..1]
LEFT OUTER JOIN I_PMRPProduct AS _PMRPProduct ON _PMRPProduct.PMRPReferencePlan = PMRPReferencePlan AND _PMRPProduct.Product = Product AND _PMRPProduct.MRPArea = MRPArea AND _PMRPProduct.Plant = Plant -- association [1..1]
LEFT OUTER JOIN I_PMRPSourceOfSupply AS _SourceOfSupply ON _SourceOfSupply.PMRPReferencePlan = PMRPReferencePlan AND _SourceOfSupply.PMRPSourceOfSupplyInternalID = PMRPSourceOfSupplyInternalID -- association [1..1]
LEFT OUTER JOIN I_PMRPFlexibleConstraint AS _Constraint ON _Constraint.PMRPSimulation = PMRPSimulation AND _Constraint.PMRPFlexibleConstraint = PMRPFlexibleConstraint -- association [0..1]
LEFT OUTER JOIN I_PMRPSimlnOutpQtyByTopLvlDmnd AS _PMRPSimlnOutpQtyByTopLvlDmnd ON _PMRPSimlnOutpQtyByTopLvlDmnd.PMRPSimulation = PMRPSimulation AND _PMRPSimlnOutpQtyByTopLvlDmnd.Product = Product AND _PMRPSimlnOutpQtyByTopLvlDmnd.MRPArea = MRPArea AND _PMRPSimlnOutpQtyByTopLvlDmnd.Plant = Plant AND _PMRPSimlnOutpQtyByTopLvlDmnd.BucketInternalID = BucketInternalID AND _PMRPSimlnOutpQtyByTopLvlDmnd.PMRPSupplyGroup = PMRPSupplyGroup AND _PMRPSimlnOutpQtyByTopLvlDmnd.PMRPSupplyGroupCategory = PMRPSupplyGroupCategory -- association [0..*]
LEFT OUTER JOIN I_PMRPSimlnOutpQtyBySupply AS _ParentOutpQtyBySupplyGroup ON _ParentOutpQtyBySupplyGroup.PMRPSimulation = PMRPSimulation AND _ParentOutpQtyBySupplyGroup.Product = ParentProduct AND _ParentOutpQtyBySupplyGroup.Plant = ParentPlant AND _ParentOutpQtyBySupplyGroup.MRPArea = ParentMRPArea AND _ParentOutpQtyBySupplyGroup.PMRPSupplyGroup = PMRPParentSupplyGroup AND _ParentOutpQtyBySupplyGroup.PMRPSupplyGroupCategory = PMRPParentSupplyGroupCategory AND _ParentOutpQtyBySupplyGroup.BucketInternalID = BucketInternalID -- 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