I_EHSRiskAssessmentType

DDL: I_EHSRISKASSESSMENTTYPE SQL: IEHSRASTYPE Type: view BASIC

EHS Risk Assessment Type

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

Data Sources (1)

SourceAliasJoin Type
ehhssc_rastyp ehhssc_rastyp from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSRiskAssessmentTypeText _Text $projection.EHSRiskAssessmentType = _Text.EHSRiskAssessmentType

Annotations (13)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY EHSRiskAssessmentType Water Hazard Cl.
_Text _Text
EHSRskAssessmentTypeIsJobBased job_based_ind Job-Based RA Type
EHSRiskExposureFreqIsEnabled exposure_ind Enable Exposure Freq
EHSOutpMgmtFormName ehsoutpmgmtformname OM Form Name

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_EHSRiskAssessmentType.
-- 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: IEHSRASTYPE

CREATE VIEW I_EHSRiskAssessmentType AS
SELECT
  cast(code as ehhss_ras_type_code_nc preserving type) AS EHSRiskAssessmentType,
  job_based_ind AS EHSRskAssessmentTypeIsJobBased,
  exposure_ind AS EHSRiskExposureFreqIsEnabled,
  EHSOutpMgmtFormName
FROM ehhssc_rastyp
LEFT OUTER JOIN I_EHSRiskAssessmentTypeText AS _Text ON EHSRiskAssessmentType = _Text.EHSRiskAssessmentType  -- association [0..*]
;