I_AllocationCycleTP
Allocation Cycle TP
I_AllocationCycleTP is a Transactional CDS View that provides data about "Allocation Cycle TP" in SAP S/4HANA. It reads from 2 data sources (I_AllocationContextType, I_AllocationCycle) and exposes 58 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate. It has 7 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationContextType | Context | inner |
| I_AllocationCycle | I_AllocationCycle | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AllocTopDwnDistrCycTmplTP | _Template | $projection.AllocationType = _Template.AllocationType and $projection.AllocationCycle = _Template.AllocationCycle and $projection.AllocationCycleStartDate = _Template.AllocationCycleStartDate |
| [0..*] | I_AllocationSegmentTP | _Segment | $projection.AllocationType = _Segment.AllocationType and $projection.AllocationCycle = _Segment.AllocationCycle and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate |
| [0..*] | I_AllocationCycleKeyFieldTP | _Field | $projection.AllocationType = _Field.AllocationType and $projection.AllocationCycle = _Field.AllocationCycle and $projection.AllocationCycleStartDate = _Field.AllocationCycleStartDate |
| [0..*] | I_AllocationCycleFieldGroupTP | _FieldGroup | $projection.AllocationType = _FieldGroup.AllocationType and $projection.AllocationCycle = _FieldGroup.AllocationCycle and $projection.AllocationCycleStartDate = _FieldGroup.AllocationCycleStartDate |
| [0..*] | I_AllocationFieldDerivationTP | _FieldDerivation | $projection.AllocationType = _FieldDerivation.AllocationType and $projection.AllocationCycle = _FieldDerivation.AllocationCycle and $projection.AllocationCycleStartDate = _FieldDerivation.AllocationCycleStartDate |
| [0..*] | I_AllocationCycleNoteTP | _CycleNote | $projection.AllocationType = _CycleNote.AllocationType and $projection.AllocationCycle = _CycleNote.AllocationCycle and $projection.AllocationCycleStartDate = _CycleNote.AllocationCycleStartDate |
| [0..*] | I_AllocTagObjectAssignmentTP | _CycleTag | $projection.AllocationType = _CycleTag.AllocationType and $projection.AllocationCycle = _CycleTag.AllocationCycle and $projection.AllocationCycleStartDate = _CycleTag.AllocationCycleStartDate |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ALLOCCYCLETP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Allocation Cycle TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.writeDraftPersistence | ALLOCCYCLETPD | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.entityChangeStateId | EXTERNAL_CALCULATION | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationType | I_AllocationCycle | AllocationType | Table |
| KEY | AllocationCycle | AllocationCycle | Cycle | |
| KEY | AllocationCycleStartDate | |||
| AllocationCycleEndDate | Valid To | |||
| AllocationCycleNameText | ||||
| AllocationStatus | AllocationStatus | Status | ||
| AllocationFrequency | AllocationFrequency | Frequency ID | ||
| AllocationCreateDate | AllocationCreateDate | Entered On | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeTime | Time changed | |||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| AllocationCycleChangeTime | AllocationCycleChangeTime | Time | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| AllocationLastExecutedDate | AllocationLastExecutedDate | |||
| AllocationLastExecutedByUser | AllocationLastExecutedByUser | Executed By | ||
| AllocationLastExecutionTime | AllocationLastExecutionTime | Time | ||
| AllocationIsProcessed | AllocationIsProcessed | Processing | ||
| AllocationCycleSet | AllocationCycleSet | Set ID | ||
| ScaleNegativeTracingFactor | ScaleNegativeTracingFactor | Scale Neg. Factors | ||
| AllocationPostingType | AllocationPostingType | Posting Type | ||
| AllocationActualPlanVariant | AllocationActualPlanVariant | Actual/Plan | ||
| AllocationJob | AllocationJob | Undefined range (can be used for patch levels) | ||
| AllocationIsCumulative | AllocationIsCumulative | Cumulative | ||
| AllocIsCumulativeOptimized | AllocIsCumulativeOptimized | Cumulative Opt. | ||
| AllocHasAggregatedProcess | AllocHasAggregatedProcess | Agg.Trac.Factor | ||
| AllocationCycleRunGroup | AllocationCycleRunGroup | Cycle Run Group | ||
| AllocationSubstitutionName | AllocationSubstitutionName | Substitution | ||
| AllocFundMgmtIsActive | AllocFundMgmtIsActive | Der.Fund/FuncAr | ||
| AllocationIsBalanceSheetActive | AllocationIsBalanceSheetActive | Balance Sheet Accts | ||
| AllocHasDerivdFundFrmRcpnt | AllocHasDerivdFundFrmRcpnt | Derive Funds | ||
| AllocIsDerivdFuncAreaFrmRcpnt | AllocIsDerivdFuncAreaFrmRcpnt | Derive Func.Ar | ||
| AllocIsDerivdGrantFrmRcpnt | AllocIsDerivdGrantFrmRcpnt | Derive Grant | ||
| AllocIsDerivdBudgedPerdRcpnt | AllocIsDerivdBudgedPerdRcpnt | Derive Budg.Per | ||
| AllocationLedgerGroup | AllocationLedgerGroup | Ledger Group | ||
| AllocationIsPeriodShiftActive | AllocationIsPeriodShiftActive | Read Preperiod | ||
| AllocationPeriodDeltaSize | AllocationPeriodDeltaSize | Per. Delta | ||
| AllocIsProdnMnthDerivd | AllocIsProdnMnthDerivd | Production Month | ||
| AllocationIsVariableQuantity | AllocationIsVariableQuantity | Quantities | ||
| AllocationValuationType | AllocationValuationType | Valuation | ||
| AllocationCycleIsIterative | AllocationCycleIsIterative | Iteration | ||
| CompanyCodeForEdit | ||||
| LedgerForEdit | ||||
| AllocationCycleCategoryForEdit | ||||
| TopDwnDistrTmplName | ||||
| AllocationCycleIsConsistent | ||||
| AllocationTagID | ||||
| CycleIsDeltaProcessEnabled | CycleIsDeltaProcessEnabled | |||
| CycleIsParallelLedgerEnabled | CycleIsParallelLedgerEnabled | Flex. Ledger | ||
| CycleIsAttributedLineItmEnbld | CycleIsAttributedLineItmEnbld | |||
| _Segment | _Segment | |||
| _Field | _Field | |||
| _Context | _Context | |||
| _ActualPlanText | _ActualPlanText | |||
| _Template | _Template | |||
| _FieldGroup | _FieldGroup | |||
| _FieldDerivation | _FieldDerivation | |||
| _CycleNote | _CycleNote | |||
| _CycleTag | _CycleTag |
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 I_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: ALLOCCYCLETP
CREATE VIEW I_AllocationCycleTP AS
SELECT
I_AllocationCycle.AllocationType AS AllocationType,
AllocationCycle,
cast( case when AllocationCycleStartDate is null then '20180101' else AllocationCycleStartDate end as fco_alloc_valid_from ) AS AllocationCycleStartDate,
cast( AllocationCycleEndDate as fco_alloc_valid_to ) AS AllocationCycleEndDate,
I_AllocationCycle._Text.AllocationCycleNameText AS AllocationCycleNameText,
AllocationStatus,
AllocationFrequency,
AllocationCreateDate,
CreatedByUser,
cast(LastChangeTime as hash160) AS LastChangeTime,
LastChangeDate,
AllocationCycleChangeTime,
LastChangedByUser,
AllocationLastExecutedDate,
AllocationLastExecutedByUser,
AllocationLastExecutionTime,
AllocationIsProcessed,
AllocationCycleSet,
ScaleNegativeTracingFactor,
AllocationPostingType,
AllocationActualPlanVariant,
AllocationJob,
AllocationIsCumulative,
AllocIsCumulativeOptimized,
AllocHasAggregatedProcess,
AllocationCycleRunGroup,
AllocationSubstitutionName,
AllocFundMgmtIsActive,
AllocationIsBalanceSheetActive,
AllocHasDerivdFundFrmRcpnt,
AllocIsDerivdFuncAreaFrmRcpnt,
AllocIsDerivdGrantFrmRcpnt,
AllocIsDerivdBudgedPerdRcpnt,
AllocationLedgerGroup,
AllocationIsPeriodShiftActive,
AllocationPeriodDeltaSize,
AllocIsProdnMnthDerivd,
AllocationIsVariableQuantity,
AllocationValuationType,
AllocationCycleIsIterative,
cast('' as fis_bukrs) AS CompanyCodeForEdit,
cast('' as fis_rldnr) AS LedgerForEdit,
cast('' as fcom_category) AS AllocationCycleCategoryForEdit,
cast ('' as fco_alloc_template ) AS TopDwnDistrTmplName,
cast('' as boolean) AS AllocationCycleIsConsistent,
cast('' as fco_tag_id) AS AllocationTagID,
CycleIsDeltaProcessEnabled,
CycleIsParallelLedgerEnabled,
CycleIsAttributedLineItmEnbld
FROM I_AllocationCycle
INNER JOIN I_AllocationContextType AS Context ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AllocTopDwnDistrCycTmplTP AS _Template ON AllocationType = _Template.AllocationType AND AllocationCycle = _Template.AllocationCycle AND AllocationCycleStartDate = _Template.AllocationCycleStartDate -- association [0..1]
LEFT OUTER JOIN I_AllocationSegmentTP AS _Segment ON AllocationType = _Segment.AllocationType AND AllocationCycle = _Segment.AllocationCycle AND AllocationCycleStartDate = _Segment.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN I_AllocationCycleKeyFieldTP AS _Field ON AllocationType = _Field.AllocationType AND AllocationCycle = _Field.AllocationCycle AND AllocationCycleStartDate = _Field.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN I_AllocationCycleFieldGroupTP AS _FieldGroup ON AllocationType = _FieldGroup.AllocationType AND AllocationCycle = _FieldGroup.AllocationCycle AND AllocationCycleStartDate = _FieldGroup.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN I_AllocationFieldDerivationTP AS _FieldDerivation ON AllocationType = _FieldDerivation.AllocationType AND AllocationCycle = _FieldDerivation.AllocationCycle AND AllocationCycleStartDate = _FieldDerivation.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN I_AllocationCycleNoteTP AS _CycleNote ON AllocationType = _CycleNote.AllocationType AND AllocationCycle = _CycleNote.AllocationCycle AND AllocationCycleStartDate = _CycleNote.AllocationCycleStartDate -- association [0..*]
LEFT OUTER JOIN I_AllocTagObjectAssignmentTP AS _CycleTag ON AllocationType = _CycleTag.AllocationType AND AllocationCycle = _CycleTag.AllocationCycle AND AllocationCycleStartDate = _CycleTag.AllocationCycleStartDate -- association [0..*]
;
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