I_AllocRunVariablePortionText

DDL: I_ALLOCRUNVARIABLEPORTIONTEXT Type: view_entity COMPOSITE Package: ODATA_RUN_ALLOCATION

Allocation Run Variable Portion - Text

I_AllocRunVariablePortionText is a Composite CDS View that provides data about "Allocation Run Variable Portion - Text" in SAP S/4HANA. It reads from 1 data source (I_AllocationRunResult) and exposes 9 fields with key fields UniversalAllocationRun, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment, AllocationRunDataCategory. It has 2 associations to related views. Part of development package ODATA_RUN_ALLOCATION.

Data Sources (1)

SourceAliasJoin Type
I_AllocationRunResult I_AllocationRunResult from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_StatisticalKeyFigureText _VarPortionStatKeyFigureText $projection.VariablePortion = _VarPortionStatKeyFigureText.StatisticalKeyFigure and $projection.ControllingArea = _VarPortionStatKeyFigureText.ControllingArea and _VarPortionStatKeyFigureText.Language = $session.system_language
[0..1] I_GLAccountText _VarPortionGLAccountText $projection.ChartOfAccounts = _VarPortionGLAccountText.ChartOfAccounts and $projection.VariablePortion = _VarPortionGLAccountText.GLAccount and _VarPortionGLAccountText.Language = $session.system_language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Allocation Run Variable Portion - Text view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY UniversalAllocationRun UniversalAllocationRun UUID
KEY AllocationCycle AllocationCycle Cycle
KEY AllocationCycleStartDate AllocationCycleStartDate Valid From
KEY AllocationCycleSegment AllocationCycleSegment Segment Number
KEY AllocationRunDataCategory AllocationRunDataCategory Type
KEY AllocationRunResultItem AllocationRunResultItem Result Pos.
VariablePortion VariablePortion Portion
ControllingArea ControllingArea Controlling Area
ChartOfAccounts ChartOfAccounts Node Class

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_AllocRunVariablePortionText.
-- 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_AllocRunVariablePortionText AS
SELECT
  UniversalAllocationRun,
  AllocationCycle,
  AllocationCycleStartDate,
  AllocationCycleSegment,
  AllocationRunDataCategory,
  AllocationRunResultItem,
  VariablePortion,
  ControllingArea,
  ChartOfAccounts
FROM I_AllocationRunResult
LEFT OUTER JOIN I_StatisticalKeyFigureText AS _VarPortionStatKeyFigureText ON VariablePortion = _VarPortionStatKeyFigureText.StatisticalKeyFigure AND ControllingArea = _VarPortionStatKeyFigureText.ControllingArea AND _VarPortionStatKeyFigureText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _VarPortionGLAccountText ON ChartOfAccounts = _VarPortionGLAccountText.ChartOfAccounts AND VariablePortion = _VarPortionGLAccountText.GLAccount AND _VarPortionGLAccountText.Language = $session.system_language  -- association [0..1]
;