Now accepting guest editorial from SAP, Oracle, Workday and ServiceNow practitioners.Pitch a guide
The Sign-Off Table

Lesson 6 of 6

Testing payments

7 min

The payment run is one of the few SAP processes that sends money out of the company. A defect in it is not a wrong report; it is cash paid to the wrong party, twice, or late. Testing it well means covering the logic (what gets paid, when and with what discount), the controls (what must not be paid) and the output (what the bank receives). It also means doing it safely: test runs in QAS client 100 must never reach a real bank.

Build the test matrix

Start from the risks, not from the screens. Each row below is a test case with a hand-calculated expected result written before execution.

Test caseSetupExpected result
Discount on the last dayInvoice 2/10 net 30, run posting date = baseline + 10Paid with 2% discount
Discount missed by one daySame, posting date = baseline + 11Paid at net amount, or left until due if next payment date allows
Due before next runNet due date falls between run date and next payment datePaid in this run
Not yet dueNet due date after next payment dateNot proposed
Blocked itemInvoice with block ANot paid; listed as blocked or exception
Blocked supplierSupplier-level blockNo items paid for that supplier
Missing bank detailsNew supplier without bank accountException with bank details message
Debit balanceCredit memo larger than open invoicesException, no payment
Credit memo offsetInvoice 5,000, linked credit memo 1,000One payment of 4,000 clearing both
Foreign currencyInvoice in CAD to a Canadian supplierPayment in CAD from the right house bank; exchange difference posted correctly
Entered after cutoffInvoice entered after documents entered up toNot selected

A starter test matrix for the payment run.

Low likelihood, low impactRare fields such as payment advice text; spot-check
High likelihood, low impactDiscount day boundaries on small invoices; automate if possible
Low likelihood, high impactDebit balances, method limits, foreign currency bank choice; test explicitly
High likelihood, high impactDue-date selection, blocks, bank details, duplicate prevention; test every release
Prioritizing payment test cases by likelihood and impact.
The Sign-Off Table · thesignofftable.com/academy/sap-fin-203

Test the bank file, not just the posting

Many projects test that the payment documents posted and stop there. The bank file is where real errors hide: a wrong account number format, a missing remittance reference, a value date in the past, an amount with the wrong decimal separator. Compare the file with the payment list line by line for a few payments, and check the totals and record counts for the whole file. If the bank provides a test channel or validation service, use it, with explicit agreement from the bank and treasury. Otherwise keep the file inside the test environment.

  • Count of payments and total amount in the file equal the payment run totals.
  • Supplier name, bank account and routing data match the business partner.
  • Amount and currency per payment match the payment document.
  • Remittance information lists the invoices paid, so the supplier can apply cash.
  • Debtor account is the house bank account chosen by bank determination.
  • Requested execution or value date is the expected date.

Evidence

  1. BeforeExpected resultsHand-calculated due dates, discounts and amounts for each case; signed off by Dan
  2. ProposalProposal list and exception listExported with the run date and identification
  3. Payment runPayment documents and cleared itemsManage Supplier Line Items view of cleared items with clearing document
  4. MediumBank file content checkTotals, counts and sampled records compared with the payment list
  5. AfterDefects and retestsEach mismatch logged, fixed and retested with new evidence
Evidence collected across one payment run test.
The Sign-Off Table · thesignofftable.com/academy/sap-fin-203

What would you do?

During regression testing, Priya's team finds that one supplier in Canada was paid in USD from the US house bank instead of in CAD from the Canadian account. The posting looks correct and the cleared items are fine. The release is in two days. What should she do?

Key points
  • Write expected due dates, discounts and amounts by hand before running tests.
  • Cover boundaries, blocks, exceptions, credit memos, foreign currency and selection cutoffs.
  • Check the bank file content and totals, not only the postings.
  • Never let a test payment file reach a real bank.
  • Evidence: proposal and exception lists, payment documents, cleared items, file comparison.

Check your understanding · not graded

Lesson check

  1. 1. Which test proves the discount boundary works?

  2. 2. What should be compared to validate the bank file?

  3. 3. A credit memo of 1,000 is linked to an invoice of 5,000. What should the run pay?

  4. 4. What must be confirmed before payment testing in QAS?