I_EHSIncidentFormWthHostObj

DDL: I_EHSINCIDENTFORMWTHHOSTOBJ Type: view_entity COMPOSITE Package: EHHSS_BO_INC_IMPL

Incident Form with Host Object

I_EHSIncidentFormWthHostObj is a Composite CDS View that provides data about "Incident Form with Host Object" in SAP S/4HANA. It reads from 2 data sources (I_Incident, I_IncidentInvolvedPerson) and exposes 21 fields with key fields IncidentUUID, IncidentNodeUUID, IncidentNodeUUID. It has 2 associations to related views. Part of development package EHHSS_BO_INC_IMPL.

Data Sources (2)

SourceAliasJoin Type
I_Incident I_Incident from
I_IncidentInvolvedPerson I_IncidentInvolvedPerson union

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_IncidentReport _IncidentReport $projection.IncidentNodeUUID = _IncidentReport.IncidentNodeUUID
[1..1] I_IncidentBasicInfo _IncidentBasicInfo $projection.IncidentUUID = _IncidentBasicInfo.IncidentUUID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Incident Form with Host Object view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY IncidentUUID IncidentUUID Incident UUID
KEY IncidentNodeUUID IncidentUUID
IncidentReportFormName _IncidentReport IncidentReportFormName
IncidentReportIsRequired _IncidentReport IncidentReportIsRequired
IncidentCategory IncidentCategory Violation Category
IncidentStatus IncidentStatus
Plant _IncidentBasicInfo Plant Valuation Area
EHSLocationID _IncidentBasicInfo EHSLocationID
Country _IncidentBasicInfo Country Venue: Ctry/Reg
Region _IncidentBasicInfo Region Venue Region
IncidentUUIDkeyIncidentUUID
KEY IncidentNodeUUID InvolvedPersonUUID
IncidentReportFormName _IncidentReport IncidentReportFormName
IncidentReportIsRequired _IncidentReport IncidentReportIsRequired
IncidentCategory _Incident IncidentCategory Violation Category
IncidentStatus _Incident IncidentStatus
Plant Valuation Area
EHSLocationID
Country Venue: Ctry/Reg
Region Venue Region
_IncidentBasicInfo _IncidentBasicInfo

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_EHSIncidentFormWthHostObj.
-- 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.

CREATE VIEW I_EHSIncidentFormWthHostObj AS
SELECT
  IncidentUUID,
  IncidentUUID AS IncidentNodeUUID,
  _IncidentReport.IncidentReportFormName AS IncidentReportFormName,
  _IncidentReport.IncidentReportIsRequired AS IncidentReportIsRequired,
  IncidentCategory,
  IncidentStatus,
  _IncidentBasicInfo.Plant AS Plant,
  _IncidentBasicInfo.EHSLocationID AS EHSLocationID,
  _IncidentBasicInfo.Country AS Country,
  _IncidentBasicInfo.Region AS Region
FROM I_Incident
LEFT OUTER JOIN I_IncidentReport AS _IncidentReport ON IncidentNodeUUID = _IncidentReport.IncidentNodeUUID  -- association [0..1]
LEFT OUTER JOIN I_IncidentBasicInfo AS _IncidentBasicInfo ON IncidentUUID = _IncidentBasicInfo.IncidentUUID  -- association [1..1]
-- UNION with additional select branch(es): I_IncidentInvolvedPerson
;