I_AllocationSegmentVersion

DDL: I_ALLOCATIONSEGMENTVERSION Type: view_entity BASIC Package: ODATA_MANAGE_ALLOC_CHANGES

Allocation Cycle Segment Version

I_AllocationSegmentVersion is a Basic CDS View that provides data about "Allocation Cycle Segment Version" in SAP S/4HANA. It reads from 1 data source (t811sv) and exposes 49 fields with key fields AllocCycleSegmentVersionValue, AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment. Part of development package ODATA_MANAGE_ALLOC_CHANGES.

Data Sources (1)

SourceAliasJoin Type
t811sv t811sv from

Annotations (7)

NameValueLevelField
EndUserText.label Allocation Cycle Segment Version view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY AllocCycleSegmentVersionValue id WorklistID
KEY AllocationType tab Totals Table
KEY AllocationCycle cycle Single-Character Flag
KEY AllocationCycleStartDate sdate Valid From
KEY AllocationCycleSegment Tank ID
SegmentName Zone name
AllocationSegmentPosition seqpos Item
AllocationSenderRule Sender Rule
AllocationReceiverRule Receiver Rule
AllocationSegmentIsLocked active Usage Active
AllocScNgtvTracingFctr negtest Scale Neg. Factors
SenderTracingFieldGroup scset Set ID
SenderFieldGroup sset Start Using Variant Only
ReceiverFieldGroup rset Set ID
ReceiverTracingFieldGroup rcset Set ID
AllocSegmentShareInPercent Share in %
AllocationSenderFixedField1 sffeld1 Fixed Amount
AllocationSenderFixedField2 sffeld2 Fixed Amount
AllocationSenderFixedField3 sffeld3 Fixed Amount
AllocationSenderFixedField4 sffeld4 Fixed Amount
AllocationSenderFixedField5 sffeld5 Fixed Amount
AllocationSenderFixedField6 sffeld6 Fixed Amount
AllocationSenderFixedField7 sffeld7 Fixed Amount
AllocationSenderFixedField8 sffeld8 Fixed Amount
AllocationSenderFixedField9 sffeld9 Fixed Amount
AllocationSenderFixedField10 sffeld10 Fixed Amount
AllocationCurrency facurr Currency
AllocationReceiverFixedField1 rffeld1 Fixed Amount
AllocationReceiverFixedField2 rffeld2 Fixed Amount
AllocationReceiverFixedField3 rffeld3 Fixed Amount
AllocationReceiverFixedField4 rffeld4 Fixed Amount
AllocationReceiverFixedField5 rffeld5 Fixed Amount
AllocationReceiverFixedField6 rffeld6 Fixed Amount
AllocationReceiverFixedField7 rffeld7 Fixed Amount
AllocationReceiverFixedField8 rffeld8 Fixed Amount
AllocationReceiverFixedField9 rffeld9 Fixed Amount
AllocationReceiverFixedField10 rffeld10 Fixed Amount
AllocationFieldGroup rcdata Field group
AssessmentCostElement asacc Assess. CElem
AllocationFixedCostCenterCost pafldf Fixed value fld
AllocationVariableCostCtrCost pafldg Val.fld vbl cst
AllocationAccountAssignment rrfeld1 AcctAsgmntField
AllocationSegmentSortField sortfield Sort Field
AllocIsSndrExclAsRcvr sender_not Exclude Sender
ManipulationRuleForCyclicMaint MRULE
AllocationStructure Check Encash. Rec.
AllocationTransferStructure ersch PA Trans. Str.
AllocSndrFctrPercent sweight_fact Factor Per
AllocRcvrFctrPercent rweight_fact Factor Per

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_AllocationSegmentVersion.
-- 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.

CREATE VIEW I_AllocationSegmentVersion AS
SELECT
  id AS AllocCycleSegmentVersionValue,
  tab AS AllocationType,
  cycle AS AllocationCycle,
  sdate AS AllocationCycleStartDate,
  cast(seqnr as fco_alloc_segment_number preserving type ) AS AllocationCycleSegment,
  cast(name as fco_segment_name preserving type ) AS SegmentName,
  seqpos AS AllocationSegmentPosition,
  cast(srule as fco_alloc_sender_rule preserving type ) AS AllocationSenderRule,
  cast(rrule as fco_alloc_receiver_rule preserving type ) AS AllocationReceiverRule,
  active AS AllocationSegmentIsLocked,
  negtest AS AllocScNgtvTracingFctr,
  scset AS SenderTracingFieldGroup,
  sset AS SenderFieldGroup,
  rset AS ReceiverFieldGroup,
  rcset AS ReceiverTracingFieldGroup,
  cast(spercent as fco_alloc_sender_share_percent preserving type ) AS AllocSegmentShareInPercent,
  sffeld1 AS AllocationSenderFixedField1,
  sffeld2 AS AllocationSenderFixedField2,
  sffeld3 AS AllocationSenderFixedField3,
  sffeld4 AS AllocationSenderFixedField4,
  sffeld5 AS AllocationSenderFixedField5,
  sffeld6 AS AllocationSenderFixedField6,
  sffeld7 AS AllocationSenderFixedField7,
  sffeld8 AS AllocationSenderFixedField8,
  sffeld9 AS AllocationSenderFixedField9,
  sffeld10 AS AllocationSenderFixedField10,
  facurr AS AllocationCurrency,
  rffeld1 AS AllocationReceiverFixedField1,
  rffeld2 AS AllocationReceiverFixedField2,
  rffeld3 AS AllocationReceiverFixedField3,
  rffeld4 AS AllocationReceiverFixedField4,
  rffeld5 AS AllocationReceiverFixedField5,
  rffeld6 AS AllocationReceiverFixedField6,
  rffeld7 AS AllocationReceiverFixedField7,
  rffeld8 AS AllocationReceiverFixedField8,
  rffeld9 AS AllocationReceiverFixedField9,
  rffeld10 AS AllocationReceiverFixedField10,
  rcdata AS AllocationFieldGroup,
  asacc AS AssessmentCostElement,
  pafldf AS AllocationFixedCostCenterCost,
  pafldg AS AllocationVariableCostCtrCost,
  rrfeld1 AS AllocationAccountAssignment,
  sortfield AS AllocationSegmentSortField,
  sender_not AS AllocIsSndrExclAsRcvr,
  cast(mrule as fco_alloc_manipulation_rule preserving type ) AS ManipulationRuleForCyclicMaint,
  cast(absch as fco_allocation_structure preserving type ) AS AllocationStructure,
  ersch AS AllocationTransferStructure,
  sweight_fact AS AllocSndrFctrPercent,
  rweight_fact AS AllocRcvrFctrPercent
FROM t811sv
;