C_PMRPSupplyChainSimulation
Supply Chain Simulation
C_PMRPSupplyChainSimulation is a Consumption CDS View that provides data about "Supply Chain Simulation" in SAP S/4HANA. It reads from 1 data source (I_PMRPSimlnTopLevelDemand) and exposes 32 fields with key fields PMRPSimulation, TopLevelDemandInternalID, BucketInternalID, Product. It has 2 associations to related views. It is exposed through 1 OData service (PMRP_SUPPLYCHAIN_SERVICEDEF).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PMRPSimlnTopLevelDemand | _TopLevelDemand | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_PMRPSimulation | _Simulation | _Simulation.PMRPSimulation = $projection.PMRPSimulation |
| [1..*] | C_PMRPSupplyChainBOM | _PMRPSupplyChainBOM | _PMRPSupplyChainBOM.PMRPSimulation = $projection.PMRPSimulation and _PMRPSupplyChainBOM.TopLevelDemandInternalID = $projection.TopLevelDemandInternalID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPMRPSC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Supply Chain Simulation | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | 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 | |
| UI.headerInfo.typeName | Multi-Level Material Simulation | view | |
| UI.headerInfo.typeNamePlural | Active Simulations | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| PMRP_SUPPLYCHAIN_SERVICEDEF | PMRP_SUPPLYCHAIN_SERVICE | V2 | C1 | NOT_RELEASED |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | PMRPSimulation | Simulation ID | |
| KEY | TopLevelDemandInternalID | TopLevelDemandInternalID | TopLevelDemandInternalID | |
| KEY | BucketInternalID | I_PMRPSimlnTopLevelDemand | BucketInternalID | BucketInternalID |
| KEY | Product | I_PMRPSimlnTopLevelDemand | TopLevelProduct | Product |
| Plant | I_PMRPSimlnTopLevelDemand | TopLevelPlant | Valuation Area | |
| UnitOfMeasure | UnitOfMeasure | Unit Protected Qty | ||
| PMRPSimulationDescription | _Simulation | PMRPSimulationDescription | ||
| PMRPReferencePlan | _Simulation | PMRPReferencePlan | ||
| PMRPReferencePlanDescription | _Simulation | PMRPReferencePlanDescription | ||
| PMRPSimulationStatusName | _Simulation | PMRPSimulationStatusName | ||
| PMRPSimulationStatus | _Simulation | PMRPSimulationStatus | ||
| SimulationStatusCriticality | _Simulation | SimulationStatusCriticality | ||
| DeliveryPerformanceTrend | _Simulation | DeliveryPerformanceTrend | ||
| PreviousNumberOfCapacityIssues | _Simulation | PreviousNumberOfCapacityIssues | ||
| CapacityCriticality | _Simulation | CapacityCriticality | ||
| CapacityIssueTrend | _Simulation | CapacityIssueTrend | ||
| PreviousUndrdelivRatioInPct | _Simulation | PreviousUndrdelivRatioInPct | ||
| DeliveryPerformanceCriticality | _Simulation | DeliveryPerformanceCriticality | ||
| DeliveryPerformanceUnit | _Simulation | DeliveryPerformanceUnit | ||
| PrevNmbrOfProdsWithMissingSOS | _Simulation | PrevNmbrOfProdsWithMissingSOS | ||
| InvalidSrceOfSupCriticality | _Simulation | InvalidSrceOfSupCriticality | ||
| InvalidSourceOfSupplyTrend | _Simulation | InvalidSourceOfSupplyTrend | ||
| PMRPPrevNmbrOfConstraintIssues | _Simulation | PMRPPrevNmbrOfConstraintIssues | ||
| ConstraintIssuesCriticality | _Simulation | ConstraintIssuesCriticality | ||
| ConstraintIssuesTrend | _Simulation | ConstraintIssuesTrend | ||
| PMRPNumberOfBuckets | _Simulation | PMRPNumberOfBuckets | ||
| NumberOfCapacityIssues | _Simulation | NumberOfCapacityIssues | ||
| TopLvlDmndUndrdelivRatioInPct | _Simulation | TopLvlDmndUndrdelivRatioInPct | ||
| NumberOfProductsWithMissingSOS | _Simulation | NumberOfProductsWithMissingSOS | ||
| PMRPNumberOfConstraintIssues | _Simulation | PMRPNumberOfConstraintIssues | ||
| _Simulation | _Simulation | |||
| _PMRPSupplyChainBOM | _PMRPSupplyChainBOM |
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_PMRPSupplyChainSimulation.
-- 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: CPMRPSC
CREATE VIEW C_PMRPSupplyChainSimulation AS
SELECT
PMRPSimulation,
TopLevelDemandInternalID,
_TopLevelDemand.BucketInternalID AS BucketInternalID,
_TopLevelDemand.TopLevelProduct AS Product,
_TopLevelDemand.TopLevelPlant AS Plant,
UnitOfMeasure,
_Simulation.PMRPSimulationDescription AS PMRPSimulationDescription,
_Simulation.PMRPReferencePlan AS PMRPReferencePlan,
_Simulation.PMRPReferencePlanDescription AS PMRPReferencePlanDescription,
_Simulation.PMRPSimulationStatusName AS PMRPSimulationStatusName,
_Simulation.PMRPSimulationStatus AS PMRPSimulationStatus,
_Simulation.SimulationStatusCriticality AS SimulationStatusCriticality,
_Simulation.DeliveryPerformanceTrend AS DeliveryPerformanceTrend,
_Simulation.PreviousNumberOfCapacityIssues AS PreviousNumberOfCapacityIssues,
_Simulation.CapacityCriticality AS CapacityCriticality,
_Simulation.CapacityIssueTrend AS CapacityIssueTrend,
_Simulation.PreviousUndrdelivRatioInPct AS PreviousUndrdelivRatioInPct,
_Simulation.DeliveryPerformanceCriticality AS DeliveryPerformanceCriticality,
_Simulation.DeliveryPerformanceUnit AS DeliveryPerformanceUnit,
_Simulation.PrevNmbrOfProdsWithMissingSOS AS PrevNmbrOfProdsWithMissingSOS,
_Simulation.InvalidSrceOfSupCriticality AS InvalidSrceOfSupCriticality,
_Simulation.InvalidSourceOfSupplyTrend AS InvalidSourceOfSupplyTrend,
_Simulation.PMRPPrevNmbrOfConstraintIssues AS PMRPPrevNmbrOfConstraintIssues,
_Simulation.ConstraintIssuesCriticality AS ConstraintIssuesCriticality,
_Simulation.ConstraintIssuesTrend AS ConstraintIssuesTrend,
_Simulation.PMRPNumberOfBuckets AS PMRPNumberOfBuckets,
_Simulation.NumberOfCapacityIssues AS NumberOfCapacityIssues,
_Simulation.TopLvlDmndUndrdelivRatioInPct AS TopLvlDmndUndrdelivRatioInPct,
_Simulation.NumberOfProductsWithMissingSOS AS NumberOfProductsWithMissingSOS,
_Simulation.PMRPNumberOfConstraintIssues AS PMRPNumberOfConstraintIssues
FROM I_PMRPSimlnTopLevelDemand AS _TopLevelDemand
LEFT OUTER JOIN C_PMRPSimulation AS _Simulation ON _Simulation.PMRPSimulation = PMRPSimulation -- association [1..1]
LEFT OUTER JOIN C_PMRPSupplyChainBOM AS _PMRPSupplyChainBOM ON _PMRPSupplyChainBOM.PMRPSimulation = PMRPSimulation AND _PMRPSupplyChainBOM.TopLevelDemandInternalID = TopLevelDemandInternalID -- association [1..*]
;
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