R_UnivAllocTagSgmtAssignmentTP

DDL: R_UNIVALLOCTAGSGMTASSIGNMENTTP Type: view_entity TRANSACTIONAL Package: ODATA_MANAGE_ALLOCATION_V2_RAP

Tag to Segment Assignment

R_UnivAllocTagSgmtAssignmentTP is a Transactional CDS View that provides data about "Tag to Segment Assignment" in SAP S/4HANA. It reads from 1 data source (I_UnivAllocTagObjectAssignment) and exposes 12 fields with key fields AllocationTagID, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. It has 1 association to related views. Part of development package ODATA_MANAGE_ALLOCATION_V2_RAP.

Data Sources (1)

SourceAliasJoin Type
I_UnivAllocTagObjectAssignment I_UnivAllocTagObjectAssignment from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_UniversalAllocationCycleTP _Cycle $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Tag to Segment Assignment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY AllocationTagID AllocationTagID
KEY AllocationType AllocationType
KEY AllocationCycle AllocationCycle
KEY AllocationCycleStartDate AllocationCycleStartDate
KEY AllocationCycleSegment AllocationCycleSegment
AllocationTagCreatedByUser AllocationTagCreatedByUser
CreationDateTime CreationDateTime
AllocationTagChangedByUser AllocationTagChangedByUser
LastChangeDateTime LastChangeDateTime
AllocationTagIdentifierForEdit AllocationTagID
_Segment _Segment
_Cycle _Cycle
@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'