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

P_PurchaseOrderHistInvoiceAmt

DDL: P_PURCHASEORDERHISTINVOICEAMT SQL: PPURORDHISINVAMT Type: view CONSUMPTION

Purchase Order History Invoice Amount

P_PurchaseOrderHistInvoiceAmt is a Consumption CDS View that provides data about "Purchase Order History Invoice Amount" in SAP S/4HANA. It reads from 1 data source (P_PurchaseOrderHistCnvrtdAmt) and exposes 2 fields with key fields PurchaseOrder, PurchaseOrderItem.

Data Sources (1)

SourceAliasJoin Type
P_PurchaseOrderHistCnvrtdAmt P_PurchaseOrderHistCnvrtdAmt from

Parameters (1)

NameTypeDefault
P_DisplayCurrency displaycurrency

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PPURORDHISINVAMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.status #DEPRECATED view
EndUserText.label Purchase Order History Invoice Amount view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item

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_PurchaseOrderHistInvoiceAmt.
-- 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: PPURORDHISINVAMT
-- Parameters: P_DisplayCurrency : displaycurrency

CREATE VIEW P_PurchaseOrderHistInvoiceAmt AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem
FROM P_PurchaseOrderHistCnvrtdAmt
;