P_AllocationCycleVersionCount

DDL: P_ALLOCATIONCYCLEVERSIONCOUNT Type: view_entity CONSUMPTION Package: ODATA_MANAGE_ALLOC_CHANGES

Universal Allocation Cycle Version

P_AllocationCycleVersionCount is a Consumption CDS View that provides data about "Universal Allocation Cycle Version" in SAP S/4HANA. It reads from 1 data source (I_AllocationCycleVersion) and exposes 5 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate. Part of development package ODATA_MANAGE_ALLOC_CHANGES.

Data Sources (1)

SourceAliasJoin Type
I_AllocationCycleVersion I_AllocationCycleVersion from

Annotations (3)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY AllocationType AllocationType Table
KEY AllocationCycle AllocationCycle Cycle
KEY AllocationCycleStartDate AllocationCycleStartDate Valid From
AllocationCycleVersionValue
UICT_CycleVersionExists

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_AllocationCycleVersionCount.
-- 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_AllocationCycleVersionCount AS
SELECT
  AllocationType,
  AllocationCycle,
  AllocationCycleStartDate,
  max( AllocationCycleVersionValue ) AS AllocationCycleVersionValue,
  'X' AS UICT_CycleVersionExists
FROM I_AllocationCycleVersion
;