C_PMRPSimulationProductRow
Simulation Component Products
C_PMRPSimulationProductRow is a Consumption CDS View that provides data about "Simulation Component Products" in SAP S/4HANA. It reads from 1 data source (R_PMRPProductHierarchyNode) and exposes 35 fields with key fields PMRPSimulation, Product, Plant, MRPArea, PMRPSupplyGroup. It has 1 association to related views. It is exposed through 1 OData service (PMRP_SIMU_COMPONENT_SERVICEDEF). Part of development package PMRP_UI_SERVICES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PMRPProductHierarchyNode | R_PMRPProductHierarchyNode | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_PMRPSimulation | pmrp_simulation_id |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_PMRPSimulationProductColumn | _Output | _Output.PMRPSimulation = $projection.PMRPSimulation and _Output.Product = $projection.Product and _Output.MRPArea = $projection.MRPArea and _Output.Plant = $projection.Plant and _Output.PMRPSupplyGroup = $projection.PMRPSupplyGroup and _Output.PMRPSupplyGroupCategory = $projection.PMRPSupplyGroupCategory and _Output.PMRPSourceOfSupplyInternalID = $projection.PMRPSourceOfSupplyInternalID and _Output.PMRPFlxblCstrtProductGroup = $projection.PMRPFlxblCstrtProductGroup |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.query.implementedBy | ABAP:CL_PMRPPROD_QUERY | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Simulation Component Products | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| PMRP_SIMU_COMPONENT_SERVICEDEF | PMRP_SIM_COMPONENT_SERVICE | V2 | C1 | NOT_TO_BE_RELEASED_STABLE |
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 | |
| KEY | PMRPFlxblCstrtProductGroup | PMRPFlxblCstrtProductGroup | ||
| PMRPFlexibleConstraint | PMRPFlexibleConstraint | Constraints ID | ||
| ParentPMRPSourceOfSupply | ParentPMRPSourceOfSupply | |||
| PMRPReferencePlan | PMRPReferencePlan | |||
| PMRPSupplyGroupSourceOfSupply | PMRPSupplyGroupSourceOfSupply | |||
| BucketCategory | BucketCategory | |||
| PlantName | PlantName | Plant Name | ||
| MRPAreaText | MRPAreaText | |||
| MRPController | MRPController | MRP Controller | ||
| MRPControllerName | MRPControllerName | Controller name | ||
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| PMRPSourceOfSupplyName | PMRPSourceOfSupplyName | |||
| MRPProcedure | MRPProcedure | |||
| ProcurementType | ProcurementType | Procurement | ||
| ProcurementTypeDescription | ProcurementTypeDescription | |||
| LowLevelCode | LowLevelCode | Low-Level Code | ||
| MaterialName | MaterialName | Material Description | ||
| ProductName | ProductName | Description | ||
| HierarchyNodeOrdinalNumber | HierarchyNodeOrdinalNumber | Node Number | ||
| HierarchyParentNodeOrdinalNmbr | HierarchyParentNodeOrdinalNmbr | |||
| HierarchyLevel | HierarchyLevel | Hierarchy Level | ||
| HierarchyNodeSubTreeSize | HierarchyNodeSubTreeSize | Descendant Count | ||
| HierarchyNode | ||||
| HierarchyParentNode | ||||
| HierarchyDistanceFromRoot | ||||
| HierarchyDescendantCount | ||||
| HierarchyDrillState | ||||
| _Output | _Output |
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 C_PMRPSimulationProductRow.
-- 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.
-- Parameters: P_PMRPSimulation : pmrp_simulation_id
CREATE VIEW C_PMRPSimulationProductRow AS
SELECT
PMRPSimulation,
Product,
Plant,
MRPArea,
PMRPSupplyGroup,
PMRPSupplyGroupCategory,
PMRPSourceOfSupplyInternalID,
PMRPFlxblCstrtProductGroup,
PMRPFlexibleConstraint,
ParentPMRPSourceOfSupply,
PMRPReferencePlan,
PMRPSupplyGroupSourceOfSupply,
BucketCategory,
PlantName,
MRPAreaText,
MRPController,
MRPControllerName,
UnitOfMeasure,
PMRPSourceOfSupplyName,
MRPProcedure,
ProcurementType,
ProcurementTypeDescription,
LowLevelCode,
MaterialName,
ProductName,
HierarchyNodeOrdinalNumber,
HierarchyParentNodeOrdinalNmbr,
HierarchyLevel,
HierarchyNodeSubTreeSize,
cast( '' as abap.sstring(1333) ) AS HierarchyNode,
cast( '' as abap.sstring(1333) ) AS HierarchyParentNode,
cast( 0 as abap.int4 ) AS HierarchyDistanceFromRoot,
cast( 0 as abap.int4 ) AS HierarchyDescendantCount,
cast( 0 as abap.sstring(20) ) AS HierarchyDrillState
FROM R_PMRPProductHierarchyNode
LEFT OUTER JOIN C_PMRPSimulationProductColumn AS _Output ON _Output.PMRPSimulation = PMRPSimulation AND _Output.Product = Product AND _Output.MRPArea = MRPArea AND _Output.Plant = Plant AND _Output.PMRPSupplyGroup = PMRPSupplyGroup AND _Output.PMRPSupplyGroupCategory = PMRPSupplyGroupCategory AND _Output.PMRPSourceOfSupplyInternalID = PMRPSourceOfSupplyInternalID AND _Output.PMRPFlxblCstrtProductGroup = PMRPFlxblCstrtProductGroup -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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