P_SubcontrgCockpitDelivery2
P_SubcontrgCockpitDelivery2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_ProcmtDocSubcontrg) and exposes 25 fields with key fields MaterialComponent, Plant, Subcontractor, Reservation, ReservationItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProcmtDocSubcontrg | P_ProcmtDocSubcontrg | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ReqdDelivDteRngeFrmDte | vdm_shippingdate | |
| P_ReqdDelivDteRngeToDte | vdm_shippingdate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SalesArea | _SalesArea | $projection.DistributionChannel = _SalesArea.DistributionChannel and $projection.SalesOrganization = _SalesArea.SalesOrganization and $projection.Division = _SalesArea.Division |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialComponent | MaterialComponent | Vehicle Model | |
| KEY | Plant | Plant | Valuation Area | |
| KEY | Subcontractor | Subcontractor | Supplier | |
| KEY | Reservation | Reservation | Reservation | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| SuplrMatlPlnt | SuplrMatlPlnt | |||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| Division | Division | Internal Division ID | ||
| ReferenceDistributionChannel | _SalesArea | ReferenceDistributionChannel | ||
| ReferenceDivision | _SalesArea | ReferenceDivision | ||
| Customer | Customer | Sold-to Party | ||
| LoadingGroup | LoadingGroup | Loading Group | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| Batch | Batch | Lot No. | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| StillToBeDeliveredQuantity | StillToBeDeliveredQuantity | |||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| ShipmentCompletionDate | ShipmentCompletionDate | Reqmts date | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| RequiredQuantity | RequiredQuantity | Requirement qty | ||
| HierarchyNodeLevel | HierarchyNodeLevel | Hierarchy Node Level | ||
| RequirementType | RequirementType | RequirementType |
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_SubcontrgCockpitDelivery2.
-- 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.
-- Parameters: P_ReqdDelivDteRngeFrmDte : vdm_shippingdate, P_ReqdDelivDteRngeToDte : vdm_shippingdate
CREATE VIEW P_SubcontrgCockpitDelivery2 AS
SELECT
MaterialComponent,
Plant,
Subcontractor,
Reservation,
ReservationItem,
SuplrMatlPlnt,
DistributionChannel,
SalesOrganization,
Division,
_SalesArea.ReferenceDistributionChannel AS ReferenceDistributionChannel,
_SalesArea.ReferenceDivision AS ReferenceDivision,
Customer,
LoadingGroup,
PurchasingDocumentType,
PurchaseOrder,
PurchaseOrderItem,
Batch,
StorageLocation,
StillToBeDeliveredQuantity,
OrderQuantityUnit,
ShipmentCompletionDate,
DebitCreditCode,
RequiredQuantity,
HierarchyNodeLevel,
RequirementType
FROM P_ProcmtDocSubcontrg
LEFT OUTER JOIN I_SalesArea AS _SalesArea ON DistributionChannel = _SalesArea.DistributionChannel AND SalesOrganization = _SalesArea.SalesOrganization AND Division = _SalesArea.Division -- association [1..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