P_AllocCycleMaxCreatedVersion

DDL: P_ALLOCCYCLEMAXCREATEDVERSION Type: view_entity CONSUMPTION Package: ODATA_MANAGE_ALLOC_CHANGES

Universal Allocation Cycle Version

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

Data Sources (1)

SourceAliasJoin Type
I_UnivAllocationCycleVersion I_UnivAllocationCycleVersion from

Annotations (3)

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

Fields (4)

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

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_AllocCycleMaxCreatedVersion.
-- 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_AllocCycleMaxCreatedVersion AS
SELECT
  AllocationType,
  AllocationCycle,
  AllocationCycleStartDate,
  max( AllocationCycleVersionValue ) AS AllocationCycleVersionValue
FROM I_UnivAllocationCycleVersion
;