I_AllocationKeyField

DDL: I_ALLOCATIONKEYFIELD SQL: ALLOCKEYFIELD Type: view BASIC

Allocation Key Field

I_AllocationKeyField is a Basic CDS View that provides data about "Allocation Key Field" in SAP S/4HANA. It reads from 1 data source (t811k) and exposes 15 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment, AllocationSetType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t811k t811k from

Associations (2)

CardinalityTargetAliasCondition
[1] I_AllocationCycle _Cycle $projection.AllocationType = _Cycle.AllocationType and $projection.AllocationCycle = _Cycle.AllocationCycle and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
[1] I_AllocationSegment _Segment $projection.AllocationType = _Segment.AllocationType and $projection.AllocationCycle = _Segment.AllocationCycle and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate and $projection.AllocationCycleSegment = _Segment.AllocationCycleSegment

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ALLOCKEYFIELD view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Allocation Key Field view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY AllocationType
KEY AllocationCycle cycle
KEY AllocationCycleStartDate
KEY AllocationCycleSegment seqnr
KEY AllocationSetType setkind
KEY AllocDocumentSequenceNumber pos
AllocationFieldName field
AllocationSetName setname
AllocationFieldMinimumValue valmin
AllocationFieldMaximumValue valmax
AllocationSetId setid
AllocKeyFieldIsInitial
AllocKeyFieldIsAllValues
_Cycle _Cycle
_Segment _Segment
@AbapCatalog.sqlViewName: 'ALLOCKEYFIELD'
@AbapCatalog.compiler.compareFilter: true

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

@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Allocation Key Field'

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

@VDM.viewType: #BASIC
define view I_AllocationKeyField 
  as select from t811k

  association [1] to I_AllocationCycle as _Cycle   on $projection.AllocationType           = _Cycle.AllocationType
                                                  and $projection.AllocationCycle          = _Cycle.AllocationCycle
                                                  and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate
                                                 
  association [1] to I_AllocationSegment as _Segment on $projection.AllocationType           = _Segment.AllocationType
                                                    and $projection.AllocationCycle          = _Segment.AllocationCycle
                                                    and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate
                                                    and $projection.AllocationCycleSegment   = _Segment.AllocationCycleSegment 

{
  key cast(tab as fco_allocation_type) as AllocationType,         
  key cycle   as AllocationCycle,      
  key cast( sdate as fco_alloc_valid_from ) as AllocationCycleStartDate,      
  key seqnr   as AllocationCycleSegment,
  key setkind as AllocationSetType,
  key pos     as AllocDocumentSequenceNumber, 
  field       as AllocationFieldName, 
  setname     as AllocationSetName,
  valmin      as AllocationFieldMinimumValue,  
  valmax      as AllocationFieldMaximumValue, 
  setid       as AllocationSetId,
  cast( case when valmin = '#' then 'X' else '' end as boolean ) as  AllocKeyFieldIsInitial,
  cast( case when valmin = '*' then 'X' else '' end as boolean ) as AllocKeyFieldIsAllValues,
  
  _Cycle,
  _Segment 
} 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T811K"
],
"ASSOCIATED":
[
"I_ALLOCATIONCYCLE",
"I_ALLOCATIONSEGMENT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/