I_AllocImprtValsRcvrElement

DDL: I_ALLOCIMPRTVALSRCVRELEMENT Type: view_entity TRANSACTIONAL

Allocation Import Values Receiver Basis

I_AllocImprtValsRcvrElement is a Transactional CDS View that provides data about "Allocation Import Values Receiver Basis" in SAP S/4HANA. It reads from 1 data source (alloimpvlselemen) and exposes 39 fields with key fields AllocationImportDataUUID, RowIndex, AllocSenderReceiverVariant. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
alloimpvlselemen alloimpvlselemen from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_AllocationContextType _Context $projection.AllocationType = _Context.AllocationType
[0..1] I_AllocAssmtDistrLongText _SegmentText _SegmentText.AllocationType = $projection.AllocationType and _SegmentText.AllocationCycle = $projection.AllocationCycle and _SegmentText.AllocationCycleStartDate = $projection.AllocationCycleStartDate and _SegmentText.AllocationCycleSegment = $projection.AllocationCycleSegment and _SegmentText.LanguageCode = $session.system_language
[0..1] I_AllocationCycle _AllocationCycle $projection.AllocationType = _AllocationCycle.AllocationType and $projection.AllocationCycle = _AllocationCycle.AllocationCycle and $projection.AllocationCycleStartDate = _AllocationCycle.AllocationCycleStartDate

Annotations (6)

NameValueLevelField
EndUserText.label Allocation Import Values Receiver Basis view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY AllocationImportDataUUID allocationimportdatauuid Allocation UUID
KEY RowIndex rowindex Row index
KEY AllocSenderReceiverVariant allocsenderreceivervariant Sender Receiver Variant
AllocationErrorCodesString allocationerrorcodesstring Error Codes
AllocErrCodeWthAttributeString allocerrcodewthattributestring Error Codes with Attributes
AllocationCycle allocationcycle Cycle
AllocationCycleName
AllocationType allocationtype Table
Ledger ledger Ledger
AllocationCycleStartDate allocationcyclestartdate Valid From
AllocationCycleSegment allocationcyclesegment Segment Number
SegmentName segmentname Segment Name
SegmentNameDescription
AllocationReceiverFixedField1 allocationfixedfield1 Field 1
AllocationReceiverFixedField2 allocationfixedfield2 Field 2
AllocationReceiverFixedField3 allocationfixedfield3 Field 3
AllocationReceiverFixedField4 allocationfixedfield4 Field 4
AllocationReceiverFixedField5 allocationfixedfield5 Field 5
AllocationReceiverFixedField6 allocationfixedfield6 Field 6
AllocationReceiverFixedField7 allocationfixedfield7 Field 7
AllocationReceiverFixedField8 allocationfixedfield8 Field 8
AllocationReceiverFixedField9 allocationfixedfield9 Field 9
AllocationReceiverFixedField10 allocationfixedfield10 Field 10
AllocationElement1 allocationelement1 Field Value 1
AllocationElement2 allocationelement2 Field Value 2
AllocationElement3 allocationelement3 Field Value 3
AllocationElement4 allocationelement4 Field Value 4
AllocationElement5 allocationelement5 Field Value 5
AllocationElement6 allocationelement6 Field Value 6
AllocationElement7 allocationelement7 Field Value 7
AllocationElement8 allocationelement8 Field Value 8
AllocationElement9 allocationelement9 Field Value 9
AllocationElement10 allocationelement10 Field Value 10
AllocationElementValue allocationelementvalue Value
IsValid isvalid Truth Value
AllocationContextTypeText
_Import _Import
_Context _Context
_AllocationCycle _AllocationCycle

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_AllocImprtValsRcvrElement.
-- 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_AllocImprtValsRcvrElement AS
SELECT
  AllocationImportDataUUID,
  RowIndex,
  AllocSenderReceiverVariant,
  AllocationErrorCodesString,
  AllocErrCodeWthAttributeString,
  AllocationCycle,
  cast( substring( allocationcycle, 3, 8 ) as fco_alloc_cycle ) AS AllocationCycleName,
  AllocationType,
  Ledger,
  AllocationCycleStartDate,
  AllocationCycleSegment,
  SegmentName,
  cast( _SegmentText.AllocationCycleNameText as fco_alloc_segment_decs ) AS SegmentNameDescription,
  allocationfixedfield1 AS AllocationReceiverFixedField1,
  allocationfixedfield2 AS AllocationReceiverFixedField2,
  allocationfixedfield3 AS AllocationReceiverFixedField3,
  allocationfixedfield4 AS AllocationReceiverFixedField4,
  allocationfixedfield5 AS AllocationReceiverFixedField5,
  allocationfixedfield6 AS AllocationReceiverFixedField6,
  allocationfixedfield7 AS AllocationReceiverFixedField7,
  allocationfixedfield8 AS AllocationReceiverFixedField8,
  allocationfixedfield9 AS AllocationReceiverFixedField9,
  allocationfixedfield10 AS AllocationReceiverFixedField10,
  AllocationElement1,
  AllocationElement2,
  AllocationElement3,
  AllocationElement4,
  AllocationElement5,
  AllocationElement6,
  AllocationElement7,
  AllocationElement8,
  AllocationElement9,
  AllocationElement10,
  AllocationElementValue,
  IsValid,
  _Context._Text[1:Language = $session.system_language].AllocationContextTypeText AS AllocationContextTypeText
FROM alloimpvlselemen
LEFT OUTER JOIN I_AllocationContextType AS _Context ON AllocationType = _Context.AllocationType  -- association [0..1]
LEFT OUTER JOIN I_AllocAssmtDistrLongText AS _SegmentText ON _SegmentText.AllocationType = AllocationType AND _SegmentText.AllocationCycle = AllocationCycle AND _SegmentText.AllocationCycleStartDate = AllocationCycleStartDate AND _SegmentText.AllocationCycleSegment = AllocationCycleSegment AND _SegmentText.LanguageCode = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_AllocationCycle AS _AllocationCycle ON AllocationType = _AllocationCycle.AllocationType AND AllocationCycle = _AllocationCycle.AllocationCycle AND AllocationCycleStartDate = _AllocationCycle.AllocationCycleStartDate  -- association [0..1]
;