I_EHSTaskPriority

DDL: I_EHSTASKPRIORITY SQL: IEHSTASKPRIORITY Type: view BASIC

EHS Task Priority

I_EHSTaskPriority is a Basic CDS View that provides data about "EHS Task Priority" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field EHSTaskPriority. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_EHSTaskPriorityText _Text dd07l.domvalue_l = _Text.EHSTaskPriority

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IEHSTASKPRIORITY view
EndUserText.label EHS Task Priority view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey EHSTaskPriority view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #META view
ObjectModel.resultSet.sizeCategory #XS view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY EHSTaskPriority
EHSTaskPriorityName

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_EHSTaskPriority.
-- 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: IEHSTASKPRIORITY

CREATE VIEW I_EHSTaskPriority AS
SELECT
  cast( dd07l.domvalue_l as ehfnd_task_def_priority_code) AS EHSTaskPriority,
  _Text[Language = $session.system_language].EHSTaskPriorityName AS EHSTaskPriorityName
FROM dd07l
LEFT OUTER JOIN I_EHSTaskPriorityText AS _Text ON dd07l.domvalue_l = _Text.EHSTaskPriority  -- association [0..*]
;