I_UnvAlcLastMigrtnCalculation

DDL: I_UNVALCLASTMIGRTNCALCULATION Type: view_entity COMPOSITE Package: ODATA_ALLOC_MIGRATION

Last Migration Calculation by Cycle

I_UnvAlcLastMigrtnCalculation is a Composite CDS View that provides data about "Last Migration Calculation by Cycle" in SAP S/4HANA. It reads from 1 data source (I_UnivAllocMigrationRunCycle) and exposes 4 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate. Part of development package ODATA_ALLOC_MIGRATION.

Data Sources (1)

SourceAliasJoin Type
I_UnivAllocMigrationRunCycle I_UnivAllocMigrationRunCycle from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Last Migration Calculation by Cycle view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (4)

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

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_UnvAlcLastMigrtnCalculation.
-- 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 I_UnvAlcLastMigrtnCalculation AS
SELECT
  AllocationType,
  AllocationCycle,
  AllocationCycleStartDate,
  max(AllocationMigrationRunID) AS AllocationMigrationRunID
FROM I_UnivAllocMigrationRunCycle
;