I_EHSControlType

DDL: I_EHSCONTROLTYPE SQL: ICTRLTYPE Type: view BASIC

EHS Control Type

I_EHSControlType is a Basic CDS View that provides data about "EHS Control Type" in SAP S/4HANA. It reads from 1 data source (ehfndc_acttype) and exposes 4 fields with key field EHSControlType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndc_acttype ehfndc_acttype from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_EHSCtrlTypeText _Text $projection.EHSControlType = _Text.EHSControlType
[0..*] I_EHSControlSubtype _EHSControlSubtype $projection.EHSControlType = _EHSControlSubtype.EHSControlType

Annotations (10)

NameValueLevelField
EndUserText.label EHS Control Type view
VDM.viewType #BASIC view
ObjectModel.representativeKey EHSControlType view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ICTRLTYPE view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY EHSControlType Water Hazard Cl.
EHSControlTypePriorityValue priority Workflow priority
_Text _Text
_EHSControlSubtype _EHSControlSubtype

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_EHSControlType.
-- 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: ICTRLTYPE

CREATE VIEW I_EHSControlType AS
SELECT
  cast ( code as ehhss_control_type_code preserving type ) AS EHSControlType,
  priority AS EHSControlTypePriorityValue
FROM ehfndc_acttype
LEFT OUTER JOIN I_EHSCtrlTypeText AS _Text ON EHSControlType = _Text.EHSControlType  -- association [0..*]
LEFT OUTER JOIN I_EHSControlSubtype AS _EHSControlSubtype ON EHSControlType = _EHSControlSubtype.EHSControlType  -- association [0..*]
;