I_PMRPSimulation

DDL: I_PMRPSIMULATION SQL: IPMRPSIM Type: view BASIC

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)

SourceAliasJoin Type
pmrp_simulation pmrp_simulation from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PMRPReferencePlan _ReferencePlan _ReferencePlan.PMRPReferencePlan = $projection.PMRPReferencePlan
[0..*] I_PMRPSimulationText _SimulationText _SimulationText.PMRPSimulation = $projection.PMRPSimulation

Annotations (10)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;