C_AllocRunReferenceMapping
Allocation Run Reference Mapping
C_AllocRunReferenceMapping is a Consumption CDS View that provides data about "Allocation Run Reference Mapping" in SAP S/4HANA. It reads from 1 data source (I_AllocRunReferenceMapping) and exposes 13 fields with key fields UniversalAllocationRun, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment, AllocationRunReceiverItem. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F3548, ASQL_F4363). Part of development package ODATA_RUN_ALLOCATION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocRunReferenceMapping | I_AllocRunReferenceMapping | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_AllocationRunResult | _ReceiverResult | _ReceiverResult.UniversalAllocationRun = $projection.UniversalAllocationRun and _ReceiverResult.AllocationCycle = $projection.AllocationCycle and _ReceiverResult.AllocationCycleStartDate = $projection.AllocationCycleStartDate and _ReceiverResult.AllocationCycleSegment = $projection.AllocationCycleSegment and _ReceiverResult.AllocationRunDataCategory = 'R' and _ReceiverResult.AllocationRunResultItem = $projection.AllocationRunReceiverItem |
| [0..1] | C_AllocationRunResult | _ReferenceResult | _ReferenceResult.UniversalAllocationRun = $projection.UniversalAllocationRun and _ReferenceResult.AllocationCycle = $projection.AllocationCycle and _ReferenceResult.AllocationCycleStartDate = $projection.AllocationCycleStartDate and _ReferenceResult.AllocationCycleSegment = $projection.AllocationCycleSegment and _ReferenceResult.AllocationRunDataCategory = 'F' and _ReferenceResult.AllocationRunResultItem = $projection.AllocationRunReferenceItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | CALLOCNREFMAP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Allocation Run Reference Mapping | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F3548 | ASQL_F3548 | C2 | NOT_RELEASED | |
| ASQL_F4363 | ASQL_F4363 | C2 | NOT_RELEASED |
Fields (13)
| 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 | AllocationRunReceiverItem | AllocationRunReceiverItem | Result Pos. | |
| KEY | AllocationRunReferenceItem | AllocationRunReferenceItem | Result Pos. | |
| AllocationCycleName | AllocationCycleName | Allocation Cycle | ||
| AllocationType | AllocationType | Table | ||
| Ledger | Ledger | Ledger | ||
| AllocationActualPlanVariant | AllocationActualPlanVariant | Actual/Plan | ||
| AllocationPostingType | AllocationPostingType | Posting Type | ||
| _ReceiverResult | _ReceiverResult | |||
| _ReferenceResult | _ReferenceResult |
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 C_AllocRunReferenceMapping.
-- 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: CALLOCNREFMAP
CREATE VIEW C_AllocRunReferenceMapping AS
SELECT
UniversalAllocationRun,
AllocationCycle,
AllocationCycleStartDate,
AllocationCycleSegment,
AllocationRunReceiverItem,
AllocationRunReferenceItem,
AllocationCycleName,
AllocationType,
Ledger,
AllocationActualPlanVariant,
AllocationPostingType
FROM I_AllocRunReferenceMapping
LEFT OUTER JOIN C_AllocationRunResult AS _ReceiverResult ON _ReceiverResult.UniversalAllocationRun = UniversalAllocationRun AND _ReceiverResult.AllocationCycle = AllocationCycle AND _ReceiverResult.AllocationCycleStartDate = AllocationCycleStartDate AND _ReceiverResult.AllocationCycleSegment = AllocationCycleSegment AND _ReceiverResult.AllocationRunDataCategory = 'R' AND _ReceiverResult.AllocationRunResultItem = AllocationRunReceiverItem -- association [0..1]
LEFT OUTER JOIN C_AllocationRunResult AS _ReferenceResult ON _ReferenceResult.UniversalAllocationRun = UniversalAllocationRun AND _ReferenceResult.AllocationCycle = AllocationCycle AND _ReferenceResult.AllocationCycleStartDate = AllocationCycleStartDate AND _ReferenceResult.AllocationCycleSegment = AllocationCycleSegment AND _ReferenceResult.AllocationRunDataCategory = 'F' AND _ReferenceResult.AllocationRunResultItem = AllocationRunReferenceItem -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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