I_EHSRiskTypeText

DDL: I_EHSRISKTYPETEXT SQL: IEHSRISKTYPET Type: view BASIC

EHS Risk Type Text

I_EHSRiskTypeText is a Basic CDS View that provides data about "EHS Risk Type Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields EHSRiskType, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (13)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY EHSRiskType
KEY Language dd07t ddlanguage Lang.
_Language _Language
EHSRiskTypeName

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_EHSRiskTypeText.
-- 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: IEHSRISKTYPET

CREATE VIEW I_EHSRiskTypeText AS
SELECT
  cast(substring( dd07t.domvalue_l, 1, 2 ) as ehhss_risk_analysis_type preserving type ) AS EHSRiskType,
  dd07t.ddlanguage AS Language,
  cast( dd07t.ddtext as ehhss_risk_type_desc preserving type ) AS EHSRiskTypeName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;