P_APDaysPayOutst3

DDL: P_APDAYSPAYOUTST3 SQL: PFIAP_DPO3 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Accounts Payable. Days Payable Outstanding

P_APDaysPayOutst3 is a Composite CDS View that provides data about "Accounts Payable. Days Payable Outstanding" in SAP S/4HANA. It reads from 1 data source (P_APDaysPayOutst2) and exposes 6 fields. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APDaysPayOutst2 P_APDaysPayOutst2 from

Parameters (2)

NameTypeDefault
P_ExchangeRateDate hr_curdate
P_DateTo hrenddate

Annotations (6)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
CompanyCode CompanyCode Receiver Company Code
Supplier Supplier Supplier
ClearingDays ClearingDays
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCoCdCurrency AmountInCoCdCurrency
WeightedAmount

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_APDaysPayOutst3.
-- 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: PFIAP_DPO3
-- Parameters: P_ExchangeRateDate : hr_curdate, P_DateTo : hrenddate

CREATE VIEW P_APDaysPayOutst3 AS
SELECT
  CompanyCode,
  Supplier,
  ClearingDays,
  CompanyCodeCurrency,
  AmountInCoCdCurrency,
  AmountInCoCdCurrency * cast( ClearingDays as abap.int2) AS WeightedAmount
FROM P_APDaysPayOutst2
;