P_ProccatalogcalldetailsWD

DDL: P_PROCCATALOGCALLDETAILSWD SQL: PPROCCATCAL000WD Type: view COMPOSITE

P_ProccatalogcalldetailsWD is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_Proccatalogcalldetails, proccatcalldet_d, proccatcalldet_d, I_DraftAdministrativeData) and exposes 23 fields with key fields OpnCtlgWebServiceDraftUUID, ActiveOpnCtlgWebServiceID.

Data Sources (4)

SourceAliasJoin Type
I_Proccatalogcalldetails ActiveDocument from
proccatcalldet_d DraftDocument left_outer
proccatcalldet_d DraftDocument union_all
I_DraftAdministrativeData I_DraftAdministrativeData inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PPROCCATCAL000WD view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientDependent true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY OpnCtlgWebServiceDraftUUID
KEY ActiveOpnCtlgWebServiceID I_Proccatalogcalldetails OpnCtlgWebServiceID
OpnCtlgWebServiceID I_Proccatalogcalldetails OpnCtlgWebServiceID
OpnCtlgWebServiceName I_Proccatalogcalldetails OpnCtlgWebServiceName
IsDefaultCatalog I_Proccatalogcalldetails IsDefaultCatalog
OpnCtlgIsProdDspAllwd I_Proccatalogcalldetails OpnCtlgIsProdDspAllwd
OpnCtlgIsProdUpdtAllwd I_Proccatalogcalldetails OpnCtlgIsProdUpdtAllwd
OpnCtlgIsSrcgAllwd I_Proccatalogcalldetails OpnCtlgIsSrcgAllwd
OpnCtlgHasCrsCtlgSrch I_Proccatalogcalldetails OpnCtlgHasCrsCtlgSrch
OpnCtlgHasPartDets I_Proccatalogcalldetails OpnCtlgHasPartDets
OpnCtlgHasHttpGet I_Proccatalogcalldetails OpnCtlgHasHttpGet
OpnCtlgIconPath I_Proccatalogcalldetails OpnCtlgIconPath
IsOpnCtlgPunchoutDisabled I_Proccatalogcalldetails IsOpnCtlgPunchoutDisabled
IsOpnCtlgExtractionEnabled I_Proccatalogcalldetails IsOpnCtlgExtractionEnabled
IsErrorMsgNotToBeLogged I_Proccatalogcalldetails IsErrorMsgNotToBeLogged
IsSuccessMsgNotToBeLogged I_Proccatalogcalldetails IsSuccessMsgNotToBeLogged
IsWarningMsgNotToBeLogged I_Proccatalogcalldetails IsWarningMsgNotToBeLogged
DraftAdministrativeDataUUID proccatcalldet_d opnctlgwebservicedraftuuid
IsActiveEntity
HasActiveEntity
DraftAdministrativeDataUUID proccatcalldet_d opnctlgwebservicedraftuuid
IsActiveEntity
HasDraftEntity
@AbapCatalog.sqlViewName: 'PPROCCATCAL000WD'
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientDependent: true

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING

define view P_ProccatalogcalldetailsWD
  as select from    I_Proccatalogcalldetails as ActiveDocument
    left outer join proccatcalldet_d         as DraftDocument on DraftDocument.activeopnctlgwebserviceid = ActiveDocument.OpnCtlgWebServiceID
{
  key cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) as OpnCtlgWebServiceDraftUUID,
  key ActiveDocument.OpnCtlgWebServiceID                                                 as ActiveOpnCtlgWebServiceID,
      ActiveDocument.OpnCtlgWebServiceID,
      ActiveDocument.OpnCtlgWebServiceName,
      ActiveDocument.IsDefaultCatalog,
      ActiveDocument.OpnCtlgIsProdDspAllwd,
      ActiveDocument.OpnCtlgIsProdUpdtAllwd,
      ActiveDocument.OpnCtlgIsSrcgAllwd,
      ActiveDocument.OpnCtlgHasCrsCtlgSrch,
      ActiveDocument.OpnCtlgHasPartDets,
      ActiveDocument.OpnCtlgHasHttpGet,
      ActiveDocument.OpnCtlgIconPath,
      ActiveDocument.IsOpnCtlgPunchoutDisabled,
      ActiveDocument.IsOpnCtlgExtractionEnabled,
      ActiveDocument.IsErrorMsgNotToBeLogged,
      ActiveDocument.IsSuccessMsgNotToBeLogged,
      ActiveDocument.IsWarningMsgNotToBeLogged,
      DraftDocument.opnctlgwebservicedraftuuid                                           as DraftAdministrativeDataUUID,
      cast( 'X' as sdraft_is_active preserving type )                                    as IsActiveEntity,
      cast( ' ' as sdraft_has_active preserving type )                                   as HasActiveEntity,
      cast(
      case
      when DraftDocument.opnctlgwebservicedraftuuid is null then ' '
      else 'X'
      end  as sdraft_has_draft preserving type )                                         as HasDraftEntity
}
union all select from proccatcalldet_d          as DraftDocument
  inner join          I_DraftAdministrativeData as I_DraftAdministrativeData on I_DraftAdministrativeData.DraftUUID = DraftDocument.opnctlgwebservicedraftuuid
{
  key DraftDocument.opnctlgwebservicedraftuuid,
  key DraftDocument.activeopnctlgwebserviceid,
      DraftDocument.opnctlgwebserviceid,
      DraftDocument.opnctlgwebservicename,
      DraftDocument.isdefaultcatalog,
      DraftDocument.opnctlgisproddspallwd,
      DraftDocument.opnctlgisprodupdtallwd,
      DraftDocument.opnctlgissrcgallwd,
      DraftDocument.opnctlghascrsctlgsrch,
      DraftDocument.opnctlghaspartdets,
      DraftDocument.opnctlghashttpget,
      DraftDocument.opnctlgiconpath,
      DraftDocument.isopnctlgpunchoutdisabled,
      DraftDocument.isopnctlgextractionenabled,
      DraftDocument.iserrormsgnottobelogged,
      DraftDocument.issuccessmsgnottobelogged,
      DraftDocument.iswarningmsgnottobelogged,
      DraftDocument.opnctlgwebservicedraftuuid         as DraftAdministrativeDataUUID,
      cast( ' '  as sdraft_is_active preserving type ) as IsActiveEntity,
      DraftDocument.hasactiveentity,
      cast( ' '  as sdraft_has_draft preserving type ) as HasDraftEntity
}
where
     I_DraftAdministrativeData.CreatedByUser   = $session.user
  or I_DraftAdministrativeData.InProcessByUser = $session.user     
  
  
  
  
  
  
  
  
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DRAFTADMINISTRATIVEDATA",
"I_PROCCATALOGCALLDETAILS",
"PROCCATCALLDET_D"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/