R_UNIVALLOCTAGSGMTASSIGNMENTTP

CDS View

Tag to Segment Assignment

R_UNIVALLOCTAGSGMTASSIGNMENTTP is a CDS View in S/4HANA. Tag to Segment Assignment. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_UnivAllocTagSgmtAssignmentTP view_entity projection CONSUMPTION Tag to Segment Assignment
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Tag to Segment Assignment'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #B,
  sizeCategory: #M,
  dataClass: #CUSTOMIZING }
@VDM: { viewType: #TRANSACTIONAL,
        lifecycle.contract.type: #SAP_INTERNAL_API }
define view entity R_UnivAllocTagSgmtAssignmentTP
  as select from I_UnivAllocTagObjectAssignment

  association        to parent R_UniversalAllocationSegmentTP as _Segment on  $projection.AllocationType           = _Segment.AllocationType
                                                                          and $projection.AllocationCycle          = _Segment.AllocationCycle
                                                                          and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate
                                                                          and $projection.AllocationCycleSegment   = _Segment.AllocationCycleSegment

  association [1..1] to R_UniversalAllocationCycleTP          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,
      AllocationTagChangedByUser,
      LastChangeDateTime,
      
      @ObjectModel.editableFieldFor: 'AllocationTagID'
      AllocationTagID as AllocationTagIdentifierForEdit,

      _Segment,
      _Cycle
}
where
  AllocationCycleSegment <> '0000'