I_IncidentRestrictionAvailable

DDL: I_INCIDENTRESTRICTIONAVAILABLE SQL: IINCRESTRAVAIL Type: view COMPOSITE

Incident Reference Restriction Available

I_IncidentRestrictionAvailable is a Composite CDS View that provides data about "Incident Reference Restriction Available" in SAP S/4HANA. It reads from 2 data sources (I_IncidentInvestigation, I_IncidentInvolvedPerson) and exposes 4 fields with key field EHSTaskRelatedObjInstanceUUID.

Data Sources (2)

SourceAliasJoin Type
I_IncidentInvestigation I_IncidentInvestigation union_all
I_IncidentInvolvedPerson I_IncidentInvolvedPerson from

Annotations (11)

NameValueLevelField
EndUserText.label Incident Reference Restriction Available view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
AbapCatalog.sqlViewName IINCRESTRAVAIL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY EHSTaskRelatedObjInstanceUUID InvolvedPersonUUID
IncidentUUID IncidentUUID Incident UUID
IncidentUUID IncidentUUID Incident UUID
IncidentHasAccessRestriction InvestigationHasAccRestriction Restricted

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_IncidentRestrictionAvailable.
-- 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: IINCRESTRAVAIL

CREATE VIEW I_IncidentRestrictionAvailable AS
SELECT
  InvolvedPersonUUID AS EHSTaskRelatedObjInstanceUUID,
  IncidentUUID,
  InvestigationHasAccRestriction AS IncidentHasAccessRestriction
FROM I_IncidentInvolvedPerson
-- UNION ALL with additional select branch(es): I_IncidentInvestigation
;