Deprecated PUBLIC_LOCAL_API
This CDS view is deprecated in S/4HANA. Use I_PurchaseOrderHistory instead. View all deprecated CDS views →

I_MPPOHistory

DDL: I_MPPOHISTORY SQL: IMPPOHISTORY Type: view COMPOSITE

Master Project PO History

I_MPPOHistory is a Composite CDS View that provides data about "Master Project PO History" in SAP S/4HANA. It reads from 1 data source (P_MPPurchaseOrder) and exposes 5 fields with key fields PurchaseOrder, PurchaseOrderItem.

Data Sources (1)

SourceAliasJoin Type
P_MPPurchaseOrder POHistory from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMPPOHISTORY view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Master Project PO History view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.lifecycle.successor I_PurchaseOrderHistory view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder P_MPPurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem P_MPPurchaseOrder PurchaseOrderItem Purchasing Document Item
Quantity
PurchaseOrderAmount
_PurchaseOrderItem _PurchaseOrderItem

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 I_MPPOHistory.
-- 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: IMPPOHISTORY

CREATE VIEW I_MPPOHistory AS
SELECT
  POHistory.PurchaseOrder AS PurchaseOrder,
  POHistory.PurchaseOrderItem AS PurchaseOrderItem,
  sum(POHistory.Quantity) AS Quantity,
  sum(POHistory.PurchaseOrderAmount) AS PurchaseOrderAmount
FROM P_MPPurchaseOrder AS POHistory
;