C_AllocationCycleTP
Allocation Cycle
C_AllocationCycleTP is a Consumption CDS View that provides data about "Allocation Cycle" in SAP S/4HANA. It reads from 1 data source (I_AllocationCycleTP) and exposes 79 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate. It has 16 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationCycleTP | I_AllocationCycleTP | from |
Associations (16)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_AllocTopDwnDistrCycTmplTP | _Template | $projection.AllocationType = _Template.AllocationType and $projection.AllocationCycle = _Template.AllocationCycle and $projection.AllocationCycleStartDate = _Template.AllocationCycleStartDate |
| [0..*] | C_AllocationSegmentTP | _Segment | $projection.AllocationType = _Segment.AllocationType and $projection.AllocationCycle = _Segment.AllocationCycle and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate |
| [0..*] | C_AllocationCycleInformation | _Information | $projection.AllocationType = _Information.AllocationType and $projection.AllocationPostingType = _Information.AllocationPostingType and $projection.AllocationActualPlanVariant = _Information.AllocationActualPlanVariant |
| [0..*] | C_AllocationCycleKeyFieldTP | _Field | $projection.AllocationType = _Field.AllocationType and $projection.AllocationCycle = _Field.AllocationCycle and $projection.AllocationCycleStartDate = _Field.AllocationCycleStartDate |
| [1..1] | C_AllocLastExecByUserVH | _LastExecUser | $projection.AllocationLastExecutedByUser = _LastExecUser.AllocationLastExecutedByUser |
| [1..1] | C_AllocChangedByUserVH | _LastChangeUser | $projection.LastChangedByUser = _LastChangeUser.LastChangedByUser |
| [1..1] | C_AllocCreatedByUserVH | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.CreatedByUser |
| [1..1] | C_AllocationCycleVH | _AllocationCycleVH | $projection.AllocationType = _AllocationCycleVH.AllocationType and $projection.AllocationCycle = _AllocationCycleVH.AllocationCycle and $projection.AllocationCycleStartDate = _AllocationCycleVH.AllocationCycleStartDate |
| [1..1] | P_AllocationCycle | _CycleCalc | $projection.AllocationType = _CycleCalc.AllocationType and $projection.AllocationCycle = _CycleCalc.AllocationCycle and $projection.AllocationCycleStartDate = _CycleCalc.AllocationCycleStartDate |
| [0..*] | I_DomainFixedValue | _AllocationPostingTypeText | _AllocationPostingTypeText.SAPDataDictionaryDomain = 'FCO_ALLOCATION_ALART' and _AllocationPostingTypeText.DomainValue = $projection.AllocationPostingType |
| [0..*] | C_AllocationCycleFieldGroupTP | _FieldGroup | $projection.AllocationType = _FieldGroup.AllocationType and $projection.AllocationCycle = _FieldGroup.AllocationCycle and $projection.AllocationCycleStartDate = _FieldGroup.AllocationCycleStartDate |
| [0..*] | C_AllocationTagForCycle | _AllocationTagForCycle | $projection.AllocationType = _AllocationTagForCycle.AllocationType and $projection.AllocationCycle = _AllocationTagForCycle.AllocationCycle and $projection.AllocationCycleStartDate = _AllocationTagForCycle.AllocationCycleStartDate and _AllocationTagForCycle.AllocationCycleSegment = '0000' |
| [0..*] | C_AllocationFieldDerivationTP | _FieldDerivation | $projection.AllocationType = _FieldDerivation.AllocationType and $projection.AllocationCycle = _FieldDerivation.AllocationCycle and $projection.AllocationCycleStartDate = _FieldDerivation.AllocationCycleStartDate |
| [0..*] | C_AllocationCycleNoteTP | _CycleNote | $projection.AllocationType = _CycleNote.AllocationType and $projection.AllocationCycle = _CycleNote.AllocationCycle and $projection.AllocationCycleStartDate = _CycleNote.AllocationCycleStartDate |
| [0..*] | C_AllocTagObjectAssignmentTP | _CycleTag | $projection.AllocationType = _CycleTag.AllocationType and $projection.AllocationCycle = _CycleTag.AllocationCycle and $projection.AllocationCycleStartDate = _CycleTag.AllocationCycleStartDate and _CycleTag.AllocationCycleSegment = '0000' |
| [1..1] | P_AllocationTagCount | _AllocationTagCount | $projection.AllocationType = _AllocationTagCount.AllocationType and $projection.AllocationCycle = _AllocationTagCount.AllocationCycle and $projection.AllocationCycleStartDate = _AllocationTagCount.AllocationCycleStartDate and _AllocationTagCount.AllocationCycleSegment = '0000' |
Annotations (23)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CALLOCCYCLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Allocation Cycle | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| UI.headerInfo.typeName | Allocation Cycle | view | |
| UI.headerInfo.typeNamePlural | Allocation Cycles | view | |
| UI.headerInfo.title.label | Allocation Cycle | view | |
| UI.headerInfo.title.value | AllocationCycle | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | AllocationCycleName | view |
Fields (79)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationType | I_AllocationCycleTP | AllocationType | Table |
| KEY | AllocationCycle | AllocationCycle | Cycle | |
| KEY | AllocationCycleStartDate | AllocationCycleStartDate | Valid From | |
| AllocationCycleName | _CycleCalc | AllocationCycleName | Allocation Cycle | |
| AllocationCycleNameText | AllocationCycleNameText | Cycle Description | ||
| AllocationCycleEndDate | AllocationCycleEndDate | Valid To | ||
| CriticalityCode | _CycleCalc | CriticalityCode | Criticality | |
| AllocationStatus | _CycleCalc | AllocationStatus | ||
| AllocationStatusDescription | ||||
| AllocationFrequency | AllocationFrequency | |||
| AllocationCreateDate | AllocationCreateDate | Entered On | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserName | ||||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangedByUserName | ||||
| AllocationLastExecutedDate | AllocationLastExecutedDate | |||
| AllocationLastExecutedByUser | AllocationLastExecutedByUser | |||
| AllocLastExecutedByUserName | ||||
| AllocationLastExecutionTime | AllocationLastExecutionTime | |||
| AllocationIsProcessed | AllocationIsProcessed | |||
| AllocationCycleSet | AllocationCycleSet | |||
| ScaleNegativeTracingFactor | ScaleNegativeTracingFactor | |||
| AllocationPostingType | Posting Type | |||
| AllocationActualPlanVariant | AllocationActualPlanVariant | Actual/Plan | ||
| AllocActualPlanVariantText | _CycleCalc | AllocActualPlanVariantText | ||
| AllocationContextTypeText | _CycleCalc | AllocationContextTypeText | ||
| AllocationJob | AllocationJob | |||
| AllocationIsCumulative | AllocationIsCumulative | Cumulative | ||
| AllocIsCumulativeOptimized | AllocIsCumulativeOptimized | |||
| AllocHasAggregatedProcess | AllocHasAggregatedProcess | |||
| AllocationCycleRunGroup | Cycle Run Group | |||
| AllocationCycleRunGroupText | _CycleCalc | AllocationCycleRunGroupText | ||
| AllocationSubstitutionName | AllocationSubstitutionName | |||
| AllocFundMgmtIsActive | AllocFundMgmtIsActive | |||
| AllocationIsBalanceSheetActive | AllocationIsBalanceSheetActive | |||
| AllocHasDerivdFundFrmRcpnt | AllocHasDerivdFundFrmRcpnt | |||
| AllocIsDerivdFuncAreaFrmRcpnt | AllocIsDerivdFuncAreaFrmRcpnt | |||
| AllocIsDerivdGrantFrmRcpnt | AllocIsDerivdGrantFrmRcpnt | |||
| AllocIsDerivdBudgedPerdRcpnt | AllocIsDerivdBudgedPerdRcpnt | |||
| AllocationLedgerGroup | AllocationLedgerGroup | |||
| AllocationIsPeriodShiftActive | AllocationIsPeriodShiftActive | |||
| AllocationPeriodDeltaSize | AllocationPeriodDeltaSize | |||
| AllocIsProdnMnthDerivd | AllocIsProdnMnthDerivd | |||
| AllocationIsVariableQuantity | AllocationIsVariableQuantity | Quantities | ||
| AllocationValuationType | AllocationValuationType | |||
| CompanyCode | _CycleCalc | CompanyCode | Receiver Company Code | |
| CompanyCodeForEdit | CompanyCodeForEdit | Company Code | ||
| CompanyCodeName | _CycleCalc | CompanyCodeName | Company Name | |
| Ledger | _CycleCalc | Ledger | Ledger | |
| LedgerName | _CycleCalc | LedgerName | Ledger Name | |
| LedgerForEdit | LedgerForEdit | Ledger | ||
| AllocationCycleCategory | _CycleCalc | AllocationCycleCategory | Plan Category | |
| AllocationCycleCategoryForEdit | AllocationCycleCategoryForEdit | |||
| AllocationCostElement | _CycleCalc | AllocationCostElement | ||
| TopDwnDistrTmplName | _Template | TopDwnDistrTmplName | ||
| AllocationCycleIsConsistent | ||||
| AllocCycleIsConsistentText | _CycleCalc | AllocCycleIsConsistentText | ||
| ControllingArea | ||||
| ManipulationRuleIsAvailable | ||||
| AllocationTagID | AllocationTagID | Allocation Tags | ||
| AllocationCycleIsIterative | AllocationCycleIsIterative | Iteration | ||
| CycleIsDeltaProcessEnabled | CycleIsDeltaProcessEnabled | |||
| CycleIsParallelLedgerEnabled | CycleIsParallelLedgerEnabled | Flex. Ledger | ||
| CycleIsAttributedLineItmEnbld | CycleIsAttributedLineItmEnbld | |||
| NoteText | _CycleNote | NoteText | Remark | |
| _Segment | _Segment | |||
| _Information | _Information | |||
| _Field | _Field | |||
| _LastExecUser | _LastExecUser | |||
| _LastChangeUser | _LastChangeUser | |||
| _CreatedByUser | _CreatedByUser | |||
| _AllocationCycleVH | _AllocationCycleVH | |||
| _Template | _Template | |||
| _FieldGroup | _FieldGroup | |||
| _FieldDerivation | _FieldDerivation | |||
| _CycleNote | _CycleNote | |||
| _CycleTag | _CycleTag | |||
| _AllocationTagForCycle | _AllocationTagForCycle |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_AllocationCycleTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CALLOCCYCLE
CREATE VIEW C_AllocationCycleTP AS
SELECT
I_AllocationCycleTP.AllocationType AS AllocationType,
AllocationCycle,
AllocationCycleStartDate,
_CycleCalc.AllocationCycleName AS AllocationCycleName,
AllocationCycleNameText,
AllocationCycleEndDate,
_CycleCalc.CriticalityCode AS CriticalityCode,
_CycleCalc.AllocationStatus AS AllocationStatus,
_CycleCalc._AllocationStatus._Text[1:Language = $session.system_language].AllocationStatusDescription AS AllocationStatusDescription,
AllocationFrequency,
AllocationCreateDate,
CreatedByUser,
cast(_CreatedByUser.FullName as fco_create_usr_name) AS CreatedByUserName,
LastChangeDate,
LastChangedByUser,
cast(_LastChangeUser.FullName as fco_change_usr_name) AS LastChangedByUserName,
AllocationLastExecutedDate,
AllocationLastExecutedByUser,
cast(_LastExecUser.FullName as fco_last_exec_usr_name) AS AllocLastExecutedByUserName,
AllocationLastExecutionTime,
AllocationIsProcessed,
AllocationCycleSet,
ScaleNegativeTracingFactor,
cast(AllocationPostingType as fco_alloc_posting_type preserving type) AS AllocationPostingType,
AllocationActualPlanVariant,
_CycleCalc.AllocActualPlanVariantText AS AllocActualPlanVariantText,
_CycleCalc.AllocationContextTypeText AS AllocationContextTypeText,
AllocationJob,
AllocationIsCumulative,
AllocIsCumulativeOptimized,
AllocHasAggregatedProcess,
cast(AllocationCycleRunGroup as alloc_cycle_run_group preserving type) AS AllocationCycleRunGroup,
_CycleCalc.AllocationCycleRunGroupText AS AllocationCycleRunGroupText,
AllocationSubstitutionName,
AllocFundMgmtIsActive,
AllocationIsBalanceSheetActive,
AllocHasDerivdFundFrmRcpnt,
AllocIsDerivdFuncAreaFrmRcpnt,
AllocIsDerivdGrantFrmRcpnt,
AllocIsDerivdBudgedPerdRcpnt,
AllocationLedgerGroup,
AllocationIsPeriodShiftActive,
AllocationPeriodDeltaSize,
AllocIsProdnMnthDerivd,
AllocationIsVariableQuantity,
AllocationValuationType,
_CycleCalc.CompanyCode AS CompanyCode,
CompanyCodeForEdit,
_CycleCalc.CompanyCodeName AS CompanyCodeName,
_CycleCalc.Ledger AS Ledger,
_CycleCalc.LedgerName AS LedgerName,
LedgerForEdit,
_CycleCalc.AllocationCycleCategory AS AllocationCycleCategory,
AllocationCycleCategoryForEdit,
_CycleCalc.AllocationCostElement AS AllocationCostElement,
_Template.TopDwnDistrTmplName AS TopDwnDistrTmplName,
cast(_CycleCalc.AllocationCycleIsConsistent as fco_alloc_consistency) AS AllocationCycleIsConsistent,
_CycleCalc.AllocCycleIsConsistentText AS AllocCycleIsConsistentText,
cast( _Field[1:AllocationFieldName = 'KOKRS'].AllocationFieldMinimumValue as fis_kokrs ) AS ControllingArea,
cast('' as boolean) AS ManipulationRuleIsAvailable,
AllocationTagID,
AllocationCycleIsIterative,
CycleIsDeltaProcessEnabled,
CycleIsParallelLedgerEnabled,
CycleIsAttributedLineItmEnbld,
_CycleNote.NoteText AS NoteText
FROM I_AllocationCycleTP
LEFT OUTER JOIN C_AllocTopDwnDistrCycTmplTP AS _Template ON AllocationType = _Template.AllocationType AND AllocationCycle = _Template.AllocationCycle AND AllocationCycleStartDate = _Template.AllocationCycleStartDate -- association [0..1]
LEFT OUTER JOIN C_AllocationSegmentTP AS _Segment ON AllocationType = _Segment.AllocationType AND AllocationCycle = _Segment.AllocationCycle AND AllocationCycleStartDate = _Segment.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN C_AllocationCycleInformation AS _Information ON AllocationType = _Information.AllocationType AND AllocationPostingType = _Information.AllocationPostingType AND AllocationActualPlanVariant = _Information.AllocationActualPlanVariant -- association [0..*]
LEFT OUTER JOIN C_AllocationCycleKeyFieldTP AS _Field ON AllocationType = _Field.AllocationType AND AllocationCycle = _Field.AllocationCycle AND AllocationCycleStartDate = _Field.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN C_AllocLastExecByUserVH AS _LastExecUser ON AllocationLastExecutedByUser = _LastExecUser.AllocationLastExecutedByUser -- association [1..1]
LEFT OUTER JOIN C_AllocChangedByUserVH AS _LastChangeUser ON LastChangedByUser = _LastChangeUser.LastChangedByUser -- association [1..1]
LEFT OUTER JOIN C_AllocCreatedByUserVH AS _CreatedByUser ON CreatedByUser = _CreatedByUser.CreatedByUser -- association [1..1]
LEFT OUTER JOIN C_AllocationCycleVH AS _AllocationCycleVH ON AllocationType = _AllocationCycleVH.AllocationType AND AllocationCycle = _AllocationCycleVH.AllocationCycle AND AllocationCycleStartDate = _AllocationCycleVH.AllocationCycleStartDate -- association [1..1]
LEFT OUTER JOIN P_AllocationCycle AS _CycleCalc ON AllocationType = _CycleCalc.AllocationType AND AllocationCycle = _CycleCalc.AllocationCycle AND AllocationCycleStartDate = _CycleCalc.AllocationCycleStartDate -- association [1..1]
LEFT OUTER JOIN I_DomainFixedValue AS _AllocationPostingTypeText ON _AllocationPostingTypeText.SAPDataDictionaryDomain = 'FCO_ALLOCATION_ALART' AND _AllocationPostingTypeText.DomainValue = AllocationPostingType -- association [0..*]
LEFT OUTER JOIN C_AllocationCycleFieldGroupTP AS _FieldGroup ON AllocationType = _FieldGroup.AllocationType AND AllocationCycle = _FieldGroup.AllocationCycle AND AllocationCycleStartDate = _FieldGroup.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN C_AllocationTagForCycle AS _AllocationTagForCycle ON AllocationType = _AllocationTagForCycle.AllocationType AND AllocationCycle = _AllocationTagForCycle.AllocationCycle AND AllocationCycleStartDate = _AllocationTagForCycle.AllocationCycleStartDate AND _AllocationTagForCycle.AllocationCycleSegment = '0000' -- association [0..*]
LEFT OUTER JOIN C_AllocationFieldDerivationTP AS _FieldDerivation ON AllocationType = _FieldDerivation.AllocationType AND AllocationCycle = _FieldDerivation.AllocationCycle AND AllocationCycleStartDate = _FieldDerivation.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN C_AllocationCycleNoteTP AS _CycleNote ON AllocationType = _CycleNote.AllocationType AND AllocationCycle = _CycleNote.AllocationCycle AND AllocationCycleStartDate = _CycleNote.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN C_AllocTagObjectAssignmentTP AS _CycleTag ON AllocationType = _CycleTag.AllocationType AND AllocationCycle = _CycleTag.AllocationCycle AND AllocationCycleStartDate = _CycleTag.AllocationCycleStartDate AND _CycleTag.AllocationCycleSegment = '0000' -- association [0..*]
LEFT OUTER JOIN P_AllocationTagCount AS _AllocationTagCount ON AllocationType = _AllocationTagCount.AllocationType AND AllocationCycle = _AllocationTagCount.AllocationCycle AND AllocationCycleStartDate = _AllocationTagCount.AllocationCycleStartDate AND _AllocationTagCount.AllocationCycleSegment = '0000' -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA