C_AllocationCycleInformation

DDL: C_ALLOCATIONCYCLEINFORMATION SQL: CALLOCCYCLEINFO Type: view CONSUMPTION

Allocation Cycle Information

C_AllocationCycleInformation is a Consumption CDS View that provides data about "Allocation Cycle Information" in SAP S/4HANA. It reads from 2 data sources (I_AllocationContextType, P_AllocationInformation) and exposes 24 fields with key fields AllocationType, AllocationPostingType, AllocationActualPlanVariant, AllocationFieldName.

Data Sources (2)

SourceAliasJoin Type
I_AllocationContextType context inner
P_AllocationInformation P_AllocationInformation from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CALLOCCYCLEINFO view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
EndUserText.label Allocation Cycle Information view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY AllocationType P_AllocationInformation AllocationType
KEY AllocationPostingType AllocationPostingType
KEY AllocationActualPlanVariant AllocationActualPlanVariant
KEY AllocationFieldName AllocationFieldName
AllocationFieldType AllocationFieldType
SuperiorToField1 SuperiorToField1
SuperiorToField2 SuperiorToField2
AllocationFieldActive AllocationCycleFieldActive
AllocationFieldGroup AllocationCycleFieldGroup
AllocationSingleField AllocationCycleSingleField
AllocationFieldInterval AllocationCycleFieldInterval
AllocationFieldLabel AllocationFieldLabel
AllocationFieldLength AllocationFieldLength
AllocationFieldPropertyType AllocationFieldPropertyType
AllocationFieldIsUppercase AllocationFieldIsUppercase
AllocationFieldDecimalPlaces AllocationFieldDecimalPlaces
AllocationFieldPrecision AllocationFieldPrecision
AllocationFieldScale AllocationFieldScale
AllocationFieldDisplayPosition AllocationFieldDisplayPosition
AllocationSearchHelpEntityName AllocationSearchHelpEntityName
AllocationSearchHelpOutput AllocationSearchHelpOutput
GroupValueHelpEntityName GroupValueHelpEntityName
GroupValueHelpOutput GroupValueHelpOutput
GroupValueHelpOutputText GroupValueHelpOutputText
@AbapCatalog.sqlViewName: 'CALLOCCYCLEINFO'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true 

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

@ClientHandling.algorithm: #SESSION_VARIABLE

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

@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Allocation Cycle Information'
define view C_AllocationCycleInformation as 
select from P_AllocationInformation
  inner join I_AllocationContextType as context on  context.AllocationType = P_AllocationInformation.AllocationType
{

  //key DatabaseTable,  

  key P_AllocationInformation.AllocationType,
  //key AllocationType,

  key AllocationPostingType,
  key AllocationActualPlanVariant,
  key AllocationFieldName,
      AllocationFieldType,
      SuperiorToField1,
      SuperiorToField2,
      AllocationCycleFieldActive                  as AllocationFieldActive,
      AllocationCycleFieldGroup                   as AllocationFieldGroup,
      AllocationCycleSingleField                  as AllocationSingleField,
      AllocationCycleFieldInterval                as AllocationFieldInterval,
      AllocationFieldLabel,
      AllocationFieldLength,
      AllocationFieldPropertyType,
      AllocationFieldIsUppercase,
      AllocationFieldDecimalPlaces,
      AllocationFieldPrecision,
      AllocationFieldScale,
      AllocationFieldDisplayPosition,
      cast(case AllocationFieldName
        when 'RBUKRS'   then 'X'
        when 'RLDNR'    then 'X'
        when 'CATEGORY' then 'X'
        when 'RACCT' then 'X'
        else ' '
        end as boolean )                          as AllocationFieldIsStatic,
      AllocationSearchHelpEntityName,
      AllocationSearchHelpOutput,
      GroupValueHelpEntityName,
      GroupValueHelpOutput,
      GroupValueHelpOutputText      
}
where
     AllocationCycleFieldActive = 'X'
  or AllocationCycleFieldActive = '+'