I_EHSControlSubtype

DDL: I_EHSCONTROLSUBTYPE SQL: ICTRLSUBTYP Type: view BASIC

EHS Control Subtype

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

Data Sources (1)

SourceAliasJoin Type
ehfndc_actsub ehfndc_actsub from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_EHSCtrlSubtypeText _Text $projection.EHSControlSubtype = _Text.EHSControlSubtype
[1..1] I_EHSControlType _EHSControlType $projection.EHSControlType = _EHSControlType.EHSControlType

Annotations (10)

NameValueLevelField
EndUserText.label EHS Control Subtype view
VDM.viewType #BASIC view
ObjectModel.representativeKey EHSControlSubType view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ICTRLSUBTYP 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 EHSControlSubtype Water Hazard Cl.
EHSControlType type_code Type Code
_EHSControlType _EHSControlType
_Text _Text

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_EHSControlSubtype.
-- 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: ICTRLSUBTYP

CREATE VIEW I_EHSControlSubtype AS
SELECT
  cast ( code as ehhss_control_subtype_code preserving type ) AS EHSControlSubtype,
  type_code AS EHSControlType
FROM ehfndc_actsub
LEFT OUTER JOIN I_EHSCtrlSubtypeText AS _Text ON EHSControlSubtype = _Text.EHSControlSubtype  -- association [0..*]
LEFT OUTER JOIN I_EHSControlType AS _EHSControlType ON EHSControlType = _EHSControlType.EHSControlType  -- association [1..1]
;