DHADM_MON_AccessPlanOvwBase

DDL: DHADM_MON_ACCESSPLANOVWBASE Type: view_entity Package: SADI_ADM_MON

Access Plan Calculation Overview Base

DHADM_MON_AccessPlanOvwBase is a CDS View that provides data about "Access Plan Calculation Overview Base" in SAP S/4HANA. It reads from 3 data sources (dhcdc_rtobjcalc, dhcdc_objsubsreg, dhcdc_subsreg) and exposes 8 fields with key fields SubscriberId, SubscriberType, Objtype, Objname. Part of development package SADI_ADM_MON.

Data Sources (3)

SourceAliasJoin Type
dhcdc_rtobjcalc objinfo from
dhcdc_objsubsreg osubsreg inner
dhcdc_subsreg subsreg inner

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Access Plan Calculation Overview Base view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SubscriberId dhcdc_rtobjcalc subscriber_id
KEY SubscriberType dhcdc_subsreg type
KEY Objtype dhcdc_rtobjcalc objtype
KEY Objname dhcdc_rtobjcalc objname
charXthenBelsePendasPushPull
ProcessOption dhcdc_objsubsreg process_option
TransferStatus status TransferStatus
CalculationStatus status CalculationStatus
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Access Plan Calculation Overview Base'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
define view entity DHADM_MON_AccessPlanOvwBase
  as select from dhcdc_rtobjcalc                as objinfo
    inner join   dhcdc_subsreg                  as subsreg  on objinfo.subscriber_id = subsreg.id
    inner join   dhcdc_objsubsreg               as osubsreg on  objinfo.subscriber_id = osubsreg.subscriber_id
                                                            and objinfo.objname       = osubsreg.objname
                                                            and objinfo.objtype       = osubsreg.objtype
    left outer to one join DHADM_MON_AcsPlanSummaryStatus as status   on status.acd_id = objinfo.acd_id

{
  key objinfo.subscriber_id    as SubscriberId,
  key subsreg.type             as SubscriberType,
  key objinfo.objtype          as Objtype,
  key objinfo.objname          as Objname,
      case when subsreg.type = 'ODP' or subsreg.use_data_buffer = abap.char'X'
                then 'B'
           else 'P'
       end                     as PushPull,  
      osubsreg.process_option  as ProcessOption,
      status.TransferStatus    as TransferStatus,
      status.CalculationStatus as CalculationStatus
}