I_EHSRiskType

DDL: I_EHSRISKTYPE SQL: IEHSRISKTYPE Type: view BASIC

EHS Risk Type

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

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSRiskTypeText _Text $projection.EHSRiskType = _Text.EHSRiskType

Annotations (13)

NameValueLevelField
EndUserText.label EHS Risk Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.representativeKey EHSRiskType view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IEHSRISKTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY EHSRiskType
_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_EHSRiskType.
-- 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: IEHSRISKTYPE

CREATE VIEW I_EHSRiskType AS
SELECT
  cast(substring( dd07l.domvalue_l, 1, 2 ) as ehhss_risk_analysis_type preserving type ) AS EHSRiskType
FROM dd07l
LEFT OUTER JOIN I_EHSRiskTypeText AS _Text ON EHSRiskType = _Text.EHSRiskType  -- association [0..*]
;