P_BusEventLogSAPObjectType

DDL: P_BUSEVENTLOGSAPOBJECTTYPE SQL: PBUEVLGSOT Type: view COMPOSITE

P_BusEventLogSAPObjectType is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_BusEvtLogConfig, I_BusEvtLogEventBindingProdr, I_CustABAPObjDirectoryEntry, I_SAPObjectType_2) and exposes 1 field with key field SAPObjectType.

Data Sources (4)

SourceAliasJoin Type
I_BusEvtLogConfig I_BusEvtLogConfig from
I_BusEvtLogEventBindingProdr I_BusEvtLogEventBindingProdr union
I_CustABAPObjDirectoryEntry I_CustABAPObjDirectoryEntry union
I_SAPObjectType_2 I_SAPObjectType_2 inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PBUEVLGSOT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
VDM.private true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY SAPObjectType I_SAPObjectType_2 SAPObjectType
@AbapCatalog.sqlViewName: 'PBUEVLGSOT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true

@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #M, dataClass: #MASTER}

@AccessControl.authorizationCheck: #NOT_REQUIRED
define view P_BusEventLogSAPObjectType as
//  select from I_BusEventLogSAPObjectType  // S

//{

//  key $session.client as mandt,

//  key SAPObjectType

//}

//where

//  BusEventLoggingIsAllowed = 'X'

//

//union


select from I_BusEvtLogConfig  // C

{
  //key $session.client as mandt,

  key SAPObjectType
}
where
  BusEvtLogSOTIsActive = 'X'

union

select from I_BusEvtLogEventBindingProdr
{
  key $session.client as mandt,
  key SAPObjectType
}

union

select from I_CustABAPObjDirectoryEntry
 inner join I_SAPObjectType_2 on I_CustABAPObjDirectoryEntry.ABAPObject =  I_SAPObjectType_2.SAPObjectTypeInUppercase
{
  key $session.client as mandt,
  key I_SAPObjectType_2.SAPObjectType as SAPObjectType

 } where I_CustABAPObjDirectoryEntry.ABAPObjectType = 'RONT' and
         I_CustABAPObjDirectoryEntry.ABAPObjectCategory = 'R3TR' and
         I_CustABAPObjDirectoryEntry.ABAPObjectIsDeleted = ''