I_EHSCmplncScenRevision

DDL: I_EHSCMPLNCSCENREVISION Type: view BASIC Package: EHENV_BO_SCENARIO_IMPL

EHS Compliance Scenario Revision

I_EHSCmplncScenRevision is a Basic CDS View that provides data about "EHS Compliance Scenario Revision" in SAP S/4HANA. It reads from 1 data source (ehenvd_scen_root) and exposes 9 fields with key fields EHSComplianceScenarioRootUUID, RevisionStartDate, RevisionEndDate. It has 1 association to related views. Part of development package EHENV_BO_SCENARIO_IMPL.

Data Sources (1)

SourceAliasJoin Type
ehenvd_scen_root ehenvd_scen_root from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_EHSCmplncScenRoot _EHSCmplncScenRoot $projection.EHSCmplncScenOrignRootUUID = _EHSCmplncScenRoot.EHSCmplncScenOrignRootUUID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEHSCMPLSCENREV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label EHS Compliance Scenario Revision view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY EHSComplianceScenarioRootUUID db_key UUID
KEY RevisionStartDate valid_from Validity Start Time
KEY RevisionEndDate valid_to Validity End Time
CreationDateTime datetime_cr Created On/At
LastChangeDateTime datetime_ch Changed On/At
CreatedByUser user_id_cr Created By
LastChangedByUser user_id_ch Changed By
EHSCmplncScenOrignRootUUID object_key UUID
_EHSCmplncScenRoot _EHSCmplncScenRoot

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_EHSCmplncScenRevision.
-- 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_EHSCmplncScenRevision AS
SELECT
  db_key AS EHSComplianceScenarioRootUUID,
  valid_from AS RevisionStartDate,
  valid_to AS RevisionEndDate,
  datetime_cr AS CreationDateTime,
  datetime_ch AS LastChangeDateTime,
  user_id_cr AS CreatedByUser,
  user_id_ch AS LastChangedByUser,
  object_key AS EHSCmplncScenOrignRootUUID
FROM ehenvd_scen_root
LEFT OUTER JOIN I_EHSCmplncScenRoot AS _EHSCmplncScenRoot ON EHSCmplncScenOrignRootUUID = _EHSCmplncScenRoot.EHSCmplncScenOrignRootUUID  -- association [1..*]
;