I_ExposureScenario

DDL: I_EXPOSURESCENARIO Type: view BASIC

Exposure Scenario

I_ExposureScenario is a Basic CDS View that provides data about "Exposure Scenario" in SAP S/4HANA. It reads from 1 data source (ehsdsv_es) and exposes 10 fields with key field PCESScenarioUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehsdsv_es ehsdsv_es from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID -- Admin data - Last changed by
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IEXPSC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Exposure Scenario view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PCESScenarioUUID pcesscenariouuid Scenario UUID
PCESScenarioType pcesscenariotype Scenario Type
PCESExposureScenarioType pcesexposurescenariotype Scenario Type
ComplianceRequirement compliancerequirement Compliance Requirement
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

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_ExposureScenario.
-- 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 I_ExposureScenario AS
SELECT
  PCESScenarioUUID,
  PCESScenarioType,
  PCESExposureScenarioType,
  ComplianceRequirement,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser
FROM ehsdsv_es
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
;