C_AllocationCycleKeyFieldTP
Allocation Cycle Key Field
C_AllocationCycleKeyFieldTP is a Consumption CDS View that provides data about "Allocation Cycle Key Field" in SAP S/4HANA. It reads from 1 data source (I_AllocationCycleKeyFieldTP) and exposes 13 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment, AllocDocumentSequenceNumber. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationCycleKeyFieldTP | I_AllocationCycleKeyFieldTP | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_AllocationCycleTP | _Cycle | $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CALLOCCYCLEFIELD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Allocation Cycle Key Field | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationType | AllocationType | ||
| KEY | AllocationCycle | AllocationCycle | ||
| KEY | AllocationCycleStartDate | AllocationCycleStartDate | ||
| KEY | AllocationCycleSegment | AllocationCycleSegment | ||
| KEY | AllocDocumentSequenceNumber | AllocDocumentSequenceNumber | ||
| AllocationFieldName | AllocationFieldName | |||
| AllocationSetName | AllocationSetName | |||
| AllocationFieldMinimumValue | AllocationFieldMinimumValue | |||
| AllocationFieldMaximumValue | AllocationFieldMaximumValue | |||
| AllocationSetId | AllocationSetId | |||
| AllocationFieldText | AllocationFieldText | |||
| AllocationSetType | AllocationSetType | |||
| _Cycle | _Cycle |
@AbapCatalog.sqlViewName: 'CALLOCCYCLEFIELD'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking:#NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Allocation Cycle Key Field'
@ObjectModel:
{
transactionalProcessingDelegated: true,
draftEnabled: true,
createEnabled: true,
updateEnabled: true,
deleteEnabled: true
// entityChangeStateId: 'LastChangeTime'
}
define view C_AllocationCycleKeyFieldTP
as
//select from P_AllocationKeyField
//select from Z_I_AllocationCycleKeyFieldTP
select from I_AllocationCycleKeyFieldTP
association [1..1] to C_AllocationCycleTP as _Cycle on $projection.AllocationType = _Cycle.AllocationType
and $projection.AllocationCycle = _Cycle.AllocationCycle
and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
{
//key DatabaseTable,
key AllocationType,
key AllocationCycle,
key AllocationCycleStartDate,
key AllocationCycleSegment,
key AllocDocumentSequenceNumber,
AllocationFieldName,
AllocationSetName,
AllocationFieldMinimumValue,
AllocationFieldMaximumValue,
AllocationSetId,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_CYC_KEY_TEXT_EXIT' }
AllocationFieldText,
AllocationSetType,
@ObjectModel.association.type: [#TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT]
_Cycle
}
//where AllocationSetType = '0'
// and DatabaseTable = 'ACDOC_CC'
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