I_OutboundDeliveryQuickView

DDL: I_OUTBOUNDDELIVERYQUICKVIEW SQL: IOUTBDQV Type: view COMPOSITE Package: ODATA_PP_DD_ORD_DET

Outbound Delivery Details

I_OutboundDeliveryQuickView is a Composite CDS View that provides data about "Outbound Delivery Details" in SAP S/4HANA. It reads from 2 data sources (I_OutboundDelivery, I_OutboundDeliveryItem) and exposes 42 fields with key fields Delivery, DeliveryItem. It has 4 associations to related views. Part of development package ODATA_PP_DD_ORD_DET.

Data Sources (2)

SourceAliasJoin Type
I_OutboundDelivery _OutboundDelivery inner
I_OutboundDeliveryItem Item from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_CustomerMaterial_2 _Customer1 $projection.SalesOrganization = _Customer1.SalesOrganization and $projection.DistributionChannel = _Customer1.DistributionChannel and $projection.Customer = _Customer1.Customer and $projection.Material = _Customer1.Product
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _SalesUnit $projection.SalesUnit = _SalesUnit.UnitOfMeasure
[0..1] I_SDDocumentCompletePartners _CP $projection.Delivery = _CP.SDDocument and _CP.PartnerFunction = 'AP'

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IOUTBDQV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Outbound Delivery Details view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY Delivery I_OutboundDeliveryItem OutboundDelivery LE Delivery
KEY DeliveryItem I_OutboundDeliveryItem OutboundDeliveryItem Logistics Execution Delivery Item
DeliveryType I_OutboundDelivery DeliveryDocumentType Delivery Type
DocumentDate I_OutboundDelivery DocumentDate Journal Entry Date
ReferenceDocument ReferenceSDDocument Reference Doc.
ReferenceDocumentItem ReferenceSDDocumentItem Reference Item
SalesDocumentType _ReferenceSDDocument SalesDocumentType Sales Doc. Type
Material Material Vehicle Model
MRPPlant Plant Valuation Area
MRPPlantName _Plant PlantName Plant Name
MaterialGroup MaterialGroup Product Group
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
InventorySpecialStockType InventorySpecialStockType Special Stock Type
MaterialByCustomer _Customer1 MaterialByCustomer Customer Mat.
CustomerMaterialBaseUnit _Customer1 BaseUnit Unit of Measure
MinDeliveryQtyInBaseUnit _Customer1 MinDeliveryQtyInBaseUnit Min. Dely Qty
SalesOrganization I_OutboundDelivery SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
CustomerGroup I_OutboundDelivery CustomerGroup Customer Group
Customer I_OutboundDelivery ShipToParty Ship-To Party (obsolete)
BPCustomerName
ContactPersonName
PhoneNumberendasContactPersonPhoneNumber
DeliveryBlockReason I_OutboundDelivery DeliveryBlockReason Delivery Block
DeliveryBlockReasonText
DeliveryPriority I_OutboundDelivery DeliveryPriority Delivery Prior.
DeliveryPriorityDesc
CompleteDeliveryIsDefined I_OutboundDelivery CompleteDeliveryIsDefined Complete Dlv.
MaxNumberOfPartialDelivery
RequestedDeliveryDate I_OutboundDelivery DeliveryDate Delivery Date
RequestedLoadingDate I_OutboundDelivery LoadingDate Loading Date
RequestedGoodsIssueDate I_OutboundDelivery PlannedGoodsIssueDate
ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
BaseUnit BaseUnit Unit of Measure
DeliveredQuantityInBaseUnit ActualDeliveredQtyInBaseUnit
SalesUnit DeliveryQuantityUnit Unit of measure
DeliveredQuantityInSalesUnit ActualDeliveryQuantity Base quantity
_BaseUnit _BaseUnit
_SalesUnit _SalesUnit
_OutboundDelivery _OutboundDelivery

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_OutboundDeliveryQuickView.
-- 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: IOUTBDQV

CREATE VIEW I_OutboundDeliveryQuickView AS
SELECT
  Item.OutboundDelivery AS Delivery,
  Item.OutboundDeliveryItem AS DeliveryItem,
  _OutboundDelivery.DeliveryDocumentType AS DeliveryType,
  _OutboundDelivery.DocumentDate AS DocumentDate,
  ReferenceSDDocument AS ReferenceDocument,
  ReferenceSDDocumentItem AS ReferenceDocumentItem,
  _ReferenceSDDocument.SalesDocumentType AS SalesDocumentType,
  Material,
  Plant AS MRPPlant,
  _Plant.PlantName AS MRPPlantName,
  MaterialGroup,
  StorageLocation,
  Batch,
  InventorySpecialStockType,
  _Customer1.MaterialByCustomer AS MaterialByCustomer,
  _Customer1.BaseUnit AS CustomerMaterialBaseUnit,
  _Customer1.MinDeliveryQtyInBaseUnit AS MinDeliveryQtyInBaseUnit,
  _OutboundDelivery.SalesOrganization AS SalesOrganization,
  DistributionChannel,
  Division,
  _OutboundDelivery.CustomerGroup AS CustomerGroup,
  _OutboundDelivery.ShipToParty AS Customer,
  _OutboundDelivery._ShipToParty.BPCustomerName AS BPCustomerName,
  concat_with_space(_CP._ContactPerson.FirstName, _CP._ContactPerson.LastName,1) AS ContactPersonName,
  case when _CP._Address._DefaultPhoneNumber.PhoneNumber <> '' then concat_with_space(_CP._Address._DefaultPhoneNumber.PhoneNumber,_CP._Address._DefaultPhoneNumber.PhoneNumberExtension,1) else _OutboundDelivery._ShipToParty._StandardAddress.PhoneNumber end as ContactPersonPhoneNumber AS PhoneNumberendasContactPersonPhoneNumber,
  _OutboundDelivery.DeliveryBlockReason AS DeliveryBlockReason,
  _OutboundDelivery._DeliveryBlockReason._Text[1: Language = $session.system_language ].DeliveryBlockReasonText AS DeliveryBlockReasonText,
  _OutboundDelivery.DeliveryPriority AS DeliveryPriority,
  _OutboundDelivery._DeliveryPriority._Text[1: Language = $session.system_language ].DeliveryPriorityDesc AS DeliveryPriorityDesc,
  _OutboundDelivery.CompleteDeliveryIsDefined AS CompleteDeliveryIsDefined,
  _OutboundDelivery.DeliveryDate AS RequestedDeliveryDate,
  _OutboundDelivery.LoadingDate AS RequestedLoadingDate,
  _OutboundDelivery.PlannedGoodsIssueDate AS RequestedGoodsIssueDate,
  ProductAvailabilityDate,
  BaseUnit,
  ActualDeliveredQtyInBaseUnit AS DeliveredQuantityInBaseUnit,
  DeliveryQuantityUnit AS SalesUnit,
  ActualDeliveryQuantity AS DeliveredQuantityInSalesUnit
FROM I_OutboundDeliveryItem AS Item
INNER JOIN I_OutboundDelivery AS _OutboundDelivery ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CustomerMaterial_2 AS _Customer1 ON SalesOrganization = _Customer1.SalesOrganization AND DistributionChannel = _Customer1.DistributionChannel AND Customer = _Customer1.Customer AND Material = _Customer1.Product  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _BaseUnit ON BaseUnit = _BaseUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _SalesUnit ON SalesUnit = _SalesUnit.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentCompletePartners AS _CP ON Delivery = _CP.SDDocument AND _CP.PartnerFunction = 'AP'  -- association [0..1]
;