P_PurOrdItemNetAmntInClntCurr

DDL: P_PURORDITEMNETAMNTINCLNTCURR SQL: PMMPOIAMNTCLCU Type: view COMPOSITE Package: VDM_MM_PUR_PO

Net amount on item level in client currency

P_PurOrdItemNetAmntInClntCurr is a Composite CDS View that provides data about "Net amount on item level in client currency" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrderItemOverdue) and exposes 5 fields with key fields PurchaseOrder, PurchaseOrderItem, ScheduleLine. Part of development package VDM_MM_PUR_PO.

Data Sources (1)

SourceAliasJoin Type
I_PurchaseOrderItemOverdue OverduePOItems from

Annotations (7)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PMMPOIAMNTCLCU view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY ScheduleLine ScheduleLine Schedule Line
OverdueDays I_PurchaseOrderItemOverdue OverdueDays
OpenPurchaseOrderNetAmountInCC

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_PurOrdItemNetAmntInClntCurr.
-- 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: PMMPOIAMNTCLCU

CREATE VIEW P_PurOrdItemNetAmntInClntCurr AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  ScheduleLine,
  OverduePOItems.OverdueDays AS OverdueDays,
  cast( OverduePOItems.OpenPurchaseOrderNetAmount as abap.curr( 15, 3 ) )*cast( ExRateByCurr.ExchangeRateByCurrency as abap.curr( 15, 3 ) ) AS OpenPurchaseOrderNetAmountInCC
FROM I_PurchaseOrderItemOverdue AS OverduePOItems
;