R_UnivAllocationSegmentTextTP

DDL: R_UNIVALLOCATIONSEGMENTTEXTTP Type: view_entity TRANSACTIONAL Package: ODATA_MANAGE_ALLOCATION_V2_RAP

Text for Allocation Segment

R_UnivAllocationSegmentTextTP is a Transactional CDS View that provides data about "Text for Allocation Segment" in SAP S/4HANA. It reads from 1 data source (I_UnivAllocationSegmentText) and exposes 9 fields with key fields LanguageCode, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. It has 2 associations to related views. Part of development package ODATA_MANAGE_ALLOCATION_V2_RAP.

Data Sources (1)

SourceAliasJoin Type
I_UnivAllocationSegmentText I_UnivAllocationSegmentText from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_UniversalAllocationCycleTP _Cycle $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
[0..1] I_Language _Language $projection.LanguageCode = _Language.Language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Text for Allocation Segment view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY LanguageCode LanguageCode
KEY AllocationType AllocationType
KEY AllocationCycle AllocationCycle
KEY AllocationCycleStartDate AllocationCycleStartDate
KEY AllocationCycleSegment AllocationCycleSegment
AllocationSegmentDescription AllocationSegmentDescription
_Cycle _Cycle
_Segment _Segment
_Language _Language
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Text for Allocation Segment'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel: {
  dataCategory: #TEXT,
  usageType: {
    dataClass: #TRANSACTIONAL,
    serviceQuality: #A,
    sizeCategory: #M } }
define view entity R_UnivAllocationSegmentTextTP
  as select from I_UnivAllocationSegmentText

  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

  association [0..1] to I_Language                            as _Language on  $projection.LanguageCode = _Language.Language

{
  key LanguageCode,
  key AllocationType,
  key AllocationCycle,
  key AllocationCycleStartDate,
  key AllocationCycleSegment,
      AllocationSegmentDescription,

      _Cycle,
      _Segment,
      _Language
}