I_AllocTagObjectAssignmentTP
Allocation Tag Object Assignment - TP
I_AllocTagObjectAssignmentTP is a Transactional CDS View that provides data about "Allocation Tag Object Assignment - TP" in SAP S/4HANA. It reads from 1 data source (I_AllocTagObjectAssignment) and exposes 12 fields with key fields AllocationTagID, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocTagObjectAssignment | I_AllocTagObjectAssignment | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_AllocationCycleTP | _Cycle | $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ALLOCTAGOBJASTP | 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 | |
| EndUserText.label | Allocation Tag Object Assignment - TP | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeDraftPersistence | ALLOCTAGOJATPD | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationTagID | AllocationTagID | ||
| KEY | AllocationType | AllocationType | ||
| KEY | AllocationCycle | AllocationCycle | ||
| KEY | AllocationCycleStartDate | AllocationCycleStartDate | ||
| KEY | AllocationCycleSegment | AllocationCycleSegment | ||
| AllocationTagCreatedByUser | AllocationTagCreatedByUser | |||
| CreationDateTime | CreationDateTime | |||
| AllocationCreateDate | AllocationCreateDate | |||
| AllocationTagChangedByUser | AllocationTagChangedByUser | |||
| LastChangeDateTime | LastChangeDateTime | |||
| LastChangeDate | LastChangeDate | |||
| _Cycle | _Cycle |
@AbapCatalog.sqlViewName: 'ALLOCTAGOBJASTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Allocation Tag Object Assignment - TP'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M
@VDM.viewType: #TRANSACTIONAL
@ObjectModel:
{
transactionalProcessingEnabled:true,
writeDraftPersistence: 'ALLOCTAGOJATPD',
semanticKey: ['AllocationTagID','AllocationType', 'AllocationCycle', 'AllocationCycleStartDate', 'AllocationCycleSegment'],
createEnabled: true,
updateEnabled: true,
deleteEnabled: true
}
define view I_AllocTagObjectAssignmentTP
as select from I_AllocTagObjectAssignment
association [1..1] to I_AllocationCycleTP as _Cycle on $projection.AllocationType = _Cycle.AllocationType
and $projection.AllocationCycle = _Cycle.AllocationCycle
and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
{
key AllocationTagID,
key AllocationType,
key AllocationCycle,
key AllocationCycleStartDate,
key AllocationCycleSegment,
AllocationTagCreatedByUser,
CreationDateTime,
AllocationCreateDate,
AllocationTagChangedByUser,
LastChangeDateTime,
LastChangeDate,
@ObjectModel.association.type: [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
_Cycle
// Had to add this where clause due to FXUBRQ21-8608, as this CDS is used as CycleTag but without this, it contains segment entries
// That are not updated as segment tags are in different draft table
} where AllocationCycleSegment = '0000'
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