I_AllocationElement

DDL: I_ALLOCATIONELEMENT SQL: ALLOCELEMENT Type: view BASIC

Allocation Element

I_AllocationElement is a Basic CDS View that provides data about "Allocation Element" in SAP S/4HANA. It reads from 1 data source (t811f) and exposes 18 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment, AllocSenderReceiverVariant. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
t811f t811f from

Associations (1)

CardinalityTargetAliasCondition
[1] I_AllocationSegment _Segment $projection.AllocationType = _Segment.AllocationType and $projection.AllocationCycle = _Segment.AllocationCycle and $projection.AllocationCycleStartDate = _Segment.AllocationCycleStartDate and $projection.AllocationCycleSegment = _Segment.AllocationCycleSegment

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ALLOCELEMENT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Allocation Element view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY AllocationType Totals Table
KEY AllocationCycle cycle Single-Character Flag
KEY AllocationCycleStartDate sdate Valid From
KEY AllocationCycleSegment seqnr Tank ID
KEY AllocSenderReceiverVariant srflag Single-Character Flag
KEY AllocElementSequenceNumber fpos Sequence Number
AllocationElement1 element1 Element
AllocationElement2 element2 Element
AllocationElement3 element3 Element
AllocationElement4 element4 Element
AllocationElement5 element5 Element
AllocationElement6 element6 Element
AllocationElement7 element7 Element
AllocationElement8 element8 Element
AllocationElement9 element9 Element
AllocationElement10 element10 Element
AllocationElementValue value Value from table
_Segment _Segment

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_AllocationElement.
-- 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: ALLOCELEMENT

CREATE VIEW I_AllocationElement AS
SELECT
  cast(tab as fco_allocation_type) AS AllocationType,
  cycle AS AllocationCycle,
  sdate AS AllocationCycleStartDate,
  seqnr AS AllocationCycleSegment,
  srflag AS AllocSenderReceiverVariant,
  fpos AS AllocElementSequenceNumber,
  element1 AS AllocationElement1,
  element2 AS AllocationElement2,
  element3 AS AllocationElement3,
  element4 AS AllocationElement4,
  element5 AS AllocationElement5,
  element6 AS AllocationElement6,
  element7 AS AllocationElement7,
  element8 AS AllocationElement8,
  element9 AS AllocationElement9,
  element10 AS AllocationElement10,
  value AS AllocationElementValue
FROM t811f
LEFT OUTER JOIN I_AllocationSegment AS _Segment ON AllocationType = _Segment.AllocationType AND AllocationCycle = _Segment.AllocationCycle AND AllocationCycleStartDate = _Segment.AllocationCycleStartDate AND AllocationCycleSegment = _Segment.AllocationCycleSegment  -- association [1]
;