P_APVendorOpenItems4

DDL: P_APVENDOROPENITEMS4 SQL: PFIAPVNDROPITM4 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable Vendor Open Items. Payment Open Amount

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

Data Sources (1)

SourceAliasJoin Type
P_APVendorOpenItems3 ClearedPayments from

Annotations (6)

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

Fields (12)

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 OpenAmount
ClearedAmount ClearedAmount
DocumentCurrency DocumentCurrency Document Currency
Supplier Supplier Supplier
SpecialGLTransactionType SpecialGLTransactionType Transact.Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency
ABS_OpenAmount
ABS_ClearedAmount

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_APVendorOpenItems4.
-- 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: PFIAPVNDROPITM4

CREATE VIEW P_APVendorOpenItems4 AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  OpenAmount,
  ClearedAmount,
  DocumentCurrency,
  Supplier,
  SpecialGLTransactionType,
  CompanyCodeCurrency,
  ABS(ClearedPayments.OpenAmount) AS ABS_OpenAmount,
  ABS(ClearedPayments.ClearedAmount) AS ABS_ClearedAmount
FROM P_APVendorOpenItems3 AS ClearedPayments
;