I_PMRPSimulation
A Simulation in predictive MRP
I_PMRPSimulation is a Basic CDS View that provides data about "A Simulation in predictive MRP" in SAP S/4HANA. It reads from 1 data source (pmrp_simulation) and exposes 21 fields with key field PMRPSimulation. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| pmrp_simulation | pmrp_simulation | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PMRPReferencePlan | _ReferencePlan | _ReferencePlan.PMRPReferencePlan = $projection.PMRPReferencePlan |
| [0..*] | I_PMRPSimulationText | _SimulationText | _SimulationText.PMRPSimulation = $projection.PMRPSimulation |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPMRPSIM | 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 | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | A Simulation in predictive MRP | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PMRPSimulation | simulation_id | Simulation ID | |
| PMRPReferencePlan | reference_id | Reference No. | ||
| PMRPSimulationStatus | status | Workflow Status | ||
| CreatedByUser | created_by | Version Created By | ||
| CreationDateTime | created_on | Variant created on | ||
| LastChangedByUser | changed_by | User Name | ||
| LastChangeDateTime | changed_on | Variant Changed on | ||
| PMRPNumberOfFlxblConstraints | num_constraints | INT4 | ||
| PreviousNumberOfCapacityIssues | prev_num_capa_overloads | Prv Cap Overloads | ||
| TopLvlDmndUndrdelivRatioInPct | delivery_performance | Delivery Performance | ||
| PreviousUndrdelivRatioInPct | prev_delivery_performance | Prv Delivery Perf | ||
| NumberOfProductsWithMissingSOS | num_product_no_sos | NumProductsNoSoS | ||
| PrevNmbrOfProdsWithMissingSOS | prev_num_product_no_sos | PrevNumProductsNoSoS | ||
| NumberOfProductsOutsideSimln | num_product_out_of_bounds | NumProductsOutofBoun | ||
| PrevNmbrOfProductsOutsideSimln | prev_num_product_out_of_bounds | PNumProductsOutofBou | ||
| PMRPRsceOverloadTolerancePct | resource_overload_tolerance | Overload Tolerance | ||
| PMRPNumberOfConstraintIssues | num_constraint_violations | Violations | ||
| PMRPPrevNmbrOfConstraintIssues | prev_num_constraint_violations | Violations | ||
| PMRPSimulationVersionCode | version_number | Version Number | ||
| _ReferencePlan | _ReferencePlan | |||
| _SimulationText | _SimulationText |
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_PMRPSimulation.
-- 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: IPMRPSIM
CREATE VIEW I_PMRPSimulation AS
SELECT
simulation_id AS PMRPSimulation,
reference_id AS PMRPReferencePlan,
status AS PMRPSimulationStatus,
created_by AS CreatedByUser,
created_on AS CreationDateTime,
changed_by AS LastChangedByUser,
changed_on AS LastChangeDateTime,
num_constraints AS PMRPNumberOfFlxblConstraints,
prev_num_capa_overloads AS PreviousNumberOfCapacityIssues,
delivery_performance AS TopLvlDmndUndrdelivRatioInPct,
prev_delivery_performance AS PreviousUndrdelivRatioInPct,
num_product_no_sos AS NumberOfProductsWithMissingSOS,
prev_num_product_no_sos AS PrevNmbrOfProdsWithMissingSOS,
num_product_out_of_bounds AS NumberOfProductsOutsideSimln,
prev_num_product_out_of_bounds AS PrevNmbrOfProductsOutsideSimln,
resource_overload_tolerance AS PMRPRsceOverloadTolerancePct,
num_constraint_violations AS PMRPNumberOfConstraintIssues,
prev_num_constraint_violations AS PMRPPrevNmbrOfConstraintIssues,
version_number AS PMRPSimulationVersionCode
FROM pmrp_simulation
LEFT OUTER JOIN I_PMRPReferencePlan AS _ReferencePlan ON _ReferencePlan.PMRPReferencePlan = PMRPReferencePlan -- association [1..1]
LEFT OUTER JOIN I_PMRPSimulationText AS _SimulationText ON _SimulationText.PMRPSimulation = PMRPSimulation -- 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