P_AllocRcvrTracingRefCount
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)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationKeyField | kf | from |
| I_AllocTopDwnDistrRefFld | ref | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA