P_APFutureAccountsPay5

DDL: P_APFUTUREACCOUNTSPAY5 SQL: PFIAPFUTACCTPAY5 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable. Future Accounts Payable

P_APFutureAccountsPay5 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_APFutureAccountsPay4) and exposes 15 fields. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APFutureAccountsPay4 P_APFutureAccountsPay4 from

Parameters (5)

NameTypeDefault
P_KeyDate sydate
P_NetDueInterval1InDays farp_net_due_interval1
P_NetDueInterval2InDays farp_net_due_interval2
P_NetDueInterval3InDays farp_net_due_interval3
P_NetDueInterval4InDays farp_net_due_interval4

Annotations (6)

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

Fields (15)

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

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_APFutureAccountsPay5.
-- 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: PFIAPFUTACCTPAY5
-- Parameters: P_KeyDate : sydate, P_NetDueInterval1InDays : farp_net_due_interval1, P_NetDueInterval2InDays : farp_net_due_interval2, P_NetDueInterval3InDays : farp_net_due_interval3, P_NetDueInterval4InDays : farp_net_due_interval4

CREATE VIEW P_APFutureAccountsPay5 AS
SELECT
  CompanyCode,
  Supplier,
  NetDueDate,
  NetDueOutstandingDays,
  BusinessArea,
  CompanyCodeCurrency,
  PaymentBlockingReason,
  GLAccount,
  SpecialGLCode,
  AmountInCompanyCodeCurrency,
  NumberOfOpenItems,
  cast(:P_NetDueInterval1InDays as abap.int4) AS NetDueInterval1InDays,
  cast(:P_NetDueInterval2InDays as abap.int4) AS NetDueInterval2InDays,
  cast(:P_NetDueInterval3InDays as abap.int4) AS NetDueInterval3InDays,
  cast(:P_NetDueInterval4InDays as abap.int4) AS NetDueInterval4InDays
FROM P_APFutureAccountsPay4
;