P_AllocationRunSegment

DDL: P_ALLOCATIONRUNSEGMENT SQL: PALLOCRUNSEGMENT Type: view CONSUMPTION

Allocation Run Segment

P_AllocationRunSegment is a Consumption CDS View that provides data about "Allocation Run Segment" in SAP S/4HANA. It reads from 2 data sources (I_AllocationRunCycle, I_AllocationRunSegment) and exposes 16 fields with key fields UniversalAllocationRun, AllocationCyclePosition, AllocationCycleSegmentPosition.

Data Sources (2)

SourceAliasJoin Type
I_AllocationRunCycle Cycle from
I_AllocationRunSegment Segment left_outer

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PALLOCRUNSEGMENT view
AbapCatalog.compiler.compareFilter true view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Allocation Run Segment 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 (16)

KeyFieldSource TableSource FieldDescription
KEY UniversalAllocationRun I_AllocationRunCycle UniversalAllocationRun UUID
KEY AllocationCyclePosition I_AllocationRunCycle AllocationCyclePosition Seq. number
KEY AllocationCycleSegmentPosition I_AllocationRunSegment AllocationCycleSegmentPosition Seq. number
AllocationCycle I_AllocationRunCycle AllocationCycle Cycle
AllocationCycleName I_AllocationRunCycle AllocationCycleName Allocation Cycle
AllocationCycleNameText I_AllocationRunCycle AllocationCycleNameText Cycle Description
AllocationCycleStartDate I_AllocationRunCycle AllocationCycleStartDate Valid From
AllocationCycleSegment I_AllocationRunSegment AllocationCycleSegment Segment Number
SegmentName I_AllocationRunSegment SegmentName Segment Name
SegmentNameDescription I_AllocationRunSegment SegmentNameDescription Segment Description
AllocationRunNumberOfSenders I_AllocationRunSegment AllocationRunNumberOfSenders Senders
AllocationRunNumberOfReceivers I_AllocationRunSegment AllocationRunNumberOfReceivers Receivers
AllocationType I_AllocationRunCycle AllocationType Table
Ledger I_AllocationRunCycle Ledger Ledger
AllocationActualPlanVariant I_AllocationRunCycle AllocationActualPlanVariant Actual/Plan
AllocationPostingType I_AllocationRunCycle AllocationPostingType Posting Type

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_AllocationRunSegment.
-- 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: PALLOCRUNSEGMENT

CREATE VIEW P_AllocationRunSegment AS
SELECT
  Cycle.UniversalAllocationRun AS UniversalAllocationRun,
  Cycle.AllocationCyclePosition AS AllocationCyclePosition,
  Segment.AllocationCycleSegmentPosition AS AllocationCycleSegmentPosition,
  Cycle.AllocationCycle AS AllocationCycle,
  Cycle.AllocationCycleName AS AllocationCycleName,
  Cycle.AllocationCycleNameText AS AllocationCycleNameText,
  Cycle.AllocationCycleStartDate AS AllocationCycleStartDate,
  Segment.AllocationCycleSegment AS AllocationCycleSegment,
  Segment.SegmentName AS SegmentName,
  Segment.SegmentNameDescription AS SegmentNameDescription,
  Segment.AllocationRunNumberOfSenders AS AllocationRunNumberOfSenders,
  Segment.AllocationRunNumberOfReceivers AS AllocationRunNumberOfReceivers,
  Cycle.AllocationType AS AllocationType,
  Cycle.Ledger AS Ledger,
  Cycle.AllocationActualPlanVariant AS AllocationActualPlanVariant,
  Cycle.AllocationPostingType AS AllocationPostingType
FROM I_AllocationRunCycle AS Cycle
LEFT OUTER JOIN I_AllocationRunSegment AS Segment ON /* join condition not captured in parsed metadata */
;