P_APAGINGANALYSIS

DDL: P_APAGINGANALYSIS SQL: PAPAGINGANA Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable Aging Analysis

P_APAGINGANALYSIS is a Composite CDS View that provides data about "Accounts Payable Aging Analysis" in SAP S/4HANA. It reads from 1 data source (P_APFlexibleAging) and exposes 17 fields. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APFlexibleAging P_APFlexibleAging from

Parameters (5)

NameTypeDefault
P_KeyDate abap.dats
P_AgingGridMeasureInDays abap.int4
P_NumberOfAgingGridColumns abap.int4
P_DisplayCurrency abap.cuky
P_ExchangeRateType kurst

Annotations (6)

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

Fields (17)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
TransactionCurrency TransactionCurrency Transaction Currency
BusinessArea BusinessArea Business Area
GLAccount ReconciliationAccount Recon. account
SpecialGLCode SpecialGLCode Special G/L Ind
Supplier Supplier Supplier
PaymentMethod PaymentMethod Pymt Meth.
PaymentTerms PaymentTerms Pyt Terms
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
AgingGridColumnSequence AgingGridColumnSequence
AgingGridText AgingGridText
Country Venue: Ctry/Reg
DisplayCurrency DisplayCurrency Display Currency
CompanyCodeCurrency CompanyCodeCurrency Local Currency
ExchangeRateType ExchangeRateType Exch. Rate Type
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
AmountInDisplayCurrency_E AmountInDisplayCurrency_E

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_APAGINGANALYSIS.
-- 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: PAPAGINGANA
-- Parameters: P_KeyDate : abap.dats, P_AgingGridMeasureInDays : abap.int4, P_NumberOfAgingGridColumns : abap.int4, P_DisplayCurrency : abap.cuky, P_ExchangeRateType : kurst

CREATE VIEW P_APAGINGANALYSIS AS
SELECT
  CompanyCode,
  TransactionCurrency,
  BusinessArea,
  ReconciliationAccount AS GLAccount,
  SpecialGLCode,
  Supplier,
  PaymentMethod,
  PaymentTerms,
  AccountingDocumentCategory,
  AgingGridColumnSequence,
  AgingGridText,
  cast (Country as land1_gp) AS Country,
  DisplayCurrency,
  CompanyCodeCurrency,
  ExchangeRateType,
  AmountInCompanyCodeCurrency,
  AmountInDisplayCurrency_E
FROM P_APFlexibleAging
;