MMIM_Inbound_Delivery_Items

DDL: MMIM_INBOUND_DELIVERY_ITEMS SQL: MMIMINBDELITEMS Type: view

Help-View for Inbound Delivery Items

MMIM_Inbound_Delivery_Items is a CDS View that provides data about "Help-View for Inbound Delivery Items" in SAP S/4HANA. It reads from 1 data source (I_PurgDocSupplierConfirmation) and exposes 15 fields with key field PurchaseOrder. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurgDocSupplierConfirmation I_PurgDocSupplierConfirmation from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_DeliveryDocumentItem _DeliveryDocumentItem $projection.DeliveryDocument = _DeliveryDocumentItem.DeliveryDocument and $projection.DeliveryDocumentItem = _DeliveryDocumentItem.DeliveryDocumentItem
[1..1] I_ProductPlant _ProductPlant $projection.Material = _ProductPlant.Product and $projection.Plant = _ProductPlant.Plant
[1..1] Mmim_Supplier_Data _Supplier_Data $projection.Supplier = _Supplier_Data.Supplier
[1..1] I_PurchasingDocument _PurchasingDocument $projection.PurchaseOrder = _PurchasingDocument.PurchasingDocument

Annotations (9)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName MMIMINBDELITEMS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Help-View for Inbound Delivery Items view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchasingDocument Purchasing Document
PurchaseOrderItem PurchasingDocumentItem Purchasing Doc. Item
DeliveryDocument DeliveryDocument Outbound Delivery
DeliveryDocumentItem DeliveryDocumentItem Outb. Delivery Item
Supplier _PurchasingDocument Supplier Supplier
DeliveryDocumentBySupplier
Material _DeliveryDocumentItem Material Vehicle Model
DeliveryDocumentItemText _DeliveryDocumentItem DeliveryDocumentItemText
Plant _DeliveryDocumentItem Plant Valuation Area
PurchasingOrganization _PurchasingDocument PurchasingOrganization Purchasing Organization
PurchasingGroup _PurchasingDocument PurchasingGroup Purchasing Group
_DeliveryDocumentItem _DeliveryDocumentItem
_PurchasingDocument _PurchasingDocument
_ProductPlant _ProductPlant
_Supplier_Data _Supplier_Data

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 MMIM_Inbound_Delivery_Items.
-- 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: MMIMINBDELITEMS

CREATE VIEW MMIM_Inbound_Delivery_Items AS
SELECT
  PurchasingDocument AS PurchaseOrder,
  PurchasingDocumentItem AS PurchaseOrderItem,
  DeliveryDocument,
  DeliveryDocumentItem,
  _PurchasingDocument.Supplier AS Supplier,
  _DeliveryDocumentItem._DeliveryDocument.DeliveryDocumentBySupplier AS DeliveryDocumentBySupplier,
  _DeliveryDocumentItem.Material AS Material,
  _DeliveryDocumentItem.DeliveryDocumentItemText AS DeliveryDocumentItemText,
  _DeliveryDocumentItem.Plant AS Plant,
  _PurchasingDocument.PurchasingOrganization AS PurchasingOrganization,
  _PurchasingDocument.PurchasingGroup AS PurchasingGroup
FROM I_PurgDocSupplierConfirmation
LEFT OUTER JOIN I_DeliveryDocumentItem AS _DeliveryDocumentItem ON DeliveryDocument = _DeliveryDocumentItem.DeliveryDocument AND DeliveryDocumentItem = _DeliveryDocumentItem.DeliveryDocumentItem  -- association [1..1]
LEFT OUTER JOIN I_ProductPlant AS _ProductPlant ON Material = _ProductPlant.Product AND Plant = _ProductPlant.Plant  -- association [1..1]
LEFT OUTER JOIN Mmim_Supplier_Data AS _Supplier_Data ON Supplier = _Supplier_Data.Supplier  -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocument AS _PurchasingDocument ON PurchaseOrder = _PurchasingDocument.PurchasingDocument  -- association [1..1]
;