C_AllocationCycleInformation
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)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationContextType | context | inner |
| P_AllocationInformation | P_AllocationInformation | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 = '+'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCATIONCONTEXTTYPE",
"P_ALLOCATIONINFORMATION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA