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

Lesson 4 of 6

Expected results that prove the business outcome

10 min

Listen to this lesson

0:00 / 6:34

The expected result is the part of a scenario that turns an activity into a test. Without it, the tester can only report that something happened. With it, the tester can report whether what happened is right. This lesson is about writing expected results that a process owner like Dan can rely on when he signs.

Why "saved successfully" is not an expected result

"Sales order 1000457 has been saved" tells you a document exists. It does not tell you that the price was the 240.00 USD list price, that the delivery date was confirmed, that the goods left the right plant, or that revenue posted to the right account. Most defects that reach production are of this kind: the system did something, quietly, but not the right thing. Expected results must be written so those defects fail the test.

System responseThe step completed and a document number was issued
Document contentThe document holds the expected customer, product, quantity, price, dates and org units
Status and flowThe document has the expected status and the expected successor documents exist
Accounting resultThe journal entry posts the expected G/L accounts, amounts, profit center and other assignments
Levels of expected result. Aim for the bottom layers wherever the step has a business effect.
The Sign-Off Table · thesignofftable.com/academy/sap-bku-202

Compute the numbers before you test

Expected values are worked out in advance, from the requirement and the master data, not read off the screen during the test. For Contoso's scenario O2C-010 the arithmetic is simple, and writing it down is what makes the test objective:

StepExpected result with values
Create sales orderNet price 240.00 USD per unit, the price agreed for Great Lakes Fleet Services (equal to Contoso’s list price); net value 12,000.00 USD for 50 units; schedule line confirmed for the requested date
Post goods issueStock of CMC-ALT-100 in plant 1710, storage location 171A falls by 50; journal entry debits cost of goods sold and credits finished goods inventory for 7,500.00 USD (50 × $150 standard cost)
Create billing documentInvoice for 50 units, net 12,000.00 USD; no sales tax, because Great Lakes is tax-exempt in this example (a taxable customer would need a tax line computed in advance); billing document posted to accounting
Check journal entry for billingReceivable on Great Lakes Fleet Services (17100001) of 12,000.00 USD; revenue 12,000.00 USD to the product sales revenue account; profit center CMC-FLEET
Expected results for O2C-010, matching sales order 1000457 and invoice 90001877 (illustrative course data).
The Sign-Off Table · thesignofftable.com/academy/sap-bku-202

If the Chicago data row is run, the cost of goods sold changes to 7,800.00 USD (50 × $156). This is exactly the kind of difference a weak expected result ("goods issue posted") would never catch.

Same step, different data row, different expected posting: only a result with a value catches a wrong cost.
The Sign-Off Table · thesignofftable.com/academy/sap-bku-202

Expected results for things that should not happen

Some scenarios test that the system refuses something: an order over the credit limit is blocked, a delivery cannot be created while the approval is pending, an invoice with a large price variance is blocked for payment. Here the expected result is the refusal itself, stated precisely: "Order saved with credit status blocked; delivery creation not possible; order appears in the credit manager's worklist". A scenario that expects a block and gets a clean order has failed, even though nothing went wrong from the user's point of view.

In a negative scenario the refusal is the expected result, so a smooth, error-free order is a failure.
The Sign-Off Table · thesignofftable.com/academy/sap-bku-202

Accounting results without being an accountant

Key users outside finance often hesitate to write accounting results. You do not need to know every account number. You need to know the business meaning of the posting (inventory goes down, cost of goods sold goes up), the amount (from your arithmetic) and the account or account group the finance team agreed. Ask the finance key user for a one-page posting guide per scope item and reuse it in every scenario.

Scope item stepPosting meaningExpected entry for Contoso (USD)
BD9 goods issue (movement 601)Inventory down, cost of goods sold upDr cost of goods sold 7,500.00 / Cr finished goods inventory 7,500.00, plant 1710, profit center CMC-FLEET
BD9 billingReceivable up, revenue upDr receivable 17100001 12,000.00 / Cr revenue 12,000.00, profit center CMC-FLEET
J45 goods receipt (movement 101), 500 rotorsInventory up at standard, price difference, GR/IRDr inventory 20,000.00 and price difference 1,000.00 / Cr GR/IR 21,000.00
J45 supplier invoiceGR/IR cleared, payable upDr GR/IR 21,000.00 / Cr Lakeside Components 17300001 21,000.00

A one-page posting guide in miniature: what finance agreed each step should post (illustrative course data; tax ignored)

What would you do?

During a dry run, a tester finds that the goods issue for 50 alternators from plant 1710 posted 7,800.00 USD to cost of goods sold. The scenario's expected result says 7,500.00 USD. The tester asks whether to mark it as passed "because the goods issue worked". What do you say?

Key points
  • "Saved successfully" proves a document exists, not that the business outcome is right.
  • Expected results move from system response to document content, status and flow, and accounting result.
  • Compute expected values in advance from requirements and master data.
  • For blocks and refusals, the refusal itself is the expected result.
  • Ask finance for a posting guide so every key user can write accounting results.

Check your understanding · not graded

Lesson check

  1. 1. When should expected values such as prices and posting amounts be determined?

  2. 2. What is the expected cost of goods sold for 50 alternators issued from Detroit at a $150 standard cost?

  3. 3. A scenario tests that an order over the credit limit is blocked. The order saves with no block. What is the result?

  4. 4. Which expected result is strongest for a billing step?