I_AllocRunVariablePortionText
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)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationRunResult | I_AllocationRunResult | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA