P_AllocRcvrTracingRefCount

DDL: P_ALLOCRCVRTRACINGREFCOUNT SQL: PALORCVRREFCNT Type: view CONSUMPTION

P_AllocRcvrTracingRefCount is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_AllocationKeyField, I_AllocTopDwnDistrRefFld) and exposes 6 fields with key fields AllocationCycle, AllocationType, AllocationCycleStartDate, AllocationCycleSegment, AllocDocumentSequenceNumber.

Data Sources (2)

SourceAliasJoin Type
I_AllocationKeyField kf from
I_AllocTopDwnDistrRefFld ref inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PALORCVRREFCNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY AllocationCycle I_AllocationKeyField AllocationCycle
KEY AllocationType I_AllocationKeyField AllocationType
KEY AllocationCycleStartDate I_AllocationKeyField AllocationCycleStartDate
KEY AllocationCycleSegment I_AllocationKeyField AllocationCycleSegment
KEY AllocDocumentSequenceNumber I_AllocationKeyField AllocDocumentSequenceNumber
RefCount
@AbapCatalog.sqlViewName: 'PALORCVRREFCNT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

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

@VDM.private: true
@VDM.viewType: #CONSUMPTION 
define view P_AllocRcvrTracingRefCount as 
select from I_AllocationKeyField as kf
inner join I_AllocTopDwnDistrRefFld as ref
  on  kf.AllocationType = ref.AllocationType
  and kf.AllocationCycle             = ref.AllocationCycle
  and kf.AllocationCycleStartDate    = ref.AllocationCycleStartDate
  and kf.AllocationCycleSegment      = ref.AllocationCycleSegment
  and kf.AllocDocumentSequenceNumber = ref.AllocDocumentSequenceNumber       
{
  key kf.AllocationCycle,
  key kf.AllocationType,
  key kf.AllocationCycleStartDate,
  key kf.AllocationCycleSegment,
  key kf.AllocDocumentSequenceNumber,  
  count( * ) as RefCount  
}
where 
  kf.AllocationSetType = '4'
group by 
  kf.AllocationType, 
  kf.AllocationCycle, 
  kf.AllocationCycleStartDate, 
  kf.AllocationCycleSegment,
  kf.AllocDocumentSequenceNumber


/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCATIONKEYFIELD",
"I_ALLOCTOPDWNDISTRREFFLD"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/