P_ShippingStatusCalc
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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA