I_FldLogsReturnHndlgUnitExtd

DDL: I_FLDLOGSRETURNHNDLGUNITEXTD Type: view_entity TRANSACTIONAL Package: FLOG_RETURN

FL Return Handling Units extended

I_FldLogsReturnHndlgUnitExtd is a Transactional CDS View that provides data about "FL Return Handling Units extended" in SAP S/4HANA. It reads from 3 data sources (I_FldLogsRetEWMHndlgUnitRecord, I_FldLogsReturnHandlingUnit, I_FldLogsReturnHandlingUnit) and exposes 43 fields with key fields Material, FldLogsRemotePlant, RemoteStorageLocation, FldLogsReferenceDocumentNumber, ReferenceDocumentItem. It has 1 association to related views. Part of development package FLOG_RETURN.

Data Sources (3)

SourceAliasJoin Type
I_FldLogsRetEWMHndlgUnitRecord _EWMHandlingUnit union
I_FldLogsReturnHandlingUnit _FldLogsReturnHandlingUnit from
I_FldLogsReturnHandlingUnit _FldLogsReturnHandlingUnit union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_FldLogsRetHndlgUnitAggrgdQty _AggregatedQty _FldLogsReturnHandlingUnit.FldLogsReferenceDocumentNumber = _AggregatedQty.FldLogsReferenceDocumentNumber and _FldLogsReturnHandlingUnit.HandlingUnitInternalID = _AggregatedQty.HandlingUnitLowerLevelRefer

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label FL Return Handling Units extended view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (43)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY FldLogsRemotePlant FldLogsRemotePlant Plant
KEY RemoteStorageLocation RemoteStorageLocation
KEY FldLogsReferenceDocumentNumber FldLogsReferenceDocumentNumber Reference Doc Number
KEY ReferenceDocumentItem ReferenceDocumentItem Reference item
KEY FldLogsMaintenanceOrder FldLogsMaintenanceOrder
KEY HandlingUnitExternalID HandlingUnitExternalID Handling Unit
DeliveryDocument DeliveryDocument Outbound Delivery
HandlingUnitLowerLevelRefer HandlingUnitLowerLevelRefer
Product Product Product Sold
HandlingUnitQuantity HandlingUnitQuantity Packed Quantity
HandlingUnitQuantityUnit HandlingUnitQuantityUnit UoM of HU item
HandlingUnitNumber HandlingUnitNumber Handling Unit
HandlingUnitInternalID HandlingUnitInternalID
HandlingUnitLowerLevelReferkeyMaterial
KEY FldLogsRemotePlant FldLogsRemotePlant Plant
KEY RemoteStorageLocation RemoteStorageLocation
KEY FldLogsReferenceDocumentNumber FldLogsReferenceDocumentNumber Reference Doc Number
KEY ReferenceDocumentItem ReferenceDocumentItem Reference item
KEY FldLogsMaintenanceOrder FldLogsMaintenanceOrder
KEY HandlingUnitExternalID HandlingUnitExternalID Handling Unit
DeliveryDocument DeliveryDocument Outbound Delivery
HandlingUnitLowerLevelRefer HandlingUnitLowerLevelRefer
Product Product Product Sold
HandlingUnitQuantity _AggregatedQty HandlingUnitQuantity Packed Quantity
HandlingUnitQuantityUnit _AggregatedQty HandlingUnitQuantityUnit UoM of HU item
HandlingUnitNumber HandlingUnitNumber Handling Unit
HandlingUnitInternalID HandlingUnitInternalID
HandlingUnitExternalIDkeyMaterial
KEY FldLogsRemotePlant FldLogsRemotePlant Plant
KEY RemoteStorageLocation RemoteStorageLocation
KEY FldLogsReferenceDocumentNumber FldLogsReferenceDocumentNumber Reference Doc Number
KEY ReferenceDocumentItem ReferenceDocumentItem Reference item
KEY FldLogsMaintenanceOrder FldLogsMaintenanceOrder
KEY HandlingUnitExternalID HandlingUnitExternalID Handling Unit
DeliveryDocument DeliveryDocument Outbound Delivery
HandlingUnitLowerLevelRefer HandlingUnitLowerLevelRefer
Product Product Product Sold
HandlingUnitQuantity _AggregatedQty HandlingUnitQuantity Packed Quantity
HandlingUnitQuantityUnit _AggregatedQty HandlingUnitQuantityUnit UoM of HU item
HandlingUnitNumber HandlingUnitNumber Handling Unit
HandlingUnitInternalID HandlingUnitInternalID
HandlingUnitNestedInternalID HandlingUnitNestedInternalID

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_FldLogsReturnHndlgUnitExtd.
-- 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_FldLogsReturnHndlgUnitExtd AS
SELECT
  Material,
  FldLogsRemotePlant,
  RemoteStorageLocation,
  FldLogsReferenceDocumentNumber,
  ReferenceDocumentItem,
  FldLogsMaintenanceOrder,
  HandlingUnitExternalID,
  DeliveryDocument,
  HandlingUnitLowerLevelRefer,
  Product,
  HandlingUnitQuantity,
  HandlingUnitQuantityUnit,
  HandlingUnitNumber,
  HandlingUnitInternalID,
  HandlingUnitNestedInternalID AS HandlingUnitLowerLevelReferkeyMaterial,
  HandlingUnitNestedInternalID AS HandlingUnitExternalIDkeyMaterial,
  HandlingUnitNestedInternalID
FROM I_FldLogsReturnHandlingUnit AS _FldLogsReturnHandlingUnit
LEFT OUTER JOIN I_FldLogsRetHndlgUnitAggrgdQty AS _AggregatedQty ON _FldLogsReturnHandlingUnit.FldLogsReferenceDocumentNumber = _AggregatedQty.FldLogsReferenceDocumentNumber AND _FldLogsReturnHandlingUnit.HandlingUnitInternalID = _AggregatedQty.HandlingUnitLowerLevelRefer  -- association [0..1]
-- UNION ALL with additional select branch(es): I_FldLogsReturnHandlingUnit, I_FldLogsRetEWMHndlgUnitRecord
;