I_EHSRisk2Status

DDL: I_EHSRISK2STATUS Type: view_entity BASIC

EHS Risk 2 Status

I_EHSRisk2Status is a Basic CDS View that provides data about "EHS Risk 2 Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field EHSRiskStatus. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSRisk2StatusText _Text $projection.EHSRiskStatus = _Text.EHSRiskStatus

Annotations (10)

NameValueLevelField
EndUserText.label EHS Risk 2 Status view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey EHSRiskStatus view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.resultSet.sizeCategory #XS view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY EHSRiskStatus
_Text _Text

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_EHSRisk2Status.
-- 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_EHSRisk2Status AS
SELECT
  cast(dd07l.domvalue_l as ehhss_risk2_status) AS EHSRiskStatus
FROM dd07l
LEFT OUTER JOIN I_EHSRisk2StatusText AS _Text ON EHSRiskStatus = _Text.EHSRiskStatus  -- association [0..*]
;