I_INCIDENTINVSTGNAUTHZNFIELDS

CDS View

Incident Authorization Fields

I_INCIDENTINVSTGNAUTHZNFIELDS is a CDS View in S/4HANA. Incident Authorization Fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_IncidentCombAuthFields view union_all BASIC Incident Authorization Fields
@EndUserText.label: 'Incident Authorization Fields'

@AbapCatalog.sqlViewName: 'INCINVAUTHFLDS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true 

@AccessControl.authorizationCheck: #NOT_ALLOWED

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #TRANSACTIONAL}

@VDM.viewType: #BASIC

define view I_IncidentInvstgnAuthznFields 
 as select from I_IncidentInvestigationStep
 association [1..1] to I_IncidentBasicInfo      as _IncidentBasicInfo        on  $projection.IncidentUUID = _IncidentBasicInfo.IncidentUUID
 {
   key IncidentInvestigationStepUUID,
  // bintohex(IncidentInvestigationStepUUID)    as  EHSTaskHostObjectInstance, // removed due to performance optimization 

   IncidentUUID,
   IncidentInvestigationStepUUID as EHSTaskHostObjectInstanceUUID,
   _IncidentInvestigation.InvestigationHasAccRestriction,
   _IncidentInvestigation._TernaryLogicalState,
    
  _IncidentBasicInfo._Incident.IncidentCategory,
  _IncidentBasicInfo._Incident.IncidentStatus,
  
  _IncidentBasicInfo.Plant,
  // when incident is assigned to location and user has authorizations for any of the location parents, then the user has the same autorizations for this incident 

   @ObjectModel.foreignKey.association: '_CurrentEHSParentLocationID'
  _IncidentBasicInfo.EHSLocationUUID,
  _IncidentBasicInfo._CurrentEHSParentLocationID,
  _IncidentBasicInfo.Country,
  _IncidentBasicInfo.Region,
  
  _IncidentBasicInfo._Incident._IncidentCategory,
  _IncidentBasicInfo._Incident._IncidentStatus,
  _IncidentBasicInfo,
  _IncidentBasicInfo._Plant,
  _IncidentBasicInfo._Country,
  _IncidentBasicInfo._Region

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_INCIDENT",
"I_INCIDENTBASICINFO",
"I_INCIDENTINVESTIGATION",
"I_INCIDENTINVESTIGATIONSTEP"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_CURRENTEHSPARENTLOCATIONID",
"I_INCIDENTBASICINFO",
"I_INCIDENTCATEGORY",
"I_INCIDENTSTATUS",
"I_PLANT",
"I_REGION",
"I_TERNARYLOGICALSTATE"
],
"BASE":
[
"I_INCIDENT",
"I_INCIDENTBASICINFO",
"I_INCIDENTINVESTIGATION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/