I_EHSTaskDefReference

DDL: I_EHSTASKDEFREFERENCE SQL: IEHSTASKDEFRREF Type: view BASIC Package: EHFND_BO_TASK_DEFINITION

EHS Task Definition Reference

I_EHSTaskDefReference is a Basic CDS View that provides data about "EHS Task Definition Reference" in SAP S/4HANA. It reads from 1 data source (ehfndd_tdef_ref) and exposes 5 fields with key fields EHSTaskDefinitionReferenceUUID, EHSTaskDefinitionUUID. It has 1 association to related views. Part of development package EHFND_BO_TASK_DEFINITION.

Data Sources (1)

SourceAliasJoin Type
ehfndd_tdef_ref EHSTaskDefReference from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_EHSTaskDefinition _EHSTaskDefinition $projection.EHSTaskDefinitionUUID = _EHSTaskDefinition.EHSTaskDefinitionUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IEHSTASKDEFRREF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label EHS Task Definition Reference view
ObjectModel.representativeKey EHSTaskDefinitionReferenceUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable false view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY EHSTaskDefinitionReferenceUUID ehfndd_tdef_ref ehstaskdefinitionreferenceuuid Task UUID
KEY EHSTaskDefinitionUUID ehfndd_tdef_ref ehstaskdefinitionuuid Task Definition
EHSTaskRelatedObjInstanceUUID ehfndd_tdef_ref ehstaskrelatedobjinstanceuuid Host Obj. UUID
EHSTaskRelatedObjAdapterClass ehfndd_tdef_ref ehstaskrelatedobjadapterclass Class Name
_EHSTaskDefinition _EHSTaskDefinition

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_EHSTaskDefReference.
-- 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: IEHSTASKDEFRREF

CREATE VIEW I_EHSTaskDefReference AS
SELECT
  EHSTaskDefReference.ehstaskdefinitionreferenceuuid AS EHSTaskDefinitionReferenceUUID,
  EHSTaskDefReference.ehstaskdefinitionuuid AS EHSTaskDefinitionUUID,
  EHSTaskDefReference.ehstaskrelatedobjinstanceuuid AS EHSTaskRelatedObjInstanceUUID,
  EHSTaskDefReference.ehstaskrelatedobjadapterclass AS EHSTaskRelatedObjAdapterClass
FROM ehfndd_tdef_ref AS EHSTaskDefReference
LEFT OUTER JOIN I_EHSTaskDefinition AS _EHSTaskDefinition ON EHSTaskDefinitionUUID = _EHSTaskDefinition.EHSTaskDefinitionUUID  -- association [1..1]
;