P_APVendorOpenItems3

DDL: P_APVENDOROPENITEMS3 SQL: PFIAPVNDROPITM3 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable Vendor Open Items. Payments Open Amounts

P_APVendorOpenItems3 is a Composite CDS View that provides data about "Accounts Payable Vendor Open Items. Payments Open Amounts" in SAP S/4HANA. It reads from 1 data source (P_APVendorOpenItems2) and exposes 10 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APVendorOpenItems2 P_APVendorOpenItems2 from

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PFIAPVNDROPITM3 view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
OpenAmount
ClearedAmount
DocumentCurrency DocumentCurrency Document Currency
Supplier Supplier Supplier
SpecialGLTransactionType SpecialGLTransactionType Transact.Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency

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_APVendorOpenItems3.
-- 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: PFIAPVNDROPITM3

CREATE VIEW P_APVendorOpenItems3 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  sum(OpenAmount) AS OpenAmount,
  sum(ClearedAmount) AS ClearedAmount,
  DocumentCurrency,
  Supplier,
  SpecialGLTransactionType,
  CompanyCodeCurrency
FROM P_APVendorOpenItems2
;