P_UnivAllocKeyFieldVersion
Universal Allocation Key Field
P_UnivAllocKeyFieldVersion is a Consumption CDS View that provides data about "Universal Allocation Key Field" in SAP S/4HANA. It reads from 2 data sources (I_UnivAllocKeyFieldVersion, I_UniversalAllocationKeyField) and exposes 22 fields with key fields AllocCycleKeyFieldVersionValue, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. Part of development package ODATA_MANAGE_ALLOC_CHANGES.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_UnivAllocKeyFieldVersion | I_UnivAllocKeyFieldVersion | from |
| I_UniversalAllocationKeyField | I_UniversalAllocationKeyField | union_all |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocCycleKeyFieldVersionValue | |||
| KEY | AllocationType | AllocationType | ||
| KEY | AllocationCycle | AllocationCycle | ||
| KEY | AllocationCycleStartDate | AllocationCycleStartDate | ||
| KEY | AllocationCycleSegment | AllocationCycleSegment | ||
| KEY | AllocationSetType | AllocationSetType | ||
| KEY | AllocDocumentSequenceNumber | AllocDocumentSequenceNumber | ||
| AllocationFieldName | AllocationFieldName | |||
| AllocationSetName | AllocationSetName | |||
| AllocationFieldMinimumValue | AllocationFieldMinimumValue | |||
| AllocationFieldMaximumValue | AllocationFieldMaximumValue | |||
| KEY | AllocationType | AllocationType | ||
| KEY | AllocationCycle | AllocationCycle | ||
| KEY | AllocationCycleStartDate | AllocationCycleStartDate | ||
| KEY | AllocationCycleSegment | AllocationCycleSegment | ||
| KEY | AllocationSetType | AllocationSetType | ||
| KEY | AllocDocumentSequenceNumber | AllocDocumentSequenceNumber | ||
| AllocationFieldName | AllocationFieldName | |||
| AllocationSetName | AllocationSetName | |||
| AllocationFieldMinimumValue | AllocationFieldMinimumValue | |||
| AllocationFieldMaximumValue | AllocationFieldMaximumValue | |||
| AllocationSetId | AllocationSetId |
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
define view entity P_UnivAllocKeyFieldVersion
as select from I_UnivAllocKeyFieldVersion
{
key cast( AllocCycleKeyFieldVersionValue as fcoua_version_id_decimal) as AllocCycleKeyFieldVersionValue,
key AllocationType,
key AllocationCycle,
key AllocationCycleStartDate,
key AllocationCycleSegment,
key AllocationSetType,
key AllocDocumentSequenceNumber,
AllocationFieldName,
AllocationSetName,
AllocationFieldMinimumValue,
AllocationFieldMaximumValue,
AllocationSetId
}
union all select from I_UniversalAllocationKeyField
{
key cast(99990101010101.0000000 as fcoua_version_id_decimal ) as AllocCycleKeyFieldVersionValue,
key AllocationType,
key AllocationCycle,
key AllocationCycleStartDate,
key AllocationCycleSegment,
key AllocationSetType,
key AllocDocumentSequenceNumber,
AllocationFieldName,
AllocationSetName,
AllocationFieldMinimumValue,
AllocationFieldMaximumValue,
AllocationSetId
}
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