P_ShippingStatusCalc

DDL: P_SHIPPINGSTATUSCALC SQL: PSHIPPINGSTATUS Type: view COMPOSITE Package: ODATA_MM_PUR_SUBCONTRG_COCKPIT

Shipping Status

P_ShippingStatusCalc is a Composite CDS View that provides data about "Shipping Status" in SAP S/4HANA. It has 1 association to related views. Part of development package ODATA_MM_PUR_SUBCONTRG_COCKPIT.

Associations (1)

CardinalityTargetAliasCondition
[0..1] P_PendingQuantity _PendingQuantity $projection.Reservation = _PendingQuantity.Reservation and $projection.ReservationItem = _PendingQuantity.ReservationItem and $projection.MaterialComponent = _PendingQuantity.Material and $projection.Plant = _PendingQuantity.Plant and $projection.Subcontractor = _PendingQuantity.Supplier

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PSHIPPINGSTATUS view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY MaterialComponent I_ReservationItem Material Vehicle Model
KEY Plant I_ReservationItem Plant Valuation Area
KEY Subcontractor I_ReservationItem Supplier Supplier
KEY Reservation Reservation Reservation
KEY ReservationItem ReservationItem Reservation Item
PurchaseOrder PurchasingDocument Purchasing Document
PurchaseOrderItem PurchasingDocumentItem Purchasing Doc. Item
ScheduleLine ScheduleLine Schedule Line
StillToBeDeliveredQuantity _PendingQuantity StillToBeDeliveredQuantity
RequirementDate I_ReservationItem MatlCompRequirementDate Reqmts date
TodaysDate _PendingQuantity TodaysDate

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 P_ShippingStatusCalc.
-- 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: PSHIPPINGSTATUS

CREATE VIEW P_ShippingStatusCalc AS
SELECT
  I_ReservationItem.Material AS MaterialComponent,
  I_ReservationItem.Plant AS Plant,
  I_ReservationItem.Supplier AS Subcontractor,
  Reservation,
  ReservationItem,
  PurchasingDocument AS PurchaseOrder,
  PurchasingDocumentItem AS PurchaseOrderItem,
  ScheduleLine,
  _PendingQuantity.StillToBeDeliveredQuantity AS StillToBeDeliveredQuantity,
  I_ReservationItem.MatlCompRequirementDate AS RequirementDate,
  _PendingQuantity.TodaysDate AS TodaysDate
LEFT OUTER JOIN P_PendingQuantity AS _PendingQuantity ON Reservation = _PendingQuantity.Reservation AND ReservationItem = _PendingQuantity.ReservationItem AND MaterialComponent = _PendingQuantity.Material AND Plant = _PendingQuantity.Plant AND Subcontractor = _PendingQuantity.Supplier  -- association [0..1]
;