DHADM_REC_SubscriberObjects

DDL: DHADM_REC_SUBSCRIBEROBJECTS Type: view_entity Package: SADI_ADM_REC

Subscriber Objects

DHADM_REC_SubscriberObjects is a CDS View that provides data about "Subscriber Objects" in SAP S/4HANA. It reads from 3 data sources (dhcdc_objsubsact, dhcdc_objsubsreg, dhcdc_subsreg) and exposes 6 fields. Part of development package SADI_ADM_REC.

Data Sources (3)

SourceAliasJoin Type
dhcdc_objsubsact act left_outer
dhcdc_objsubsreg obj inner
dhcdc_subsreg subs from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Subscriber Objects view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
client_mode dhcdc_subsreg client_mode
sysid dhcdc_subsreg sysid
charXthenBelsePendaspush_pull
objname dhcdc_objsubsreg objname
objtype dhcdc_objsubsreg objtype
deleted dhcdc_objsubsreg deleted
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Subscriber Objects'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
define view entity DHADM_REC_SubscriberObjects as select from dhcdc_subsreg as subs
  inner join dhcdc_objsubsreg as obj on
    obj.subscriber_id = subs.id
  left outer join dhcdc_objsubsact as act on
    act.subscriber_id = obj.subscriber_id and 
    act.objname = obj.objname and 
    act.objtype = obj.objtype   
{
    subs.id as subscriber_id,
    subs.type as subscriber_type,
    subs.use_data_buffer,
    subs.client_mode,
    subs.sysid,
    subs.push_target_type,
    subs.archiving_enabled,
    case when subs.type = 'ODP' or subs.use_data_buffer = abap.char'X'
       then 'B'
       else 'P'
    end as push_pull,      
    obj.objname,
    obj.objtype,
    obj.process_option,
    obj.retention_in_days,
    obj.deleted,
    act.last_action_ts    
}