I_CycleRunGroup

DDL: I_CYCLERUNGROUP SQL: IALLOCRUNGRP Type: view BASIC Package: ODATA_ALLOCATION_RUN_GROUP

Cycle Run Group

I_CycleRunGroup is a Basic CDS View that provides data about "Cycle Run Group" in SAP S/4HANA. It reads from 2 data sources (I_Ledger, t811p) and exposes 10 fields with key fields AllocationType, AllocationCycleRunGroup, AllocationPostingType, AllocationActualPlanVariant, Ledger. It has 5 associations to related views. Part of development package ODATA_ALLOCATION_RUN_GROUP.

Data Sources (2)

SourceAliasJoin Type
I_Ledger I_Ledger inner
t811p t811p from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_AllocationContextType _Context $projection.AllocationType = _Context.AllocationType
[0..1] I_AllocationPostingType _AllocPostingType $projection.AllocationPostingType = _AllocPostingType.AllocationPostingType
[0..1] I_AllocActualPlanVariant _AllocActualPlanVariant $projection.AllocationActualPlanVariant = _AllocActualPlanVariant.AllocationActualPlanVariant
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..*] I_CycleRunGroupText _Text $projection.AllocationType = _Text.AllocationType and $projection.Ledger = _Text.Ledger and $projection.AllocationCycleRunGroup = _Text.AllocationCycleRunGroup and $projection.AllocationPostingType = _Text.AllocationPostingType and $projection.AllocationActualPlanVariant = _Text.AllocationActualPlanVariant

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IALLOCRUNGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Cycle Run Group view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY AllocationType Totals Table
KEY AllocationCycleRunGroup proc_group Cycle Run Group
KEY AllocationPostingType Allocation Type
KEY AllocationActualPlanVariant Actual/Plan
KEY Ledger
_Context _Context
_AllocPostingType _AllocPostingType
_AllocActualPlanVariant _AllocActualPlanVariant
_Ledger _Ledger
_Text _Text

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_CycleRunGroup.
-- 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.
-- SQL view name: IALLOCRUNGRP

CREATE VIEW I_CycleRunGroup AS
SELECT
  cast(tab as fco_allocation_context preserving type ) AS AllocationType,
  proc_group AS AllocationCycleRunGroup,
  cast(alart as fco_alloc_posting_type preserving type ) AS AllocationPostingType,
  cast(ipknz as fco_alloc_ipknz preserving type ) AS AllocationActualPlanVariant,
  cast(I_Ledger.Ledger as fis_rldnr preserving type ) AS Ledger
FROM t811p
INNER JOIN I_Ledger ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AllocationContextType AS _Context ON AllocationType = _Context.AllocationType  -- association [0..1]
LEFT OUTER JOIN I_AllocationPostingType AS _AllocPostingType ON AllocationPostingType = _AllocPostingType.AllocationPostingType  -- association [0..1]
LEFT OUTER JOIN I_AllocActualPlanVariant AS _AllocActualPlanVariant ON AllocationActualPlanVariant = _AllocActualPlanVariant.AllocationActualPlanVariant  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_CycleRunGroupText AS _Text ON AllocationType = _Text.AllocationType AND Ledger = _Text.Ledger AND AllocationCycleRunGroup = _Text.AllocationCycleRunGroup AND AllocationPostingType = _Text.AllocationPostingType AND AllocationActualPlanVariant = _Text.AllocationActualPlanVariant  -- association [0..*]
;