SAP Spend: Supplier Payment (RL) (SAP_X_RL_SupplierPayment)

This Cross Spend Analytical model covers:
  • Ariba Payments (Remittance advice file received from payment system)

  • SAP S/4HANA or SAP S/4HANA Cloud Payments

SAP Spend: Supplier Payment (HL) (SAP_X_HL_SupplierPayment)

This data model view covers the payment data from:

  • Ariba Payments (Remittance advice file received from payment system)

  • SAP S/4HANA or SAP S/4HANA Cloud Payments

Calculated Fields are as below:

Field Name

Formula Logic in Business Context

Duplicate Check

Set value to:

  1. Original Pay Id - Paid and No Due Date: when payment date is not blank and net due date is blank and paid amount is greater than 0

  2. Original Pay Id - Not Paid and No Due Date: when payment date is not blank and net due date is blank and paid amount is less than or equal to 0

  3. Original Pay Id - Not Paid: when payment date is blank and net due date is not blank.

  4. Original Pay Id - Not Paid and No Due Date: when payment date and net due date are blank

  5. Original Pay Id – Paid – when payment date and net due dates are not blank.

Paid Amount for Discount Invoices

ARIBA: Use Paid amount when payment status is paid, payment is for standard invoice and discount is greater than 0

SAP S/4HANA or SAP S/4HANA Cloud: Use Invoice Amount when Payment Check is not „NO PAYMENT“ and Discount amount is greater than 0

Invoice Amount for Discounted Invoices

ARIBA: Use Invoice amount when payment status is paid, payment is for standard invoice and discount is greater than 0

SAP S/4HANA or SAP S/4HANA Cloud: Use Invoice Amount when Payment Check is not „NO PAYMENT“ and Discount amount is greater than 0

Invoice Amount for Paid Invoices

Use Invoice amount when payment status is paid, payment is for standard invoice.

SAP S/4HANA or SAP S/4HANA Cloud: Use Invoice Amount when Clearing date is not blank.

Payment Check

Set value to:

ARIBA

  1. OVERPAID: When Paid amount is greater than 0 and Invoice amount < Gross amount

  2. UNDERPAID: When Paid amount is greater than 0 and Invoice amount > Gross amount

  3. PERINVOICE: When Paid amount is greater than 0 and Invoice amount = Gross amount

  4. NO PAYMENT: When Paid amount is 0

SAP S/4HANA or SAP S/4HANA Cloud

  1. PERINVOICE: When clearing date is not blank

  2. NO PAYMENT: When clearing date is blank

Invoice Purpose

Set value to:

  1. CREDIT INVOICE: When invoice is less thank 0

  2. STANDARD: for all other cases.

SAP S4HANA: Payments (HL) (SAP_PROC_S4_BI_HL_SAPPayments)

This data model view covers:

  • SAP S/4HANA or SAP S/4HANA Cloud Payments

  • Payment Terms

Calculated Fields are as below:

Field Name

Formula Logic in Business Context

Discount Lost

When Cash Discount is less than the cash discount based on the payment terms.

Expected Cash Discount = Invoice Amount * Cash Discount % (if there are more than 1 cash discount percentage, the highter value is considered for calculation)

Discount Lost Applied

If Discount Lost > 0 then value is set to true else false.

Invoice Amount for Lost Discount

Copy Invoice amount when Discount Lost > 0

Paid Amount for Lost Discount

Copy Invoice amount when Discount Lost > 0

Used following filters in the model:

Filter

Value

Paid Items Only

Clearing_Date != '' AND (AccountingDocument!=ClearingJournalEntry)