P_POItemGRHistory

DDL: P_POITEMGRHISTORY SQL: PPOITEMGRHIST Type: view CONSUMPTION Package: APPL_MM_PUR_DLVPRED_ML

PO Item GR History

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

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderHistory I_PurchaseOrderHistory from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PPOITEMGRHIST view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
MaterialDocument MaterialDocument Material Doc.
MaterialDocumentItem MaterialDocumentItem Material Document Item
PostingDate PostingDate Posting Date for GR

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_POItemGRHistory.
-- 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: PPOITEMGRHIST

CREATE VIEW P_POItemGRHistory AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  MaterialDocument,
  MaterialDocumentItem,
  PostingDate
FROM I_PurchaseOrderHistory
;