C_SubcontrgCockpitGoodsIss

DDL: C_SUBCONTRGCOCKPITGOODSISS SQL: CSUBCTRPGI Type: view CONSUMPTION Package: ODATA_MM_PUR_SUBCONTRG_COCKPIT

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)

SourceAliasJoin Type
I_SubcontractingPurDocHier I_SubcontractingPurDocHier from

Parameters (2)

NameTypeDefault
P_ReqdDelivDteRngeFrmDte vdm_shippingdate
P_ReqdDelivDteRngeToDte vdm_shippingdate

Annotations (14)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
ASQL_F2948 ASQL_F2948 C2 NOT_RELEASED

Fields (25)

KeyFieldSource TableSource FieldDescription
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
;