I_EHSRskAssmt2StatusText

DDL: I_EHSRSKASSMT2STATUSTEXT SQL: IEHSRAS2STATTEXT Type: view BASIC

EHS Risk Assessment 2 Status - Text

I_EHSRskAssmt2StatusText is a Basic CDS View that provides data about "EHS Risk Assessment 2 Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields EHSRiskAssessmentStatus, 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 (16)

NameValueLevelField
EndUserText.label EHS Risk Assessment 2 Status - Text view
AbapCatalog.sqlViewName IEHSRAS2STATTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey EHSRiskAssessmentStatus 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 (4)

KeyFieldSource TableSource FieldDescription
KEY EHSRiskAssessmentStatus
KEY Language dd07t ddlanguage Lang.
EHSRiskAssessmentStatusName
_Language _Language

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_EHSRskAssmt2StatusText.
-- 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: IEHSRAS2STATTEXT

CREATE VIEW I_EHSRskAssmt2StatusText AS
SELECT
  cast(dd07t.domvalue_l as ehhss_ras2_status) AS EHSRiskAssessmentStatus,
  dd07t.ddlanguage AS Language,
  cast ( dd07t.ddtext as ehhss_ras2_status_name preserving type ) AS EHSRiskAssessmentStatusName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;