I_InjuryIllnessType

DDL: I_INJURYILLNESSTYPE SQL: IINCINJILLTYPE Type: view BASIC Package: EHHSS_BO_INC_CFG

Injury/Illness Type

I_InjuryIllnessType is a Basic CDS View (Dimension) that provides data about "Injury/Illness Type" in SAP S/4HANA. It reads from 1 data source (ehhssc_injiltp) and exposes 5 fields with key fields InjuryIllnessClassification, InjuryIllnessType. It has 2 associations to related views. Part of development package EHHSS_BO_INC_CFG.

Data Sources (1)

SourceAliasJoin Type
ehhssc_injiltp ehhssc_injiltp from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_InjuryIllnessTypeText _Text $projection.InjuryIllnessClassification = _Text.InjuryIllnessClassification and $projection.InjuryIllnessType = _Text.InjuryIllnessType
[1..1] I_InjuryIllnessClass _InjuryIllnessClass $projection.InjuryIllnessClassification = _InjuryIllnessClass.InjuryIllnessClassification

Annotations (13)

NameValueLevelField
EndUserText.label Injury/Illness Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.representativeKey InjuryIllnessType view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName IINCINJILLTYPE 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 InjuryIllnessClassification Classification
KEY InjuryIllnessType Water Hazard Cl.
EHSInactiveConfiguration inactive WO Locked
_Text _Text
_InjuryIllnessClass _InjuryIllnessClass

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_InjuryIllnessType.
-- 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: IINCINJILLTYPE

CREATE VIEW I_InjuryIllnessType AS
SELECT
  cast( inj_ill_code as ehhss_inj_ill_code_nconv preserving type ) AS InjuryIllnessClassification,
  cast( code as ehhss_inj_ill_type_code_nconv preserving type ) AS InjuryIllnessType,
  inactive AS EHSInactiveConfiguration
FROM ehhssc_injiltp
LEFT OUTER JOIN I_InjuryIllnessTypeText AS _Text ON InjuryIllnessClassification = _Text.InjuryIllnessClassification AND InjuryIllnessType = _Text.InjuryIllnessType  -- association [0..*]
LEFT OUTER JOIN I_InjuryIllnessClass AS _InjuryIllnessClass ON InjuryIllnessClassification = _InjuryIllnessClass.InjuryIllnessClassification  -- association [1..1]
;