I_IAMSupportUserRequestLog

DDL: I_IAMSUPPORTUSERREQUESTLOG Type: view_entity BASIC Package: SR_APS_IAM_SUSR

Support User Request Log

I_IAMSupportUserRequestLog is a Basic CDS View that provides data about "Support User Request Log" in SAP S/4HANA. It reads from 4 data sources (dd07t, dd07t, dd07t, P_IAMSUPPORTUSERLOG) and exposes 17 fields with key field CAMSupportUserRequestUUID. It has 1 association to related views. It is exposed through 1 OData service (API_IAM_SUSR_READ). Part of development package SR_APS_IAM_SUSR.

Data Sources (4)

SourceAliasJoin Type
dd07t _AbaMode left_outer
dd07t _AccessCategory left_outer
dd07t _IncidentSystemType left_outer
P_IAMSUPPORTUSERLOG _SupportUserRequestLog from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_User _SupportUser $projection.CAMSupportUser = _SupportUser.UserID

Annotations (9)

NameValueLevelField
EndUserText.label Support User Request Log view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #NOT_ALLOWED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view

OData Services (1)

ServiceBindingVersionContractRelease
API_IAM_SUSR_READ API_IAM_SUSR_READ V4 C2 C1

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CAMSupportUserRequestUUID P_IAMSUPPORTUSERLOG UUID
CAMSuppUserValdtyStartDateTime P_IAMSUPPORTUSERLOG RequestedAt
CAMSupportUser P_IAMSUPPORTUSERLOG Bname
CAMSupportAccessLevel P_IAMSUPPORTUSERLOG AccessLevelID
CAMSupportAccessCategory P_IAMSUPPORTUSERLOG AccessCategory
CAMSupportAccessCategoryText dd07t ddtext
CAMSuppAddedAuthorizationMode P_IAMSUPPORTUSERLOG AbaMode
CAMSuppAddedAuthznModeText dd07t ddtext
CAMSuppAddedAuthorizationUser P_IAMSUPPORTUSERLOG AbaBname
CAMSupportIncident P_IAMSUPPORTUSERLOG IncidentID
CAMSupportIncidentSystem P_IAMSUPPORTUSERLOG IncidentSystemType
CAMSupportIncidentSystemText dd07t ddtext
CAMSupportIncidentSystemNumber P_IAMSUPPORTUSERLOG IncidentSystemNumber
CAMSupportIncidentTicketNumber P_IAMSUPPORTUSERLOG IncidentNumber
CAMSupportIncidentTicketYear P_IAMSUPPORTUSERLOG IncidentYear
CAMSuppUserValdtyEndDateTime P_IAMSUPPORTUSERLOG ValidTo
_SupportUser _SupportUser
@EndUserText.label: 'Support User Request Log'
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@AccessControl.privilegedAssociations: [ '_SupportUser' ]

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel.supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE]
@ObjectModel.modelingPattern: #NONE
@ObjectModel.usageType: {
  dataClass: #TRANSACTIONAL,
  serviceQuality: #A,
  sizeCategory: #S
}

// The following components of the underlying private view are not exposed in the consumption view:

// RequestedBy: SAP internal technical users for automated system operation

// RequestId: is always empty

// AccessType: SAP internal fixed values used in P_ view to calculate AccessCategory

// IncidentSrc: SAP internal source data used in CL_APS_IAM_SUSR_INC_PARSER to determine IncidentType

// IncidentType: SAP internal classification used in P_ view to calculate AccessCategory


define view entity I_IAMSupportUserRequestLog
  as select from    P_IAMSUPPORTUSERLOG as _SupportUserRequestLog

  // Texts for Access Categories

    left outer join dd07t               as _AccessCategory     on  _AccessCategory.domname    = 'APS_IAM_SUSR_ACCESS_CATEGORY'
                                                               and _AccessCategory.domvalue_l = _SupportUserRequestLog.AccessCategory
                                                               and _AccessCategory.ddlanguage = $session.system_language

  // Texts for Additional Business Authorization Modes

    left outer join dd07t               as _AbaMode            on  _AbaMode.domname    = 'APS_IAM_SUSR_ABA_MODE'
                                                               and _AbaMode.domvalue_l = _SupportUserRequestLog.AbaMode
                                                               and _AbaMode.ddlanguage = $session.system_language

  // Texts for Incident System Types

    left outer join dd07t               as _IncidentSystemType on  _IncidentSystemType.domname    = 'APS_IAM_SUSR_INCIDENT_SYS_TYPE'
                                                               and _IncidentSystemType.domvalue_l = _SupportUserRequestLog.IncidentSystemType
                                                               and _IncidentSystemType.ddlanguage = $session.system_language

  association [0..1] to I_User as _SupportUser on $projection.CAMSupportUser = _SupportUser.UserID

{
  key _SupportUserRequestLog.UUID                 as CAMSupportUserRequestUUID,
      _SupportUserRequestLog.RequestedAt          as CAMSuppUserValdtyStartDateTime,
      _SupportUserRequestLog.Bname                as CAMSupportUser,
      _SupportUserRequestLog.AccessLevelID        as CAMSupportAccessLevel,
      _SupportUserRequestLog.AccessCategory       as CAMSupportAccessCategory,
      _AccessCategory.ddtext                      as CAMSupportAccessCategoryText,
      _SupportUserRequestLog.AbaMode              as CAMSuppAddedAuthorizationMode,
      _AbaMode.ddtext                             as CAMSuppAddedAuthznModeText,
      _SupportUserRequestLog.AbaBname             as CAMSuppAddedAuthorizationUser,
      _SupportUserRequestLog.IncidentID           as CAMSupportIncident,
      _SupportUserRequestLog.IncidentSystemType   as CAMSupportIncidentSystem,
      _IncidentSystemType.ddtext                  as CAMSupportIncidentSystemText,
      _SupportUserRequestLog.IncidentSystemNumber as CAMSupportIncidentSystemNumber,
      _SupportUserRequestLog.IncidentNumber       as CAMSupportIncidentTicketNumber,
      _SupportUserRequestLog.IncidentYear         as CAMSupportIncidentTicketYear,
      _SupportUserRequestLog.ValidTo              as CAMSuppUserValdtyEndDateTime,
      _SupportUser
}
where
  // This person related data is provided for the purpose of auditing support access before financial year end closing.

  // Log entries older than 366 days are not returned.

      tstmp_is_valid( _SupportUserRequestLog.ValidTo ) =  1
  and tstmp_seconds_between(
        _SupportUserRequestLog.ValidTo, tstmp_current_utctimestamp(), 'FAIL'
      )                                                <= 31622400