P_APVendorOpenItems13

DDL: P_APVENDOROPENITEMS13 SQL: PFIAPVNDROPITM13 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable Vendor Open Items. Currency Conversion

P_APVendorOpenItems13 is a Composite CDS View that provides data about "Accounts Payable Vendor Open Items. Currency Conversion" in SAP S/4HANA. It reads from 1 data source (P_APVendorOpenItems12) and exposes 8 fields with key fields CompanyCode, DocumentCurrency, AccountingDocCreatedByUser, Supplier. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APVendorOpenItems12 P_APVendorOpenItems12 from

Parameters (3)

NameTypeDefault
P_Currency vdm_v_display_currency
P_ExchangeRateType kurst
P_ExchangeRateDate wwert_d

Annotations (6)

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

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY DocumentCurrency DocumentCurrency Document Currency
KEY AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
KEY Supplier Supplier
DownPaymentAmount DownPaymentAmount Downpayment
OtherPaymentAmount OtherPaymentAmount
OpenAmount OpenAmount
_DocumentCurrency _DocumentCurrency

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_APVendorOpenItems13.
-- 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: PFIAPVNDROPITM13
-- Parameters: P_Currency : vdm_v_display_currency, P_ExchangeRateType : kurst, P_ExchangeRateDate : wwert_d

CREATE VIEW P_APVendorOpenItems13 AS
SELECT
  CompanyCode,
  DocumentCurrency,
  AccountingDocCreatedByUser,
  cast(Supplier as md_supplier) AS Supplier,
  DownPaymentAmount,
  OtherPaymentAmount,
  OpenAmount
FROM P_APVendorOpenItems12
;