P_APVendorOpenItems7

DDL: P_APVENDOROPENITEMS7 SQL: PFIAPVNDROPITM7 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable Vendor Open Items. Open Amount

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

Data Sources (1)

SourceAliasJoin Type
P_APVendorOpenItems6 P_APVendorOpenItems6 from

Annotations (6)

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

Fields (11)

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 Local Crcy Amt
ClearedAmount
DocumentCurrency DocumentCurrency Document Currency
Supplier Supplier Supplier
SpecialGLTransactionType SpecialGLTransactionType Transact.Type
CompanyCodeCurrency CompanyCodeCurrency Local Currency
_AccountingDocumentHeader _AccountingDocumentHeader

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_APVendorOpenItems7.
-- 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: PFIAPVNDROPITM7

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