P_APFutureAccountsPay3

DDL: P_APFUTUREACCOUNTSPAY3 SQL: PFIAPFUTACCTPAY3 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable. Future Accounts Payable

P_APFutureAccountsPay3 is a Composite CDS View that provides data about "Accounts Payable. Future Accounts Payable" in SAP S/4HANA. It reads from 1 data source (P_APFutureAccountsPay2) and exposes 11 fields. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APFutureAccountsPay2 P_APFutureAccountsPay2 from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Annotations (6)

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

Fields (11)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
Supplier Supplier Supplier
NetDueDate NetDueDate Net Due Date
CompanyCodeCurrency CompanyCodeCurrency Local Currency
BusinessArea BusinessArea Business Area
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
NetDueArrearsDays
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
NumberOfOpenItems NumberOfOpenItems

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_APFutureAccountsPay3.
-- 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: PFIAPFUTACCTPAY3
-- Parameters: P_KeyDate : sydate

CREATE VIEW P_APFutureAccountsPay3 AS
SELECT
  CompanyCode,
  Supplier,
  NetDueDate,
  CompanyCodeCurrency,
  BusinessArea,
  PaymentBlockingReason,
  GLAccount,
  SpecialGLCode,
  dats_days_between(NetDueDate, :P_KeyDate) AS NetDueArrearsDays,
  AmountInCompanyCodeCurrency,
  NumberOfOpenItems
FROM P_APFutureAccountsPay2
;