I_PMRPSimlnOutputNodeByProduct
Node for Simulation Material Hierarchy
I_PMRPSimlnOutputNodeByProduct is a Composite CDS View that provides data about "Node for Simulation Material Hierarchy" in SAP S/4HANA. It reads from 1 data source (P_PMRPSimlnOutputNodeByProduct) and exposes 35 fields with key fields PMRPSimulation, Product, Plant, MRPArea, PMRPSupplyGroup. It has 10 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_PMRPSimlnOutputNodeByProduct | P_PMRPSimlnOutputNodeByProduct | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 |
| [0..1] | I_PMRPSourceOfSupply | _SourceOfSupply | _SourceOfSupply.PMRPReferencePlan = $projection.PMRPReferencePlan and _SourceOfSupply.PMRPSourceOfSupplyInternalID = $projection.PMRPSupplyGroupSourceOfSupply |
| [0..1] | I_PMRPFlexibleConstraint | _Constraint | _Constraint.PMRPSimulation = $projection.PMRPSimulation and _Constraint.PMRPFlexibleConstraint = $projection.PMRPFlexibleConstraint |
| [0..1] | I_PMRPSimlnOutputNodeByProduct | _ParentOutpNodeByProduct | _ParentOutpNodeByProduct.PMRPSimulation = $projection.PMRPSimulation and _ParentOutpNodeByProduct.Product = $projection.Product and _ParentOutpNodeByProduct.MRPArea = $projection.MRPArea and _ParentOutpNodeByProduct.Plant = $projection.Plant and _ParentOutpNodeByProduct.PMRPSupplyGroup = $projection.PMRPParentSupplyGroup and _ParentOutpNodeByProduct.PMRPSupplyGroupCategory = $projection.PMRPParentSupplyGroupCategory and _ParentOutpNodeByProduct.PMRPSourceOfSupplyInternalID = $projection.ParentPMRPSourceOfSupply |
| [0..*] | R_PMRPSimlnOutputByBucket | _Output | _Output.PMRPSimulation = $projection.PMRPSimulation and _Output.Product = $projection.Product and _Output.Plant = $projection.Plant and _Output.MRPArea = $projection.MRPArea and _Output.PMRPFlxblCstrtProductGroup = $projection.PMRPFlxblCstrtProductGroup and _Output.PMRPSupplyGroup = $projection.PMRPSupplyGroup and _Output.PMRPSupplyGroupCategory = $projection.PMRPSupplyGroupCategory and _Output.PMRPSourceOfSupplyInternalID = $projection.PMRPSourceOfSupplyInternalID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Node for Simulation Material Hierarchy | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | PMRPSimulation | Simulation ID | |
| KEY | Product | Product | Product Sold | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | MRPArea | MRPArea | MRP Area | |
| KEY | PMRPSupplyGroup | PMRPSupplyGroup | Supply Group | |
| KEY | PMRPSupplyGroupCategory | PMRPSupplyGroupCategory | Supply Group Cat | |
| KEY | PMRPSourceOfSupplyInternalID | PMRPSourceOfSupplyInternalID | Source of Supply ID | |
| PMRPFlexibleConstraint | PMRPFlexibleConstraint | Constraints ID | ||
| PMRPFlxblCstrtProductGroup | ||||
| PMRPParentSupplyGroup | ||||
| PMRPReferencePlan | PMRPReferencePlan | |||
| PMRPSupplyGroupSourceOfSupply | PMRPSupplyGroupSourceOfSupply | Source of Supply ID | ||
| BucketCategory | _ReferencePlan | BucketCategory | ||
| MRPProcedureCthenXelseendasMRPProcedure | ||||
| UnitOfMeasure | _PMRPProduct | UnitOfMeasure | Unit Protected Qty | |
| MRPController | _PMRPProduct | MRPController | MRP Controller | |
| MRPControllerName | ||||
| ProcurementType | ||||
| ProcurementTypeDescription | ||||
| PMRPSourceOfSupplyName | _SourceOfSupply | PMRPSourceOfSupplyName | ||
| PlantName | _Plant | PlantName | Plant Name | |
| MRPAreaText | _MRPArea | MRPAreaText | ||
| PMRPSourceOfSupplyNameendasProductName | ||||
| LowLevelCode | _Product | LowLevelCode | Low-Level Code | |
| PMRPSourceOfSupplyNameendasMaterialName | ||||
| _ParentOutpNodeByProduct | _ParentOutpNodeByProduct | |||
| _Output | _Output | |||
| _Constraint | _Constraint | |||
| _Product | _Product | |||
| _Plant | _Plant | |||
| _MRPArea | _MRPArea | |||
| _ReferencePlan | _ReferencePlan | |||
| _Simulation | _Simulation | |||
| _PMRPProduct | _PMRPProduct | |||
| _SourceOfSupply | _SourceOfSupply |
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_PMRPSimlnOutputNodeByProduct.
-- 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_PMRPSimlnOutputNodeByProduct AS
SELECT
PMRPSimulation,
Product,
Plant,
MRPArea,
PMRPSupplyGroup,
PMRPSupplyGroupCategory,
PMRPSourceOfSupplyInternalID,
PMRPFlexibleConstraint,
cast( '0000000000' as pmrp_flexcon_id ) AS PMRPFlxblCstrtProductGroup,
cast('' as pmrp_supply_grp) AS PMRPParentSupplyGroup,
PMRPReferencePlan,
PMRPSupplyGroupSourceOfSupply,
_ReferencePlan.BucketCategory AS BucketCategory,
case when _PMRPProduct.MRPProcedure = 'C' then 'X' else '' end as MRPProcedure AS MRPProcedureCthenXelseendasMRPProcedure,
_PMRPProduct.UnitOfMeasure AS UnitOfMeasure,
_PMRPProduct.MRPController AS MRPController,
_PMRPProduct._PMRPController.MRPControllerName AS MRPControllerName,
_PMRPProduct._PMRPProcurementType.ProcurementType AS ProcurementType,
_PMRPProduct._PMRPProcurementType.ProcurementTypeDescription AS ProcurementTypeDescription,
_SourceOfSupply.PMRPSourceOfSupplyName AS PMRPSourceOfSupplyName,
_Plant.PlantName AS PlantName,
_MRPArea.MRPAreaText AS MRPAreaText,
case when ParentPMRPSourceOfSupply = '99999998' then _Product._Text[Language=$session.system_language].ProductName else _SourceOfSupply.PMRPSourceOfSupplyName end as ProductName AS PMRPSourceOfSupplyNameendasProductName,
_Product.LowLevelCode AS LowLevelCode,
case when ParentPMRPSourceOfSupply = '99999998' then Product else _SourceOfSupply.PMRPSourceOfSupplyName end as MaterialName AS PMRPSourceOfSupplyNameendasMaterialName
FROM P_PMRPSimlnOutputNodeByProduct
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 = PMRPSupplyGroupSourceOfSupply -- association [0..1]
LEFT OUTER JOIN I_PMRPFlexibleConstraint AS _Constraint ON _Constraint.PMRPSimulation = PMRPSimulation AND _Constraint.PMRPFlexibleConstraint = PMRPFlexibleConstraint -- association [0..1]
LEFT OUTER JOIN I_PMRPSimlnOutputNodeByProduct AS _ParentOutpNodeByProduct ON _ParentOutpNodeByProduct.PMRPSimulation = PMRPSimulation AND _ParentOutpNodeByProduct.Product = Product AND _ParentOutpNodeByProduct.MRPArea = MRPArea AND _ParentOutpNodeByProduct.Plant = Plant AND _ParentOutpNodeByProduct.PMRPSupplyGroup = PMRPParentSupplyGroup AND _ParentOutpNodeByProduct.PMRPSupplyGroupCategory = PMRPParentSupplyGroupCategory AND _ParentOutpNodeByProduct.PMRPSourceOfSupplyInternalID = ParentPMRPSourceOfSupply -- association [0..1]
LEFT OUTER JOIN R_PMRPSimlnOutputByBucket AS _Output ON _Output.PMRPSimulation = PMRPSimulation AND _Output.Product = Product AND _Output.Plant = Plant AND _Output.MRPArea = MRPArea AND _Output.PMRPFlxblCstrtProductGroup = PMRPFlxblCstrtProductGroup AND _Output.PMRPSupplyGroup = PMRPSupplyGroup AND _Output.PMRPSupplyGroupCategory = PMRPSupplyGroupCategory AND _Output.PMRPSourceOfSupplyInternalID = PMRPSourceOfSupplyInternalID -- association [0..*]
;
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