C_AdvncdSchedgSimlnUndoPosbl

DDL: C_ADVNCDSCHEDGSIMLNUNDOPOSBL Type: view_entity CONSUMPTION

Undo possibility in a simulation session

C_AdvncdSchedgSimlnUndoPosbl is a Consumption CDS View that provides data about "Undo possibility in a simulation session" in SAP S/4HANA. It reads from 1 data source (I_AdvncdPlngSimulationSession) and exposes 2 fields with key fields PlanningVersionExternal, SimulationSessionUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_AdvncdPlngSimulationSession SimulationDraft from

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_AdvncdPlngUndoStepCount UndoDraft UndoDraft.AdvncdPlngPlanningVersionUUID = SimulationDraft.AdvncdPlngPlanningVersionUUID and UndoDraft.SimulationSessionUUID = SimulationDraft.SimulationSessionUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Undo possibility in a simulation session view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PlanningVersionExternal I_AdvncdPlngSimulationSession PlanningVersionExternal
KEY SimulationSessionUUID I_AdvncdPlngSimulationSession SimulationSessionUUID Sim. Session

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_AdvncdSchedgSimlnUndoPosbl.
-- 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.

CREATE VIEW C_AdvncdSchedgSimlnUndoPosbl AS
SELECT
  SimulationDraft.PlanningVersionExternal AS PlanningVersionExternal,
  SimulationDraft.SimulationSessionUUID AS SimulationSessionUUID
FROM I_AdvncdPlngSimulationSession AS SimulationDraft
LEFT OUTER JOIN P_AdvncdPlngUndoStepCount AS UndoDraft ON UndoDraft.AdvncdPlngPlanningVersionUUID = SimulationDraft.AdvncdPlngPlanningVersionUUID AND UndoDraft.SimulationSessionUUID = SimulationDraft.SimulationSessionUUID  -- association [1..1]
;