Days Sales Outstanding – Direct Method (SAP_FI_RL_DSODrctLineItem)

This analytical model is the data source for the Days Sales Outstanding (DSO) charts on the Accounts Receivable page of the Working Capital Dashboard. It provides per calendar month the measures DSO, Best Possible DSO, and the DSO 12 months before. Days Sales Outstanding (DSO) is used to measure the time elapsed between the completion of a sale and the collection of the revenue, that is, the time taken to process accounts receivable items. This analytical model calculates DSO according to the direct calculation method. The direct calculation method is based on original documents. The period of time between posting an invoice (posting date) and receiving the payment for the invoice (clearing date) is calculated for the relevant document line item to provide accurate results.

The formulas for the direct calculation method are as follows:

Days Sales Outstanding Base - Direct Method (SAP_FI_HL_DaysSalesOutStdgDrctBase) returns cleared customer items from "SAP_FI_HL_JournalEntryItemOperationalView" which are sales-related, for example, invoices, credit memos, and are neither reversed nor belong to reversals. It only returns those items that are posted in the leading ledger, which is controlled via an inner join to "SAP_FI_Ledger". It only returns those items that have been cleared in the last 24 months (about 2 years), counting from the value of the input parameter “Key Date” (P_KEYDATE) and posted before the value of the Key Date input parameter. It neither returns statistical items nor items from recurring documents. The view calculates the measures ClearingDay and NetDueDays that are the lapse of time between the clearing date and the posting date of the item, respectively, the distance between the net due date and the posting date of the item. These calculated measures, ClearingDay and NetDueDays, are used for the subsequent calculation of DSO in the view stack.

“Days Sales Outstanding Line Item - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItem) provides an aggregated view on the view “Days Sales Outstanding Base - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctBase). It provides the sum of the amount in Currency Role Currency and the sum of the product of NetDueDays with the amount in Currency Role Currency exposed as "BestPossibleDSOWgtdAmtInCrcyRoleCrcy". It provides the sum of the product of ClearingDays with the amount in Currency Role Currency exposed as "ActualDSOWgtdAmtInCrcyRoleCrcy". The amounts "ActualDSOWgtdAmtInCrcyRoleCrcy" and "BestPossibleDSOWgtdAmtInCrcyRoleCrcy" can be used for calculating DSO using the direct calculation method. The view provides the attribute ClearingYearMonth, which is used to display DSO over the last 12 rolling months. The view provides the attribute SubsequentYearMonth, which is the ClearingYearMonth plus 12 months. The attribute is used to compare DSO in a calendar month for the last 12 rolling months with the DSO a year before.

The view has the input parameter “Key Date”, from which the time series of the DSO for last rolling 12 months starts. The value for the input parameter is transferred to the underlying view “Days Sales Outstanding Base - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctBase).

This view provides amount fields and a currency field that can be controlled by the Currency Role Currency attribute. 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.

Days Sales Outstanding Line Item Time Series - Direct Method (SAP_FI_HL_DaysSalesOutStdgDrctLineItemTmeSers) 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 ActualDSOWgtdAmtInCrcyRoleCrcy and BestPossibleDSOWgtdAmtInCrcyRoleCrcy via a join with the view “Days Sales Outstanding Line Item - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItem), joining by the condition that the calendar month shall be equal to the ClearingYearMonth provided by “Days Sales Outstanding Line Item - Direct Method”. Each calendar month is assigned to the aggregated amounts of cleared items PYAmountInCurrencyRoleCurrency and the weighted amounts PYActualDSOWgtdAmtInCrcyRoleCrcy and PYBestPossibleDSOWgtdAmtInCrcyRoleCrcy through an additional join with the view “Days Sales Outstanding Line Item - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItem) joining by the condition that the calendar month shall be equal to the SubsequentYearMonth provided by “Days Sales Outstanding Line Item - Direct Method”. The amounts with prefix “PY” are used to calculate DSO for the calendar month 12 months before (PY = previous year). This allows you to compare DSO for a calendar month with DSO 12 months before. For example, it allows you to compare DSO in September 2023 with the DSO value for DSO 12 months before, for example, DSO in September 2022.

The view has the input parameter Key Date, from which the time series of DSO for the last 12 rolling months starts. The value for the input parameter is transferred to the underlying view “Days Sales Outstanding Line Item - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItem).

This view provides amount fields and a currency field that can be controlled by the Currency Role Currency attribute. Depending on the selected value of Currency Role Currency, the amount fields are calculated based on the Amount in Company Code Currency or the Amount in Global Currency and the relevant currency code.

Days Sales Outstanding Line Item Cube - Direct Method (SAP_FI_HL_DSODrctLineItem) is based on “Days Sales Outstanding Line Item Time Series - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItemTmeSers). It provides the six aggregated amounts from the view “Days Sales Outstanding Line Item Time Series - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItemTmeSers) 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).

The view has the input parameter Key Date, from which the time series of DSO for the last 12 rolling months starts. The value for the input parameter is transferred to the underlying view “Days Sales Outstanding Line Item Time Series - Direct Method” (SAP_FI_HL_DaysSalesOutStdgDrctLineItemTmeSers).

This view provides 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 are calculated based on the Amount in Company Code Currency or the Amount in Global Currency and the relevant currency code.

Days Sales Outstanding - Direct Method (SAP_FI_RL_DSODrctLineItem) is based on the view “Days Sales Outstanding Line Item Cube - Direct Method” (SAP_FI_HL_DSODrctLineItem). In addition to the six amounts from the base view, it exposes the following calculated measures:

  • Actual DSO In Currency Role (ActualDSOInCrcyRoleCrcy) = ActualDSOWgtdAmtInCrcyRoleCrcy/AmountInCurrencyRoleCurrency

  • Best Possible DSO in Currency Role (BestPossibleDSOInCrcyRoleCrcy) = BestPossibleDSOWgtdAmtInCrcyRoleCrcy/AmountInCurrencyRoleCurrency

  • Previous Year Actual DSO In Currency Role (PYActualDSOInCrcyRoleCrcy) = PYActualDSOWgtdAmtInCrcyRoleCrcy/PYAmountInCurrencyRoleCurrency

It uses the association to the view Company Code (SAP_FI_CompanyCode_V2) with the additional attribute Country/Region key and the association to the view Time Dimension – Day (SAP.TIME.VIEW_DIMENSION_DAY) with several attributes relating to the first day of the calendar month.

The analytical model has a variable Key Date (P_KEYDATE), from which the time series of DSO for the last 12 rolling months starts. The value for the variable is transferred to the input parameter of the underlying view Days Sales Outstanding Line Item Cube - Direct Method” (SAP_FI_HL_DSODrctLineItem).

This model provides amount fields, calculated DSO measures, 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 and calculated DSO measures are calculated based on the Amount in Company Code Currency or the Amount in Global Currency and the relevant currency code.