P_AllocationRunMessage

DDL: P_ALLOCATIONRUNMESSAGE SQL: PALLOCNRUNMSG Type: view CONSUMPTION Package: ODATA_RUN_ALLOCATION

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)

SourceAliasJoin Type
I_AllocationRunMessage I_AllocationRunMessage from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;