I_FldLogsInboundDel

DDL: I_FLDLOGSINBOUNDDEL SQL: IFLDOCFLOWINBDEL Type: view COMPOSITE Package: FLOG_RETURN

FL Return Docflow Inbound Delivery

I_FldLogsInboundDel is a Composite CDS View that provides data about "FL Return Docflow Inbound Delivery" in SAP S/4HANA. It reads from 2 data sources (I_FldLogsFlogReturnBasic, I_FldLogsFlogReturnBasic) and exposes 25 fields with key fields InboundDelivery, DeliveryDocumentItem, DeliveryDocumentItem. It has 1 association to related views. Part of development package FLOG_RETURN.

Data Sources (2)

SourceAliasJoin Type
I_FldLogsFlogReturnBasic _RetDoc from
I_FldLogsFlogReturnBasic _RetDoc union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_DeliveryDocumentItem _InDel _InDel.ReferenceSDDocument = _RetDoc.FldLogsReferenceDocumentNumber and _InDel.ReferenceSDDocumentItem = _RetDoc.ReferenceDocumentItem

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFLDOCFLOWINBDEL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label FL Return Docflow Inbound Delivery view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY InboundDelivery _InDel DeliveryDocument Outbound Delivery
KEY DeliveryDocumentItem _InDel DeliveryDocumentItem Outb. Delivery Item
InboundDeliveryItemCategory _InDel DeliveryDocumentItemCategory Item Category
OverallGoodsMovementStatus
ReferenceDocumentNumber I_FldLogsFlogReturnBasic FldLogsReferenceDocumentNumber Reference Doc Number
ReferenceDocumentItem I_FldLogsFlogReturnBasic ReferenceDocumentItem Reference item
_ItemCategory _InDel _ItemCategory
_OverallGoodsMovementStatus
Warehouse _InDel Warehouse Warehouse No.
SDDocumentCategory _InDel SDDocumentCategory Document Cat.
EWMDelivery
EWMDeliveryItem
DeliveryDocumentasInboundDelivery
KEY DeliveryDocumentItem _InDel DeliveryDocumentItem Outb. Delivery Item
InboundDeliveryItemCategory _InDel DeliveryDocumentItemCategory Item Category
OverallGoodsMovementStatus
ReferenceDocumentNumber I_FldLogsFlogReturnBasic FldLogsReferenceDocumentNumber Reference Doc Number
ReferenceDocumentItem I_FldLogsFlogReturnBasic ReferenceDocumentItem Reference item
_ItemCategory _InDel _ItemCategory
_OverallGoodsMovementStatus
Warehouse _InDel Warehouse Warehouse No.
SDDocumentCategory _InDel SDDocumentCategory Document Cat.
EWMDelivery
EWMDeliveryItem
GoodsMovementType _InDel GoodsMovementType Movement 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 I_FldLogsInboundDel.
-- 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: IFLDOCFLOWINBDEL

CREATE VIEW I_FldLogsInboundDel AS
SELECT
  _InDel.DeliveryDocument AS InboundDelivery,
  _InDel.DeliveryDocumentItem AS DeliveryDocumentItem,
  _InDel.DeliveryDocumentItemCategory AS InboundDeliveryItemCategory,
  _InDel._DeliveryDocument.OverallGoodsMovementStatus AS OverallGoodsMovementStatus,
  _RetDoc.FldLogsReferenceDocumentNumber AS ReferenceDocumentNumber,
  _RetDoc.ReferenceDocumentItem AS ReferenceDocumentItem,
  _InDel._ItemCategory AS _ItemCategory,
  _InDel._DeliveryDocument._OverallGoodsMovementStatus AS _OverallGoodsMovementStatus,
  _InDel.Warehouse AS Warehouse,
  _InDel.SDDocumentCategory AS SDDocumentCategory,
  cast( _InDel.DeliveryDocument as /scdl/dl_docno_int ) AS EWMDelivery,
  cast( lpad( _InDel.DeliveryDocumentItem,10,'0') as /scdl/dl_itemno) AS EWMDeliveryItem,
  _InDel.GoodsMovementType AS DeliveryDocumentasInboundDelivery,
  _InDel.GoodsMovementType AS GoodsMovementType
FROM I_FldLogsFlogReturnBasic AS _RetDoc
LEFT OUTER JOIN I_DeliveryDocumentItem AS _InDel ON _InDel.ReferenceSDDocument = _RetDoc.FldLogsReferenceDocumentNumber AND _InDel.ReferenceSDDocumentItem = _RetDoc.ReferenceDocumentItem  -- association [0..1]
-- UNION ALL with additional select branch(es): I_FldLogsFlogReturnBasic
;