C_AllocationTagForCycle

DDL: C_ALLOCATIONTAGFORCYCLE SQL: ALOTAGFORCYCLE Type: view CONSUMPTION

Allocation Tag for Cycle

C_AllocationTagForCycle is a Consumption CDS View that provides data about "Allocation Tag for Cycle" in SAP S/4HANA. It reads from 1 data source (I_AllocTagObjectAssignment) and exposes 11 fields with key fields AllocationTagID, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_AllocTagObjectAssignment I_AllocTagObjectAssignment from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_AllocationCycleTP _Cycle $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
[1..1] I_UniversalAllocationTag _AllocationTag $projection.AllocationTagID = _AllocationTag.AllocationTagID

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ALOTAGFORCYCLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Allocation Tag for Cycle view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view

Fields (11)

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
_Cycle _Cycle
_AllocationTag _AllocationTag
@AbapCatalog.sqlViewName: 'ALOTAGFORCYCLE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking:#NOT_REQUIRED
@EndUserText.label: 'Allocation Tag for Cycle'

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M

@VDM.viewType: #CONSUMPTION
define view C_AllocationTagForCycle as 
select from I_AllocTagObjectAssignment
  association [1..1] to C_AllocationCycleTP      as _Cycle on  $projection.AllocationType           = _Cycle.AllocationType
                                                           and $projection.AllocationCycle          = _Cycle.AllocationCycle
                                                           and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate

  association [1..1] to I_UniversalAllocationTag as _AllocationTag   on  $projection.AllocationTagID = _AllocationTag.AllocationTagID

{
      //I_AllocTagObjectAssignment   

      @Consumption.valueHelpDefinition: [ { entity: { name: 'C_UniversalAllocationTagVH', element: 'AllocationTagID'  } } ]
  key AllocationTagID,
  key AllocationType,
  key AllocationCycle,
  key AllocationCycleStartDate,
  key AllocationCycleSegment,
      AllocationTagCreatedByUser,
      CreationDateTime,
      AllocationTagChangedByUser,
      LastChangeDateTime,      
      //_AllocationTag._AllocationTagText[ 1:Language = $session.system_language ].AllocationTagDescription,

      _Cycle,
      _AllocationTag
}
  where AllocationCycleSegment = '0000'