I_ALLOCTAGOBJECTASSIGNMENTTP

CDS View

Allocation Tag Object Assignment - TP

I_ALLOCTAGOBJECTASSIGNMENTTP is a CDS View in S/4HANA. Allocation Tag Object Assignment - TP. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_AllocTagObjectAssignmentTP view from CONSUMPTION Allocation Tag to Cycles and Segments
@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'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCTAGOBJECTASSIGNMENT"
],
"ASSOCIATED":
[
"I_ALLOCATIONCYCLETP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/