P_AllocationRunMessage
Allocation Run Message
P_AllocationRunMessage is a Consumption CDS View that provides data about "Allocation Run Message" in SAP S/4HANA. It reads from 1 data source (I_AllocationRunMessage) and exposes 19 fields with key fields UniversalAllocationRun, AllocationRunMessageItem. It has 2 associations to related views. Part of development package ODATA_RUN_ALLOCATION.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AllocationRunMessage | I_AllocationRunMessage | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DomainFixedValueText | _MessageTypeText | _MessageTypeText.Language = $session.system_language and _MessageTypeText.SAPDataDictionaryDomain = 'MSGTY_CO' and _MessageTypeText.DomainValue = $projection.SystemMessageType and _MessageTypeText.DomainActivationState = 'A' |
| [0..1] | I_CASystemMessageLastChangedBy | _MessageLastChangedBy | _MessageLastChangedBy.SystemMessageClass = $projection.SystemMessageClass and _MessageLastChangedBy.SystemMessageNumber = $projection.SystemMessageNumber |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | PALLOCNRUNMSG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Allocation Run Message | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UniversalAllocationRun | UniversalAllocationRun | UUID | |
| KEY | AllocationRunMessageItem | AllocationRunMessageItem | Seq. number | |
| SystemMessageClass | SystemMessageClass | Message ID | ||
| SystemMessageNumber | SystemMessageNumber | Message Number | ||
| SystemMessageVariable1 | SystemMessageVariable1 | Variable 1 | ||
| SystemMessageVariable2 | SystemMessageVariable2 | Variable 2 | ||
| SystemMessageVariable3 | SystemMessageVariable3 | Variable 3 | ||
| SystemMessageVariable4 | SystemMessageVariable4 | Variable 4 | ||
| AllocationType | AllocationType | Table | ||
| Ledger | Ledger | Ledger | ||
| AllocationActualPlanVariant | AllocationActualPlanVariant | Actual/Plan | ||
| AllocationPostingType | AllocationPostingType | Posting Type | ||
| SystemMessageText | ||||
| SystemMessageTypeName | ||||
| AllocationCycle | AllocationCycle | Cycle | ||
| AllocationCycleStartDate | AllocationCycleStartDate | Valid From | ||
| AllocationCycleSegment | AllocationCycleSegment | Segment Number | ||
| AllocationCycleName | AllocationCycleName | Allocation Cycle | ||
| _MessageTypeText | _MessageTypeText |
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 P_AllocationRunMessage.
-- 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: PALLOCNRUNMSG
CREATE VIEW P_AllocationRunMessage AS
SELECT
UniversalAllocationRun,
AllocationRunMessageItem,
SystemMessageClass,
SystemMessageNumber,
SystemMessageVariable1,
SystemMessageVariable2,
SystemMessageVariable3,
SystemMessageVariable4,
AllocationType,
Ledger,
AllocationActualPlanVariant,
AllocationPostingType,
cast('' as fco_alloc_run_msg_text ) AS SystemMessageText,
cast('' as alloc_run_mgs_type_text ) AS SystemMessageTypeName,
AllocationCycle,
AllocationCycleStartDate,
AllocationCycleSegment,
AllocationCycleName
FROM I_AllocationRunMessage
LEFT OUTER JOIN I_DomainFixedValueText AS _MessageTypeText ON _MessageTypeText.Language = $session.system_language AND _MessageTypeText.SAPDataDictionaryDomain = 'MSGTY_CO' AND _MessageTypeText.DomainValue = SystemMessageType AND _MessageTypeText.DomainActivationState = 'A' -- association [0..*]
LEFT OUTER JOIN I_CASystemMessageLastChangedBy AS _MessageLastChangedBy ON _MessageLastChangedBy.SystemMessageClass = SystemMessageClass AND _MessageLastChangedBy.SystemMessageNumber = SystemMessageNumber -- 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