I_FldLogsRcvdOutboundDelivery

DDL: I_FLDLOGSRCVDOUTBOUNDDELIVERY Type: view_entity COMPOSITE

FL Outbound Delivery

I_FldLogsRcvdOutboundDelivery is a Composite CDS View that provides data about "FL Outbound Delivery" in SAP S/4HANA. It reads from 2 data sources (I_DeliveryDocumentItem, I_FieldLogisticsPlantAll) and exposes 17 fields with key fields DeliveryDocument, DeliveryDocumentItem. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_DeliveryDocumentItem _DeliveryDocumentItem from
I_FieldLogisticsPlantAll _FldLogsAllPlants inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PurchasingDocument _ReferenceSDDocument _ReferenceSDDocument.PurchasingDocument = $projection.ReferenceSDDocument
[1..1] I_PurchasingDocumentItem _ReferenceSDDocumentItem _ReferenceSDDocumentItem.PurchasingDocument = $projection.ReferenceSDDocument and _ReferenceSDDocumentItem.PurchasingDocumentItem = $projection.PurchasingDocumentItem

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label FL Outbound Delivery view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #COMPOSITE view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument I_DeliveryDocumentItem DeliveryDocument Outbound Delivery
KEY DeliveryDocumentItem I_DeliveryDocumentItem DeliveryDocumentItem Outb. Delivery Item
Warehouse I_DeliveryDocumentItem Warehouse Warehouse No.
ReferenceSDDocument I_DeliveryDocumentItem ReferenceSDDocument Reference Doc.
ReferenceSDDocumentItem I_DeliveryDocumentItem ReferenceSDDocumentItem Reference Item
GoodsMovementStatus I_DeliveryDocumentItem GoodsMovementStatus Gds Movemt Status
OrderID I_DeliveryDocumentItem OrderID Order ID
OrderItem I_DeliveryDocumentItem OrderItem
Reservation I_DeliveryDocumentItem Reservation Reservation
ReservationItem I_DeliveryDocumentItem ReservationItem Reservation Item
Plant I_DeliveryDocumentItem Plant Valuation Area
StorageLocation I_DeliveryDocumentItem StorageLocation StorageLocation
GoodsMovementType I_DeliveryDocumentItem GoodsMovementType Movement Type
IsEndOfPurposeBlocked _ReferenceSDDocument IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingDocumentItem
_DeliveryDocument I_DeliveryDocumentItem _DeliveryDocument
_ReferenceSDDocumentItem _ReferenceSDDocumentItem

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_FldLogsRcvdOutboundDelivery.
-- 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_FldLogsRcvdOutboundDelivery AS
SELECT
  _DeliveryDocumentItem.DeliveryDocument AS DeliveryDocument,
  _DeliveryDocumentItem.DeliveryDocumentItem AS DeliveryDocumentItem,
  _DeliveryDocumentItem.Warehouse AS Warehouse,
  _DeliveryDocumentItem.ReferenceSDDocument AS ReferenceSDDocument,
  _DeliveryDocumentItem.ReferenceSDDocumentItem AS ReferenceSDDocumentItem,
  _DeliveryDocumentItem.GoodsMovementStatus AS GoodsMovementStatus,
  _DeliveryDocumentItem.OrderID AS OrderID,
  _DeliveryDocumentItem.OrderItem AS OrderItem,
  _DeliveryDocumentItem.Reservation AS Reservation,
  _DeliveryDocumentItem.ReservationItem AS ReservationItem,
  _DeliveryDocumentItem.Plant AS Plant,
  _DeliveryDocumentItem.StorageLocation AS StorageLocation,
  _DeliveryDocumentItem.GoodsMovementType AS GoodsMovementType,
  _ReferenceSDDocument.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  cast( substring(_DeliveryDocumentItem.ReferenceSDDocumentItem, 2, 6 ) as ebelp ) AS PurchasingDocumentItem,
  _DeliveryDocumentItem._DeliveryDocument AS _DeliveryDocument
FROM I_DeliveryDocumentItem AS _DeliveryDocumentItem
INNER JOIN I_FieldLogisticsPlantAll AS _FldLogsAllPlants ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurchasingDocument AS _ReferenceSDDocument ON _ReferenceSDDocument.PurchasingDocument = ReferenceSDDocument  -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentItem AS _ReferenceSDDocumentItem ON _ReferenceSDDocumentItem.PurchasingDocument = ReferenceSDDocument AND _ReferenceSDDocumentItem.PurchasingDocumentItem = PurchasingDocumentItem  -- association [1..1]
;