P_Simulation

DDL: P_SIMULATION SQL: PSIMULATION Type: view BASIC Package: ODATA_LO_VCHCLF_SIMULATION

Simulation - Simulation Object

P_Simulation is a Basic CDS View that provides data about "Simulation - Simulation Object" in SAP S/4HANA. It reads from 3 data sources (P_SavedSimulation, P_SavedSimulation_Draft, P_SimulationSearchSupport) and exposes 40 fields. Part of development package ODATA_LO_VCHCLF_SIMULATION.

Data Sources (3)

SourceAliasJoin Type
P_SavedSimulation P_SavedSimulation from
P_SavedSimulation_Draft P_SavedSimulation_Draft union
P_SimulationSearchSupport SearchSupport left_outer

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PSIMULATION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view

Fields (40)

KeyFieldSource TableSource FieldDescription
ConfigurationObject ConfigurationObject
ConfigurationObjectItem ConfigurationObjectItem
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
DraftUUID DraftUUID UUID
Plant Plant Valuation Area
Product Product Product Sold
ProductConfiguration ProductConfiguration Object Number
VariantConfigurationSimlnName VariantConfigurationSimlnName Simulation Name
CreationTime CreationTime Time of Change
LastChangeTime LastChangeTime Time changed
HasActiveEntity
ConfigurationProfileNumber P_SavedSimulation ConfigurationProfileNumber Int. counter
VariantConfigurationSimlnDate P_SavedSimulation VariantConfigurationSimlnDate Date
TemplateConfiguredObjectType TemplateConfiguredObjectType Owner Type
TemplateConfiguredObject TemplateConfiguredObject Simulation Environment: Simulation Configuration Object
TemplateConfiguredObjectItem TemplateConfiguredObjectItem Object Item
ConfigurationStatus ConfigurationStatus Status
ConfigurationObjectItem ConfigurationObjectItem
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
DraftUUID DraftUUID UUID
Plant Plant Valuation Area
Product Product Product Sold
ProductConfiguration ProductConfiguration Object Number
VariantConfigurationSimlnName P_SavedSimulation_Draft VariantConfigurationSimlnName Simulation Name
CreationTime CreationTime Time of Change
LastChangeTime LastChangeTime Time changed
HasActiveEntity
ConfigurationProfileNumber P_SavedSimulation_Draft ConfigurationProfileNumber Int. counter
VariantConfigurationSimlnDate P_SavedSimulation_Draft VariantConfigurationSimlnDate Date
TemplateConfiguredObjectType TemplateConfiguredObjectType Owner Type
TemplateConfiguredObject TemplateConfiguredObject Simulation Environment: Simulation Configuration Object
TemplateConfiguredObjectItem TemplateConfiguredObjectItem Object Item
ConfigurationStatus ConfigurationStatus Status
VarConfignSimlnExternalID P_SimulationSearchSupport VarConfignSimlnExternalID Sim External Id

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 P_Simulation.
-- 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: PSIMULATION

CREATE VIEW P_Simulation AS
SELECT
  ConfigurationObject,
  ConfigurationObjectItem,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  DraftUUID,
  Plant,
  Product,
  ProductConfiguration,
  VariantConfigurationSimlnName,
  CreationTime,
  LastChangeTime,
  #CDSBOOLEAN.'true' AS HasActiveEntity,
  P_SavedSimulation.ConfigurationProfileNumber AS ConfigurationProfileNumber,
  P_SavedSimulation.VariantConfigurationSimlnDate AS VariantConfigurationSimlnDate,
  TemplateConfiguredObjectType,
  TemplateConfiguredObject,
  TemplateConfiguredObjectItem,
  ConfigurationStatus,
  SearchSupport.VarConfignSimlnExternalID AS VarConfignSimlnExternalID
FROM P_SavedSimulation
LEFT OUTER JOIN P_SimulationSearchSupport AS SearchSupport ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): P_SavedSimulation_Draft
;