I_UnivAllocCycleCalculation

DDL: I_UNIVALLOCCYCLECALCULATION Type: view_entity COMPOSITE

Cycle Calculation

I_UnivAllocCycleCalculation is a Composite CDS View that provides data about "Cycle Calculation" in SAP S/4HANA. It reads from 1 data source (I_UniversalAllocationCycle) and exposes 8 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_UniversalAllocationCycle I_UniversalAllocationCycle from

Associations (2)

CardinalityTargetAliasCondition
[1..*] P_UnivAllocCycleLockCounter _CycleLockCounter _CycleLockCounter.AllocationCycle = $projection.AllocationCycle and _CycleLockCounter.AllocationType = $projection.AllocationType and _CycleLockCounter.AllocationCycleStartDate = $projection.AllocationCycleStartDate
[0..1] P_UnivAllocTopDwnDistrTmplCalc _TDDTemplate _TDDTemplate.AllocationCycle = $projection.AllocationCycle and _TDDTemplate.AllocationType = $projection.AllocationType and _TDDTemplate.AllocationCycleStartDate = $projection.AllocationCycleStartDate

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Cycle Calculation view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY AllocationType AllocationType Table
KEY AllocationCycle AllocationCycle Cycle
KEY AllocationCycleStartDate AllocationCycleStartDate Valid From
TopDwnDistrTmplName _TDDTemplate TopDwnDistrTmplName
UnivAllocTopDwnDistrCycleHash _TDDTemplate UnivAllocTopDwnDistrCycleHash
TopDwnDistrTmplHash _TDDTemplate TopDwnDistrTmplHash
OperatingConcern _TDDTemplate OperatingConcern Operating concern
LanguageCode

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_UnivAllocCycleCalculation.
-- 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_UnivAllocCycleCalculation AS
SELECT
  AllocationType,
  AllocationCycle,
  AllocationCycleStartDate,
  _TDDTemplate.TopDwnDistrTmplName AS TopDwnDistrTmplName,
  _TDDTemplate.UnivAllocTopDwnDistrCycleHash AS UnivAllocTopDwnDistrCycleHash,
  _TDDTemplate.TopDwnDistrTmplHash AS TopDwnDistrTmplHash,
  _TDDTemplate.OperatingConcern AS OperatingConcern,
  cast( $session.system_language as spras) AS LanguageCode
FROM I_UniversalAllocationCycle
LEFT OUTER JOIN P_UnivAllocCycleLockCounter AS _CycleLockCounter ON _CycleLockCounter.AllocationCycle = AllocationCycle AND _CycleLockCounter.AllocationType = AllocationType AND _CycleLockCounter.AllocationCycleStartDate = AllocationCycleStartDate  -- association [1..*]
LEFT OUTER JOIN P_UnivAllocTopDwnDistrTmplCalc AS _TDDTemplate ON _TDDTemplate.AllocationCycle = AllocationCycle AND _TDDTemplate.AllocationType = AllocationType AND _TDDTemplate.AllocationCycleStartDate = AllocationCycleStartDate  -- association [0..1]
;