I_EHSRegulationText

DDL: I_EHSREGULATIONTEXT Type: view_entity BASIC

Regulation - Text

I_EHSRegulationText is a Basic CDS View that provides data about "Regulation - Text" in SAP S/4HANA. It reads from 1 data source (ehfndc_reg_t) and exposes 6 fields with key fields EHSRegulationCode, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndc_reg_t ehfndc_reg_t from

Associations (2)

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

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Regulation - Text view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey EHSRegulationCode view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY EHSRegulationCode Water Hazard Cl.
KEY Language language Report Text Language
EHSRegulationText description Well Code Des.
EHSRegulationLongText description_long Process Description
_EHSRegulation _EHSRegulation
_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_EHSRegulationText.
-- 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_EHSRegulationText AS
SELECT
  cast ( code as abap.char(21) ) AS EHSRegulationCode,
  Language,
  description AS EHSRegulationText,
  description_long AS EHSRegulationLongText
FROM ehfndc_reg_t
LEFT OUTER JOIN I_EHSRegulation AS _EHSRegulation ON EHSRegulationCode = _EHSRegulation.EHSRegulationCode  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;