P_APFutureAccountsPay4

DDL: P_APFUTUREACCOUNTSPAY4 SQL: PFIAPFUTACCTPAY4 Type: view COMPOSITE

P_APFutureAccountsPay4 is a Composite CDS View in SAP S/4HANA. It reads from 7 data sources and exposes 65 fields.

Data Sources (7)

SourceAliasJoin Type
I_ReceivablesPayablesItem Intvl1Zeros union_all
I_ReceivablesPayablesItem Intvl2Zeros union_all
I_ReceivablesPayablesItem Intvl3Zeros union_all
I_ReceivablesPayablesItem Intvl4Zeros union_all
I_ReceivablesPayablesItem LastIntvlZeros union_all
I_ReceivablesPayablesItem OverdueZeros union_all
P_APFutureAccountsPay3 P_APFutureAccountsPay3 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 PFIAPFUTACCTPAY4 view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (65)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
Supplier Supplier Supplier
NetDueDate NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
Supplier Creditor Supplier
NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
Supplier Creditor Supplier
NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
Supplier Creditor Supplier
NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
Supplier Creditor Supplier
NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
Supplier Creditor Supplier
NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
Supplier Creditor Supplier
NetDueDate Net Due Date
NetDueOutstandingDays
BusinessArea BusinessArea Business Area
CompanyCodeCurrency CompanyCodeCurrency Local Currency
PaymentBlockingReason PaymentBlockingReason Pmnt block
GLAccount GLAccount General Ledger
SpecialGLCode SpecialGLCode Special G/L Ind
AmountInCompanyCodeCurrency
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_APFutureAccountsPay4.
-- 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: PFIAPFUTACCTPAY4
-- 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_APFutureAccountsPay4 AS
SELECT
  CompanyCode,
  Supplier,
  NetDueDate,
  - NetDueArrearsDays AS NetDueOutstandingDays,
  BusinessArea,
  CompanyCodeCurrency,
  PaymentBlockingReason,
  GLAccount,
  SpecialGLCode,
  - AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  cast( 0 as abap.int4 ) AS NumberOfOpenItems
FROM P_APFutureAccountsPay3
-- UNION ALL with additional select branch(es): I_ReceivablesPayablesItem, I_ReceivablesPayablesItem, I_ReceivablesPayablesItem, I_ReceivablesPayablesItem, I_ReceivablesPayablesItem, I_ReceivablesPayablesItem
;