C_SubcontrgCockpitDelivery
Create Delivery
C_SubcontrgCockpitDelivery is a Consumption CDS View that provides data about "Create Delivery" in SAP S/4HANA. It has 3 associations to related views.
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ReqdDelivDteRngeFrmDte | vdm_shippingdate | |
| P_ReqdDelivDteRngeToDte | vdm_shippingdate |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProposedShipgPointPerPlnt | _ProposedShipgPointsPerPlnt | $projection.Plant = _ProposedShipgPointsPerPlnt.Plant and _ProposedShipgPointsPerPlnt.StorageLocation = ' ' and _ProposedShipgPointsPerPlnt.LoadingGroup = $projection.LoadingGroup and _ProposedShipgPointsPerPlnt.ShippingCondition = $projection.ShippingCondition |
| [1..1] | I_PurgDocTypeShipgData | _PurgDocTypeShipgData | $projection.Plant = _PurgDocTypeShipgData.SupplyingPlant |
| [1..1] | I_BatchPlant | _BatchPlant | P_SubcontrgCockpitDelivery.MaterialComponent = _BatchPlant.Material and P_SubcontrgCockpitDelivery.Plant = _BatchPlant.Plant and P_SubcontrgCockpitDelivery.Batch = _BatchPlant.Batch |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSUBCTRCD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Create Delivery | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | Subcontractor | Supplier | |
| KEY | Material | |||
| KEY | Plant | Plant | Valuation Area | |
| KEY | Reservation | Reservation | Reservation | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| SuplrMatlPlnt | SuplrMatlPlnt | |||
| HierarchyNodeLevel | HierarchyNodeLevel | Hierarchy Node Level | ||
| char15endasPurchasingDocument | Document | |||
| char15endasPurchasingDocumentItem | Document Item | |||
| Batch | Batch | Lot No. | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| Quantity | Pending Quantity | |||
| StockUnit | OrderQuantityUnit | Sales Unit | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| ProposedShippingPoint | _ProposedShipgPointsPerPlnt | ProposedShippingPoint | Shipping Point | |
| GoodsMovementType | ||||
| InventoryValuationType | _BatchPlant | InventoryValuationType | Valuation Type | |
| DeliveryType | _PurgDocTypeShipgData | DeliveryType | intern./extern. | |
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| ShipmentCompletionDate | ||||
| RequiredQuantity | Requirement qty | |||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| LoadingGroup | LoadingGroup | Loading Group | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| int1endasProcessingStatus | Processing Status |
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 C_SubcontrgCockpitDelivery.
-- 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: CSUBCTRCD
-- Parameters: P_ReqdDelivDteRngeFrmDte : vdm_shippingdate, P_ReqdDelivDteRngeToDte : vdm_shippingdate
CREATE VIEW C_SubcontrgCockpitDelivery AS
SELECT
Subcontractor AS Supplier,
cast ( MaterialComponent as idnrk ) AS Material,
Plant,
Reservation,
ReservationItem,
SuplrMatlPlnt,
HierarchyNodeLevel,
case when PurchasingDocumentType = 'R' then cast ('' as abap.char(15)) else cast (PurchaseOrder as abap.char(15)) end as PurchasingDocument AS char15endasPurchasingDocument,
case when PurchasingDocumentType = 'R' then cast ('' as abap.char(15)) else cast (PurchaseOrderItem as abap.char(15)) end as PurchasingDocumentItem AS char15endasPurchasingDocumentItem,
Batch,
StorageLocation,
cast (StillToBeDeliveredQuantity as abap.quan( 13, 3 )) AS Quantity,
OrderQuantityUnit AS StockUnit,
PurchasingDocumentType,
_ProposedShipgPointsPerPlnt.ProposedShippingPoint AS ProposedShippingPoint,
cast ('541' as bwart ) AS GoodsMovementType,
_BatchPlant.InventoryValuationType AS InventoryValuationType,
_PurgDocTypeShipgData.DeliveryType AS DeliveryType,
ShipToParty,
cast (ShipmentCompletionDate as abap.char(8)) AS ShipmentCompletionDate,
cast (RequiredQuantity as abap.quan( 13, 3 )) AS RequiredQuantity,
DebitCreditCode,
LoadingGroup,
ShippingCondition,
SalesOrganization,
DistributionChannel,
case when (Plant <> '' and _ProposedShipgPointsPerPlnt.ProposedShippingPoint <> '' and StillToBeDeliveredQuantity > 0 and OrderQuantityUnit <> '') then cast (1 as abap.int1) else cast (0 as abap.int1) end as ProcessingStatus AS int1endasProcessingStatus
LEFT OUTER JOIN I_ProposedShipgPointPerPlnt AS _ProposedShipgPointsPerPlnt ON Plant = _ProposedShipgPointsPerPlnt.Plant AND _ProposedShipgPointsPerPlnt.StorageLocation = ' ' AND _ProposedShipgPointsPerPlnt.LoadingGroup = LoadingGroup AND _ProposedShipgPointsPerPlnt.ShippingCondition = ShippingCondition -- association [0..1]
LEFT OUTER JOIN I_PurgDocTypeShipgData AS _PurgDocTypeShipgData ON Plant = _PurgDocTypeShipgData.SupplyingPlant -- association [1..1]
LEFT OUTER JOIN I_BatchPlant AS _BatchPlant ON P_SubcontrgCockpitDelivery.MaterialComponent = _BatchPlant.Material AND P_SubcontrgCockpitDelivery.Plant = _BatchPlant.Plant AND P_SubcontrgCockpitDelivery.Batch = _BatchPlant.Batch -- 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