I_FldLogsRcvdItmInContainerAll

DDL: I_FLDLOGSRCVDITMINCONTAINERALL Type: view_entity COMPOSITE Package: FLOG_RETURN_PROCG_BASE

Items received via an FL container

I_FldLogsRcvdItmInContainerAll is a Composite CDS View that provides data about "Items received via an FL container" in SAP S/4HANA. It reads from 1 data source (I_FldLogsContainerItemRecord) and exposes 17 fields with key fields FldLogsContainerID, DispatchedStartDate, FldLogsDispatchPlant, NumberOfCtnTripsPerDay, FldLogsReferenceDocumentNumber. It has 4 associations to related views. Part of development package FLOG_RETURN_PROCG_BASE.

Data Sources (1)

SourceAliasJoin Type
I_FldLogsContainerItemRecord I_FldLogsContainerItemRecord from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_FldLogsRcvdPackaging _RcvdPackgg $projection.FldLogsContainerID = _RcvdPackgg.FldLogsContainerID and $projection.FldLogsDispatchPlant = _RcvdPackgg.FldLogsDispatchPlant and $projection.DispatchedStartDate = _RcvdPackgg.DispatchedStartDate and $projection.NumberOfCtnTripsPerDay = _RcvdPackgg.NumberOfCtnTripsPerDay
[1] I_FldLogsShipmentItem _ShipmentItem $projection.FldLogsShptItemUUID = _ShipmentItem.FldLogsShptItemUUID
[1..1] I_DeliveryDocument _DeliveryDocument $projection.OutboundDelivery = _DeliveryDocument.DeliveryDocument
[0..1] I_FldLogsFlogReturnBasic _ReturnItems $projection.OutboundDelivery = _ReturnItems.OutboundDelivery and $projection.OutboundDeliveryItem = _ReturnItems.OutboundDeliveryItem and _ReturnItems.OutboundDelivery is not initial

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Items received via an FL container view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY FldLogsContainerID FldLogsContainerID Container ID
KEY DispatchedStartDate DispatchedStartDate Dispatch Date
KEY FldLogsDispatchPlant FldLogsDispatchPlant Plant
KEY NumberOfCtnTripsPerDay NumberOfCtnTripsPerDay Trip Counter
KEY FldLogsReferenceDocumentNumber FldLogsReferenceDocumentNumber Reference Doc Number
KEY FldLogsShptItmHndlgUnitID FldLogsShptItmHndlgUnitID Handling Unit ID
OutboundDelivery OutboundDelivery LE Delivery
OutboundDeliveryItem OutboundDeliveryItem Logistics Execution Delivery Item
Batch Batch Lot No.
Material Material Vehicle Model
FldLogsItemType FldLogsItemType
HandlingUnitExternalID Handling Unit ID
WBSElementExternalID WBSElementExternalID WBS Element External ID
FieldLogisticsKitIdentifier
InboundDelivery InboundDelivery LE Delivery
FldLogsShptItemUUID FldLogsShptItemUUID Shipment Item ID
ShippingPoint _DeliveryDocument ShippingPoint Shipping Point

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_FldLogsRcvdItmInContainerAll.
-- 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_FldLogsRcvdItmInContainerAll AS
SELECT
  FldLogsContainerID,
  DispatchedStartDate,
  FldLogsDispatchPlant,
  NumberOfCtnTripsPerDay,
  FldLogsReferenceDocumentNumber,
  FldLogsShptItmHndlgUnitID,
  OutboundDelivery,
  OutboundDeliveryItem,
  Batch,
  Material,
  FldLogsItemType,
  cast(FldLogsShptItmHndlgUnitID as exidv) AS HandlingUnitExternalID,
  WBSElementExternalID,
  _ShipmentItem._KitHeader.FieldLogisticsKitIdentifier AS FieldLogisticsKitIdentifier,
  InboundDelivery,
  FldLogsShptItemUUID,
  _DeliveryDocument.ShippingPoint AS ShippingPoint
FROM I_FldLogsContainerItemRecord
LEFT OUTER JOIN I_FldLogsRcvdPackaging AS _RcvdPackgg ON FldLogsContainerID = _RcvdPackgg.FldLogsContainerID AND FldLogsDispatchPlant = _RcvdPackgg.FldLogsDispatchPlant AND DispatchedStartDate = _RcvdPackgg.DispatchedStartDate AND NumberOfCtnTripsPerDay = _RcvdPackgg.NumberOfCtnTripsPerDay  -- association [0..1]
LEFT OUTER JOIN I_FldLogsShipmentItem AS _ShipmentItem ON FldLogsShptItemUUID = _ShipmentItem.FldLogsShptItemUUID  -- association [1]
LEFT OUTER JOIN I_DeliveryDocument AS _DeliveryDocument ON OutboundDelivery = _DeliveryDocument.DeliveryDocument  -- association [1..1]
LEFT OUTER JOIN I_FldLogsFlogReturnBasic AS _ReturnItems ON OutboundDelivery = _ReturnItems.OutboundDelivery AND OutboundDeliveryItem = _ReturnItems.OutboundDeliveryItem AND _ReturnItems.OutboundDelivery is not initial  -- association [0..1]
;