I_ALLOCTAGSEGMENTASSIGNMENTTP

CDS View

Allocation Tag to Segments - TP

I_ALLOCTAGSEGMENTASSIGNMENTTP is a CDS View in S/4HANA. Allocation Tag to Segments - TP. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_AllocTagSegmentAssignmentTP view from CONSUMPTION Allocation Tag to Segment
@AbapCatalog.sqlViewName: 'ALLOCTAGSGMTTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Allocation Tag to Segments - TP'

@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #M

@VDM.viewType: #TRANSACTIONAL
@ObjectModel:
{
  transactionalProcessingEnabled:true,
  writeDraftPersistence: 'ALLTAGSEGASGNTPD',
  semanticKey: ['AllocationTagID', 'AllocationType', 'AllocationCycle', 'AllocationCycleStartDate', 'AllocationCycleSegment' ],
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: true
}
define view I_AllocTagSegmentAssignmentTP 
  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
  
  association [1..1] to I_AllocationSegmentTP as _Segment on  $projection.AllocationType              = _Segment.AllocationType
                                                         and $projection.AllocationCycle             = _Segment.AllocationCycle
                                                         and $projection.AllocationCycleStartDate    = _Segment.AllocationCycleStartDate
                                                         and $projection.AllocationCycleSegment      = _Segment.AllocationCycleSegment
{
  key AllocationTagID,
  key AllocationType,
  key AllocationCycle,
  key AllocationCycleStartDate,
  key AllocationCycleSegment,
  AllocationTagCreatedByUser,
  CreationDateTime,
  AllocationTagChangedByUser,
  LastChangeDateTime,
  
  @ObjectModel.association.type: #TO_COMPOSITION_ROOT
  _Cycle,
  
  @ObjectModel.association.type: #TO_COMPOSITION_PARENT
  _Segment
}