P_UnivAllocCycleActiveVersion
P_UnivAllocCycleActiveVersion is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_UnivAllocationCycleVersion) and exposes 61 fields with key fields AllocationCycleVersionValue, AllocationType, AllocationCycle, AllocationCycleStartDate.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_UnivAllocationCycleVersion | Version | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (61)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationCycleVersionValue | I_UnivAllocationCycleVersion | AllocationCycleVersionValue | |
| KEY | AllocationType | I_UnivAllocationCycleVersion | AllocationType | Table |
| KEY | AllocationCycle | I_UnivAllocationCycleVersion | AllocationCycle | Cycle |
| KEY | AllocationCycleStartDate | I_UnivAllocationCycleVersion | AllocationCycleStartDate | Valid From |
| AllocationCycleEndDate | I_UnivAllocationCycleVersion | AllocationCycleEndDate | Valid To | |
| AllocCycleVersionCreatedByUser | I_UnivAllocationCycleVersion | AllocCycleVersionCreatedByUser | ||
| DeletedByUser | I_UnivAllocationCycleVersion | DeletedByUser | ||
| DeletionDateTime | I_UnivAllocationCycleVersion | DeletionDateTime | ||
| AllocationCycleName | I_UnivAllocationCycleVersion | AllocationCycleName | Allocation Cycle | |
| AllocationPostingType | I_UnivAllocationCycleVersion | AllocationPostingType | Posting Type | |
| Ledger | I_UnivAllocationCycleVersion | Ledger | Ledger | |
| AllocationActualPlanVariant | I_UnivAllocationCycleVersion | AllocationActualPlanVariant | Actual/Plan | |
| CompanyCode | I_UnivAllocationCycleVersion | CompanyCode | Receiver Company Code | |
| ControllingArea | I_UnivAllocationCycleVersion | ControllingArea | Controlling Area | |
| PlanningCategory | I_UnivAllocationCycleVersion | PlanningCategory | Plan Category | |
| OperatingConcern | I_UnivAllocationCycleVersion | OperatingConcern | Operating concern | |
| AllocationStatus | I_UnivAllocationCycleVersion | AllocationStatus | ||
| AllocationFrequency | I_UnivAllocationCycleVersion | AllocationFrequency | ||
| AllocationCreateDate | I_UnivAllocationCycleVersion | AllocationCreateDate | Entered On | |
| CreatedByUser | I_UnivAllocationCycleVersion | CreatedByUser | User Name | |
| LastChangeDate | I_UnivAllocationCycleVersion | LastChangeDate | Time Stamp | |
| LastChangedByUser | I_UnivAllocationCycleVersion | LastChangedByUser | User Name | |
| AllocationLastExecutedDate | I_UnivAllocationCycleVersion | AllocationLastExecutedDate | ||
| AllocationLastExecutedByUser | I_UnivAllocationCycleVersion | AllocationLastExecutedByUser | ||
| AllocationLastExecutionTime | I_UnivAllocationCycleVersion | AllocationLastExecutionTime | ||
| AllocationIsProcessed | I_UnivAllocationCycleVersion | AllocationIsProcessed | ||
| AllocationCycleSet | I_UnivAllocationCycleVersion | AllocationCycleSet | ||
| ScaleNegativeTracingFactor | I_UnivAllocationCycleVersion | ScaleNegativeTracingFactor | ||
| AllocationJob | I_UnivAllocationCycleVersion | AllocationJob | ||
| AllocationIsCumulative | I_UnivAllocationCycleVersion | AllocationIsCumulative | Cumulative | |
| AllocIsCumulativeOptimized | I_UnivAllocationCycleVersion | AllocIsCumulativeOptimized | ||
| AllocHasAggregatedProcess | I_UnivAllocationCycleVersion | AllocHasAggregatedProcess | ||
| AllocationCycleRunGroup | I_UnivAllocationCycleVersion | AllocationCycleRunGroup | Cycle Run Group | |
| AllocationSubstitutionName | I_UnivAllocationCycleVersion | AllocationSubstitutionName | ||
| AllocFundMgmtIsActive | I_UnivAllocationCycleVersion | AllocFundMgmtIsActive | ||
| AllocationIsBalanceSheetActive | I_UnivAllocationCycleVersion | AllocationIsBalanceSheetActive | ||
| AllocHasDerivdFundFrmRcpnt | I_UnivAllocationCycleVersion | AllocHasDerivdFundFrmRcpnt | ||
| AllocIsDerivdFuncAreaFrmRcpnt | I_UnivAllocationCycleVersion | AllocIsDerivdFuncAreaFrmRcpnt | ||
| AllocIsDerivdGrantFrmRcpnt | I_UnivAllocationCycleVersion | AllocIsDerivdGrantFrmRcpnt | ||
| AllocIsDerivdBudgedPerdRcpnt | I_UnivAllocationCycleVersion | AllocIsDerivdBudgedPerdRcpnt | ||
| AllocationLedgerGroup | I_UnivAllocationCycleVersion | AllocationLedgerGroup | ||
| AllocationIsPeriodShiftActive | I_UnivAllocationCycleVersion | AllocationIsPeriodShiftActive | ||
| AllocationPeriodDeltaSize | I_UnivAllocationCycleVersion | AllocationPeriodDeltaSize | ||
| AllocIsProdnMnthDerivd | I_UnivAllocationCycleVersion | AllocIsProdnMnthDerivd | ||
| AllocationIsVariableQuantity | I_UnivAllocationCycleVersion | AllocationIsVariableQuantity | Quantities | |
| AllocationValuationType | I_UnivAllocationCycleVersion | AllocationValuationType | ||
| CycleIsDeltaProcessEnabled | I_UnivAllocationCycleVersion | CycleIsDeltaProcessEnabled | ||
| AllocationCycleIsIterative | I_UnivAllocationCycleVersion | AllocationCycleIsIterative | Iteration | |
| CycleIsParallelLedgerEnabled | I_UnivAllocationCycleVersion | CycleIsParallelLedgerEnabled | Flex. Ledger | |
| CycleIsAttributedLineItmEnbld | I_UnivAllocationCycleVersion | CycleIsAttributedLineItmEnbld | ||
| AllocCycleSegmentVersionValue | I_UnivAllocationCycleVersion | AllocCycleSegmentVersionValue | ||
| AllocCycleKeyFieldVersionValue | I_UnivAllocationCycleVersion | AllocCycleKeyFieldVersionValue | ||
| AllocCycleElementVersionValue | I_UnivAllocationCycleVersion | AllocCycleElementVersionValue | ||
| AllocCycFieldGroupVersionValue | I_UnivAllocationCycleVersion | AllocCycFieldGroupVersionValue | ||
| AllocCycleTextVersionValue | I_UnivAllocationCycleVersion | AllocCycleTextVersionValue | ||
| AllocCycFldMappingVersionValue | I_UnivAllocationCycleVersion | AllocCycFldMappingVersionValue | ||
| AllocationCycleTagVersionValue | I_UnivAllocationCycleVersion | AllocationCycleTagVersionValue | ||
| AllocCycleNoteVersionValue | I_UnivAllocationCycleVersion | AllocCycleNoteVersionValue | ||
| AllocSegmentNoteVersionValue | I_UnivAllocationCycleVersion | AllocSegmentNoteVersionValue | ||
| AllocCycDrvtnRuleVersionValue | I_UnivAllocationCycleVersion | AllocCycDrvtnRuleVersionValue | ||
| AllocCycleTemplateVersionValue | I_UnivAllocationCycleVersion | AllocCycleTemplateVersionValue |
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 P_UnivAllocCycleActiveVersion.
-- 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.
CREATE VIEW P_UnivAllocCycleActiveVersion AS
SELECT
Version.AllocationCycleVersionValue AS AllocationCycleVersionValue,
Version.AllocationType AS AllocationType,
Version.AllocationCycle AS AllocationCycle,
Version.AllocationCycleStartDate AS AllocationCycleStartDate,
Version.AllocationCycleEndDate AS AllocationCycleEndDate,
Version.AllocCycleVersionCreatedByUser AS AllocCycleVersionCreatedByUser,
Version.DeletedByUser AS DeletedByUser,
Version.DeletionDateTime AS DeletionDateTime,
Version.AllocationCycleName AS AllocationCycleName,
Version.AllocationPostingType AS AllocationPostingType,
Version.Ledger AS Ledger,
Version.AllocationActualPlanVariant AS AllocationActualPlanVariant,
Version.CompanyCode AS CompanyCode,
Version.ControllingArea AS ControllingArea,
Version.PlanningCategory AS PlanningCategory,
Version.OperatingConcern AS OperatingConcern,
Version.AllocationStatus AS AllocationStatus,
Version.AllocationFrequency AS AllocationFrequency,
Version.AllocationCreateDate AS AllocationCreateDate,
Version.CreatedByUser AS CreatedByUser,
Version.LastChangeDate AS LastChangeDate,
Version.LastChangedByUser AS LastChangedByUser,
Version.AllocationLastExecutedDate AS AllocationLastExecutedDate,
Version.AllocationLastExecutedByUser AS AllocationLastExecutedByUser,
Version.AllocationLastExecutionTime AS AllocationLastExecutionTime,
Version.AllocationIsProcessed AS AllocationIsProcessed,
Version.AllocationCycleSet AS AllocationCycleSet,
Version.ScaleNegativeTracingFactor AS ScaleNegativeTracingFactor,
Version.AllocationJob AS AllocationJob,
Version.AllocationIsCumulative AS AllocationIsCumulative,
Version.AllocIsCumulativeOptimized AS AllocIsCumulativeOptimized,
Version.AllocHasAggregatedProcess AS AllocHasAggregatedProcess,
Version.AllocationCycleRunGroup AS AllocationCycleRunGroup,
Version.AllocationSubstitutionName AS AllocationSubstitutionName,
Version.AllocFundMgmtIsActive AS AllocFundMgmtIsActive,
Version.AllocationIsBalanceSheetActive AS AllocationIsBalanceSheetActive,
Version.AllocHasDerivdFundFrmRcpnt AS AllocHasDerivdFundFrmRcpnt,
Version.AllocIsDerivdFuncAreaFrmRcpnt AS AllocIsDerivdFuncAreaFrmRcpnt,
Version.AllocIsDerivdGrantFrmRcpnt AS AllocIsDerivdGrantFrmRcpnt,
Version.AllocIsDerivdBudgedPerdRcpnt AS AllocIsDerivdBudgedPerdRcpnt,
Version.AllocationLedgerGroup AS AllocationLedgerGroup,
Version.AllocationIsPeriodShiftActive AS AllocationIsPeriodShiftActive,
Version.AllocationPeriodDeltaSize AS AllocationPeriodDeltaSize,
Version.AllocIsProdnMnthDerivd AS AllocIsProdnMnthDerivd,
Version.AllocationIsVariableQuantity AS AllocationIsVariableQuantity,
Version.AllocationValuationType AS AllocationValuationType,
Version.CycleIsDeltaProcessEnabled AS CycleIsDeltaProcessEnabled,
Version.AllocationCycleIsIterative AS AllocationCycleIsIterative,
Version.CycleIsParallelLedgerEnabled AS CycleIsParallelLedgerEnabled,
Version.CycleIsAttributedLineItmEnbld AS CycleIsAttributedLineItmEnbld,
Version.AllocCycleSegmentVersionValue AS AllocCycleSegmentVersionValue,
Version.AllocCycleKeyFieldVersionValue AS AllocCycleKeyFieldVersionValue,
Version.AllocCycleElementVersionValue AS AllocCycleElementVersionValue,
Version.AllocCycFieldGroupVersionValue AS AllocCycFieldGroupVersionValue,
Version.AllocCycleTextVersionValue AS AllocCycleTextVersionValue,
Version.AllocCycFldMappingVersionValue AS AllocCycFldMappingVersionValue,
Version.AllocationCycleTagVersionValue AS AllocationCycleTagVersionValue,
Version.AllocCycleNoteVersionValue AS AllocCycleNoteVersionValue,
Version.AllocSegmentNoteVersionValue AS AllocSegmentNoteVersionValue,
Version.AllocCycDrvtnRuleVersionValue AS AllocCycDrvtnRuleVersionValue,
Version.AllocCycleTemplateVersionValue AS AllocCycleTemplateVersionValue
FROM I_UnivAllocationCycleVersion AS Version
;
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