I_MRPOutboundDelivery

DDL: I_MRPOUTBOUNDDELIVERY SQL: IMRPOUTBNDDEL Type: view COMPOSITE

MRP Outbound Delivery

I_MRPOutboundDelivery is a Composite CDS View that provides data about "MRP Outbound Delivery" in SAP S/4HANA. It reads from 1 data source (I_OutboundDeliveryItem) and exposes 64 fields with key fields Delivery, DeliveryItem. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_OutboundDeliveryItem I_OutboundDeliveryItem from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_OutboundDelivery _OutboundDelivery $projection.Delivery = _OutboundDelivery.OutboundDelivery
[0..1] I_UnitOfMeasure _BaseUnit $projection.BaseUnit = _BaseUnit.UnitOfMeasure
[0..1] I_UnitOfMeasure _SalesUnit $projection.SalesUnit = _SalesUnit.UnitOfMeasure
[0..1] I_WBSElement _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMRPOUTBNDDEL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label MRP Outbound Delivery view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #REQUIRED view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY Delivery OutboundDelivery LE Delivery
KEY DeliveryItem OutboundDeliveryItem Logistics Execution Delivery Item
DeliveryType _OutboundDelivery DeliveryDocumentType Delivery Type
DocumentDate _OutboundDelivery DocumentDate Journal Entry Date
ReferenceDocument ReferenceSDDocument Reference Doc.
ReferenceDocumentItem ReferenceSDDocumentItem Reference Item
MRPPlant Plant Valuation Area
MRPPlantName _Plant PlantName Plant Name
Material Material Vehicle Model
MaterialName
MaterialGroup MaterialGroup Product Group
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
InventorySpecialStockType InventorySpecialStockType Special Stock Type
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElementExternalID
WBSElementObject _WBSElement WBSElementObject Object number
WBSElementDescription
WBSDescription _WBSElement WBSDescription WBS Element Name
ProjectExternalID
ProjectDescription
MaterialByCustomer MaterialByCustomer Customer Mat.
SalesOrder
SalesOrderItem 0
SalesOrderType
SalesOrderItemMaterial
SalesOrganization _OutboundDelivery SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
CustomerGroup _OutboundDelivery CustomerGroup Customer Group
Customer _OutboundDelivery ShipToParty Ship-To Party (obsolete)
CustomerName
ContactPersonName
ContactPersonPhoneNumber
DeliveryBlockReason _OutboundDelivery DeliveryBlockReason Delivery Block
DeliveryBlockReasonText
DeliveryPriority _OutboundDelivery DeliveryPriority Delivery Prior.
DeliveryPriorityDesc
CompleteDeliveryIsDefined _OutboundDelivery CompleteDeliveryIsDefined Complete Dlv.
MaxNumberOfPartialDelivery
RequestedDeliveryDate _OutboundDelivery DeliveryDate Delivery Date
RequestedLoadingDate _OutboundDelivery LoadingDate Loading Date
RequestedGoodsIssueDate _OutboundDelivery PlannedGoodsIssueDate
ProductAvailabilityDate ProductAvailabilityDate Mat.Avail.Date
BaseUnit BaseUnit Unit of Measure
DeliveredQuantityInBaseUnit ActualDeliveredQtyInBaseUnit
SalesUnit DeliveryQuantityUnit Unit of measure
DeliveredQuantityInSalesUnit ActualDeliveryQuantity Base quantity
ReferenceSDDocument ReferenceSDDocument Reference Doc.
_BaseUnit _BaseUnit
_SalesUnit _SalesUnit
_OutboundDelivery _OutboundDelivery
_WBSElement _WBSElement
_DeliveryPriority _OutboundDelivery _DeliveryPriority
_DeliveryBlockReason _OutboundDelivery _DeliveryBlockReason
_ShipToParty _OutboundDelivery _ShipToParty
_DeliveryDocumentType _OutboundDelivery _DeliveryDocumentType
_Plant _Plant
_ReferenceSDDocument _ReferenceSDDocument
_Material _Material
_DeliveryQuantityUnit _DeliveryQuantityUnit
_ReferenceSalesDocumentItem _ReferenceSalesDocumentItem
_ReferenceSDDocumentCategory _ReferenceSDDocumentCategory

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_MRPOutboundDelivery.
-- 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: IMRPOUTBNDDEL

CREATE VIEW I_MRPOutboundDelivery AS
SELECT
  OutboundDelivery AS Delivery,
  OutboundDeliveryItem AS DeliveryItem,
  _OutboundDelivery.DeliveryDocumentType AS DeliveryType,
  _OutboundDelivery.DocumentDate AS DocumentDate,
  ReferenceSDDocument AS ReferenceDocument,
  ReferenceSDDocumentItem AS ReferenceDocumentItem,
  Plant AS MRPPlant,
  _Plant.PlantName AS MRPPlantName,
  Material,
  _Material._Text[1: Language = $session.system_language ].MaterialName AS MaterialName,
  MaterialGroup,
  StorageLocation,
  Batch,
  InventorySpecialStockType,
  ReferenceSDDocumentCategory,
  WBSElementInternalID,
  cast ( _WBSElement.WBSElement as ps_posid_edit preserving type ) AS WBSElementExternalID,
  _WBSElement.WBSElementObject AS WBSElementObject,
  _WBSElement._WBSElementLangBsdDesc[1: Language = $session.system_language ].WBSElementLangBsdDescription AS WBSElementDescription,
  _WBSElement.WBSDescription AS WBSDescription,
  cast ( _WBSElement.Project as ps_pspid_edit preserving type ) AS ProjectExternalID,
  _WBSElement._Project.ProjectDescription AS ProjectDescription,
  MaterialByCustomer,
  '' AS SalesOrder,
  0 AS SalesOrderItem,
  '' AS SalesOrderType,
  '' AS SalesOrderItemMaterial,
  _OutboundDelivery.SalesOrganization AS SalesOrganization,
  DistributionChannel,
  Division,
  _OutboundDelivery.CustomerGroup AS CustomerGroup,
  _OutboundDelivery.ShipToParty AS Customer,
  _OutboundDelivery._ShipToParty.CustomerName AS CustomerName,
  _OutboundDelivery._ShipToParty.CustomerFullName AS ContactPersonName,
  _OutboundDelivery._ShipToParty._StandardAddress.PhoneNumber AS ContactPersonPhoneNumber,
  _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,
  ReferenceSDDocument,
  _OutboundDelivery._DeliveryPriority AS _DeliveryPriority,
  _OutboundDelivery._DeliveryBlockReason AS _DeliveryBlockReason,
  _OutboundDelivery._ShipToParty AS _ShipToParty,
  _OutboundDelivery._DeliveryDocumentType AS _DeliveryDocumentType
FROM I_OutboundDeliveryItem
LEFT OUTER JOIN I_OutboundDelivery AS _OutboundDelivery ON Delivery = _OutboundDelivery.OutboundDelivery  -- association [1..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_WBSElement AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
;