Days Payable Outstanding – Direct Method (SAP_FI_RL_DPODrctLineItem)

This analytical model is the data source for the DPO charts in the Accounts Payable page of the Working Capital Dashboard. This model provides measures of DPO and corresponding DPO 12 months before according to the direct calculation method. Direct Days Payables Outstanding (DPO) is calculated based on the period of time between posting an invoice (posting date) and actual paying for the invoice (clearing date), along with the invoice amount.

The formulas for the direct DPO calculation method are as follows:

Days Payable Outstanding Base - Direct Method (SAP_FI_HL_DaysPyblOutStdgDrctBase) returns cleared vendor items from SAP_FI_HL_JournalEntryItemOperationalView that are sales–related, for example, an invoice or credit memo. It will only return those items that are posted in the leading ledger, which is controlled with an inner join to SAP_FI_Ledger. This model includes those items which have been cleared in the past 24 months (about 2 years), counting from the value of the input parameter Key Date (P_KEYDATE) and posted before this value. It will neither return statistical items nor items from recurring documents. The view calculates the measure ClearingDays, which is the period between the clearing date and the posting date of the item and would be used in subsequent calculation of DPO in the view stack.

“Days Payable Outstanding Line Item - Direct Method” (SAP_FI_HL_DaysPyblOutStdgDrctLineItem) provides an aggregated view of the view “Days Payable Outstanding Base - Direct Method” (SAP_FI_HL_DaysPyblOutStdgDrctBase). It provides the sum of the amount in Currency Role Currency, which is exposed as “AmountInCurrencyRoleCurrency”, and the sum of the product of ClearingDays with the amount in Currency Role Currency, which is exposed as WeightedAmountInCurrencyRoleCurrency. The amounts WeightedAmountInCurrencyRoleCurrency and AmountInCurrencyRoleCurrency can be used for calculating DPO by the direct calculation method. The view provides the attributes YearMonth and SubsequentYearMonth, which are used to display DPO over the last 12 rolling months and its DPO a year before. These attributes are used to compare DPO in a calendar month for the last 12 rolling months with DPO a year before.

Days Payable Outstanding Line Item Time Series - Direct Method (SAP_FI_HL_DaysPyblOutStdgDrctLineItemTmeSers) provides a time series of the last 12 rolling calendar months from the view Calendar Month (SAP_FI_HL_CalendarMonth). Each calendar month is assigned to the aggregated amounts of cleared items AmountInCurrencyRoleCurrency and the weighted amounts "WeightedAmountInCurrencyRoleCurrency" via a join with the view “Days Payables Outstanding Line Item - Direct Method (SAP_FI_HL_DaysPyblOutStdgDrctLineItem).

The other join is by the condition that the calendar month shall be equal to the YearMonth or SubsequentYearMonth provided by “Days Payable Outstanding Line Item - Direct Method”. For the YearMonth equality condition, each calendar month is assigned the aggregated amounts of cleared items PYAmountInCurrencyRoleCurrency and the weighted amounts PYWeightedAmountInCurrencyRoleCurrency. For the SubsequentYearMonth equality condition, each calendar month is assigned to the aggregated amounts of cleared items AmountInCurrencyRoleCurrency and the weighted amounts WeightedAmountInCurrencyRoleCurrency. The model would finally provide the invoice amount and weighted amount in the last 12 rolling months per month, along with its relevant comparison a year before.

Days Payable Outstanding Line Item Cube - Direct Method (SAP_FI_HL_DPODrctLineItem) is based on “Days Payable Outstanding Line Item Time Series - Direct Method” (SAP_FI_HL_DaysPyblOutStdgDrctLineItemTmeSers). It provides the 4 aggregated amounts from the view “Days Payable Outstanding Line Item Time Series - Direct Method” (SAP_FI_HL_DaysPyblOutStdgDrctLineItemTmeSers) and adds the association to the views “Company Code” (SAP_FI_CompanyCode_V2), “Currency Role Currency” (SAP_FI_CurrencyRoleCurrency), “Time Dimension – Day” (SAP.TIME.VIEW_DIMENSION_DAY), “Profit Center” (SAP_FI_ProfitCenter_V2) and “Controlling Area” (SAP_FI_ControllingArea_V2).

Days Payable Outstanding - Direct Method (SAP_FI_RL_DPODrctLineItem) is based on the view “Days Payable Outstanding Line Item Cube - Direct Method” (SAP_FI_HL_DPODrctLineItem). In addition to the four amounts from the dependent view, it exposes the following calculated measures:

  • DPO In Currency Role (DPOInCrcyRoleCrcy) = WeightedAmountInCurrencyRoleCurrency /AmountInCurrencyRoleCurrency

  • Previous Year DPO In Currency Role (PYDPOInCrcyRoleCrcy) = PYWeightedAmountInCurrencyRoleCurrency /PYAmountInCurrencyRoleCurrency

All the views in the DPO view stack have the input parameter Key Date, from which the time series of DPO for the last 12 rolling months starts. The value for the input parameter is exposed for input in Days Payable Outstanding - Direct Method (SAP_FI_RL_DPODrctLineItem) and transferred to the underlying view throughout the whole DPO view stack.

Regarding the views from Days Payable Outstanding - Direct Method (SAP_FI_RL_DPODrctLineItem) all the way to its underlying views “Days Payable Outstanding Line Item - Direct Method” (SAP_FI_HL_DaysPyblOutStdgDrctLineItem), these views provide amount fields and a currency field that can be controlled by the attribute Currency Role Currency. Depending on the selected value of Currency Role Currency, the amount fields show Amount in Company Code Currency or Amount in Global Currency and the relevant currency code.