I_IncidentRestrictionAvailable
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)
| Source | Alias | Join Type |
|---|---|---|
| I_IncidentInvestigation | I_IncidentInvestigation | union_all |
| I_IncidentInvolvedPerson | I_IncidentInvolvedPerson | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Incident Reference Restriction Available | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSTaskRelatedObjInstanceUUID | InvolvedPersonUUID | ||
| IncidentUUID | IncidentUUID | |||
| IncidentUUID | IncidentUUID | |||
| IncidentHasAccessRestriction | InvestigationHasAccRestriction |
@EndUserText.label: 'Incident Reference Restriction Available'
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_ALLOWED // the CDS view is used to determine values needed for the authority check
// #NOT_REQUIRED because of existing end of purpose check
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'IINCRESTRAVAIL'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #M, dataClass: #TRANSACTIONAL}
define view I_IncidentRestrictionAvailable
as select from I_IncidentInvolvedPerson
{
key InvolvedPersonUUID as EHSTaskRelatedObjInstanceUUID,
IncidentUUID,
PersonInfoHasAccRestriction as IncidentHasAccessRestriction
}
union all select from I_IncidentInvestigation
{
key IncidentInvestigationUUID as EHSTaskRelatedObjInstanceUUID,
IncidentUUID,
InvestigationHasAccRestriction as IncidentHasAccessRestriction
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_INCIDENTINVESTIGATION",
"I_INCIDENTINVOLVEDPERSON"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA