C_SubcontrgCockpitGoodsIss
Post Goods Issue
C_SubcontrgCockpitGoodsIss is a Consumption CDS View that provides data about "Post Goods Issue" in SAP S/4HANA. It reads from 1 data source (I_SubcontractingPurDocHier) and exposes 25 fields with key fields Material, Plant, Supplier, Reservation, ReservationItem. It is exposed through 1 OData service (ASQL_F2948). Part of development package ODATA_MM_PUR_SUBCONTRG_COCKPIT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SubcontractingPurDocHier | I_SubcontractingPurDocHier | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_ReqdDelivDteRngeFrmDte | vdm_shippingdate | |
| P_ReqdDelivDteRngeToDte | vdm_shippingdate |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSUBCTRPGI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Post Goods Issue | 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 |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2948 | ASQL_F2948 | C2 | NOT_RELEASED |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | Vehicle Model | ||
| KEY | Plant | Plant | Valuation Area | |
| KEY | Supplier | Subcontractor | Supplier | |
| KEY | Reservation | Reservation | Reservation | |
| KEY | ReservationItem | ReservationItem | Reservation Item | |
| SpecialStockIdfgWBSElement | SpecialStockIdfgWBSElement | WBS Internal ID | ||
| WBSDescription | WBSDescription | WBS Element for Special Stock | ||
| InventorySpecialStockType | InventorySpecialStockType | Special Stock Type | ||
| InventorySpecialStockTypeName | InventorySpecialStockTypeName | Special Stock Indicator for Physical Stock Transfer | ||
| SalesOrder | SalesOrder | SD Document | ||
| SalesOrderItem | SalesOrderItem | Sales Order 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 | ||
| GoodsMovementType | ||||
| ShipmentCompletionDate | Requested Delivery Date | |||
| RequiredQuantity | Requirement qty | |||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| 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_SubcontrgCockpitGoodsIss.
-- 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: CSUBCTRPGI
-- Parameters: P_ReqdDelivDteRngeFrmDte : vdm_shippingdate, P_ReqdDelivDteRngeToDte : vdm_shippingdate
CREATE VIEW C_SubcontrgCockpitGoodsIss AS
SELECT
cast ( MaterialComponent as idnrk ) AS Material,
Plant,
Subcontractor AS Supplier,
Reservation,
ReservationItem,
SpecialStockIdfgWBSElement,
WBSDescription,
InventorySpecialStockType,
InventorySpecialStockTypeName,
SalesOrder,
SalesOrderItem,
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,
cast ('541' as bwart ) AS GoodsMovementType,
cast (ShipmentCompletionDate as abap.char(8)) AS ShipmentCompletionDate,
cast (RequiredQuantity as abap.quan( 13, 3 )) AS RequiredQuantity,
DebitCreditCode,
case when (Plant <> '' and StorageLocation <> '' and StillToBeDeliveredQuantity > 0 and OrderQuantityUnit <> '') then cast (1 as abap.int1) else cast (0 as abap.int1) end as ProcessingStatus AS int1endasProcessingStatus
FROM I_SubcontractingPurDocHier
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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