P_CntrlPOItemGRQuantity

DDL: P_CNTRLPOITEMGRQUANTITY SQL: PCPOIRQQNTY Type: view CONSUMPTION Package: ODATA_MM_PUR_HUB_PO_ANA

Central PO Item GR Quantity

P_CntrlPOItemGRQuantity is a Consumption CDS View that provides data about "Central PO Item GR Quantity" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurOrderScheduleLine) and exposes 5 fields with key fields PurchaseOrder, PurchaseOrderItem, ExtSourceSystem. Part of development package ODATA_MM_PUR_HUB_PO_ANA.

Data Sources (1)

SourceAliasJoin Type
I_CntrlPurOrderScheduleLine I_CntrlPurOrderScheduleLine from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCPOIRQQNTY view
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Central PO Item GR Quantity view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ExtSourceSystem ExtSourceSystem Connected System ID
GoodsReceiptQuantity
OpenPurchaseOrderQuantity

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_CntrlPOItemGRQuantity.
-- 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: PCPOIRQQNTY

CREATE VIEW P_CntrlPOItemGRQuantity AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ExtSourceSystem,
  sum(GoodsReceiptQuantity) AS GoodsReceiptQuantity,
  sum(OpenPurchaseOrderQuantity) AS OpenPurchaseOrderQuantity
FROM I_CntrlPurOrderScheduleLine
;