I_PurchaseOrderShipping

DDL: I_PURCHASEORDERSHIPPING SQL: IPOSHIPPING Type: view BASIC

CDS View for PO Shipping Data

I_PurchaseOrderShipping is a Basic CDS View that provides data about "CDS View for PO Shipping Data" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentShipping) and exposes 26 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentShipping I_PurchasingDocumentShipping from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_PurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[1..1] I_PurchaseOrderItem _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName IPOSHIPPING view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label CDS View for PO Shipping Data view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder Purchasing Document
KEY PurchaseOrderItem Purchasing Doc. Item
SoldToParty SoldToParty Sold-to Party
ShipToParty ShipToParty Ship-To Party (obsolete)
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
ShippingCondition ShippingCondition Shipping Conditions
ShippingPoint ShippingPoint Shipping Point
Route Route Vehicle route
LoadingGroup LoadingGroup Loading Group
TransportationGroup TransportationGroup Trans. Group
DeliveryPriority DeliveryPriority Delivery Prior.
ShippingType ShippingType Shipping Type
UnloadingPointName UnloadingPointName Unloading Point Name
DeliveryCreationDate DeliveryCreationDate Delivery Date
PlannedDeliveryDuration PlannedDeliveryDuration Pl. Deliv. Time
_PurchaseOrder _PurchaseOrder
_PurchaseOrderItem _PurchaseOrderItem
_ShipToParty _ShipToParty
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_OrganizationDivision _OrganizationDivision
_ShippingCondition _ShippingCondition
_ShippingPoint _ShippingPoint
_ShippingType _ShippingType

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_PurchaseOrderShipping.
-- 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: IPOSHIPPING

CREATE VIEW I_PurchaseOrderShipping AS
SELECT
  cast (PurchasingDocument as vdm_purchaseorder preserving type) AS PurchaseOrder,
  cast (PurchasingDocumentItem as vdm_purchaseorderitem preserving type) AS PurchaseOrderItem,
  SoldToParty,
  ShipToParty,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  ShippingCondition,
  ShippingPoint,
  Route,
  LoadingGroup,
  TransportationGroup,
  DeliveryPriority,
  ShippingType,
  UnloadingPointName,
  DeliveryCreationDate,
  PlannedDeliveryDuration
FROM I_PurchasingDocumentShipping
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [1..1]
LEFT OUTER JOIN I_PurchaseOrderItem AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem  -- association [1..1]
;