I_AllocationRunSegment

DDL: I_ALLOCATIONRUNSEGMENT SQL: IALLOCRUNSEGMENT Type: view BASIC

Allocation Run Segment

I_AllocationRunSegment is a Basic CDS View that provides data about "Allocation Run Segment" in SAP S/4HANA. It reads from 1 data source (alloc_run_segm) and exposes 8 fields with key fields UniversalAllocationRun, AllocationCyclePosition, AllocationCycleSegmentPosition.

Data Sources (1)

SourceAliasJoin Type
alloc_run_segm alloc_run_segm from

Annotations (11)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName IALLOCRUNSEGMENT 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 #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY UniversalAllocationRun run_id UUID
KEY AllocationCyclePosition cycle_seq Seq. number
KEY AllocationCycleSegmentPosition segment_seq Seq. number
AllocationCycleSegment segment Segment number
SegmentName Segment
SegmentNameDescription segment_desc Segment Description
AllocationRunNumberOfSenders sender_count Senders
AllocationRunNumberOfReceivers receiver_count Receivers

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_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: IALLOCRUNSEGMENT

CREATE VIEW I_AllocationRunSegment AS
SELECT
  run_id AS UniversalAllocationRun,
  cycle_seq AS AllocationCyclePosition,
  segment_seq AS AllocationCycleSegmentPosition,
  segment AS AllocationCycleSegment,
  cast(segment_name as fco_alloc_run_segment_name preserving type) AS SegmentName,
  segment_desc AS SegmentNameDescription,
  sender_count AS AllocationRunNumberOfSenders,
  receiver_count AS AllocationRunNumberOfReceivers
FROM alloc_run_segm
;