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

Lesson 5 of 5

Testing QM with goods receipt

10 min

Listen to this lesson

0:00 / 5:59

QM controls are preventive: they stop bad material from being used. A test that only proves "lot created, lot accepted" misses the point. The important tests prove that rejected or uninspected material cannot be used, and that each usage decision lands stock in the right place.

SetupMaterial QM view with inspection type 01 active; inspection plan and sampling valid; UD catalog maintained
TriggerGoods receipt for a purchase order from Lakeside
LotLot created with correct origin, quantity, PO and material document reference; specifications copied
DecisionEach UD code tested with its stock posting
ControlProduction and sales cannot consume stock in inspection or blocked stock
What a goods receipt QM test covers.
The Sign-Off Table · thesignofftable.com/academy/sap-pp-205

Test cases

CaseStepsExpected result
Lot creationPost GR of 500 rotors (101) against a Lakeside POOne lot, origin 01, 500 pc; stock in quality inspection; material document referenced
No inspection typePost GR for a material without active inspection typeNo lot; stock goes straight to unrestricted use
AcceptRecord passing results; UD A1500 moved with 321; lot shows stock posting completed
RejectRecord failing results; UD R1; post to blockedStock moved with 350; blocked stock visible in stock overview
SplitUD with 497 unrestricted and 3 blockedTwo postings, quantities add up to 500
Usage blockedTry to issue inspection stock to a production orderSystem refuses: no unrestricted stock
NotificationCreate Q2 from the lot's defects; complete tasksNotification references PO and supplier; cannot close until tasks done

A minimal QM regression set for goods receipt inspection.

The negative path is the real QM test: stock in inspection or blocked must be refused when production tries to consume it.
The Sign-Off Table · thesignofftable.com/academy/sap-pp-205

Evidence

For each case keep: the purchase order and material document numbers, the inspection lot number and its status (created, results recorded, usage decision made, stock posting completed), the UD code and quality score, and the stock by stock type before and after (for example in MMBE or the stock overview apps). For the negative case, keep the error message text and the absence of a goods issue document.

  1. BeforeRotor stock in 171S: unrestricted, quality inspection and blocked quantities noted
  2. Post GRInspection stock rises by 500; lot number recorded
  3. DecideUD and stock posting; lot status recorded
  4. AfterStock by type compared with expected movement
  5. Negative checkAttempt to consume blocked stock fails as designed
Before–after evidence for one QM case.
The Sign-Off Table · thesignofftable.com/academy/sap-pp-205

In a system conversion, check the master data too. Contoso's ECC system EP1 had inspection setup on most purchased components. After each mock conversion, compare the count of materials with active inspection type 01 in CMQ with the count in ECC, and run a lot-creation test for a sample. A missing setup means rotors go straight to unrestricted stock with no inspection, and nobody notices until a bad batch reaches the line.

After every mock conversion, inspection setup is reconciled by count and then proven by creating a real lot.
The Sign-Off Table · thesignofftable.com/academy/sap-pp-205

What would you do?

All QM tests pass in CMQ, but nobody tried to issue blocked rotors to a production order. Priya asks whether the QM test cycle can be signed off. What do you recommend?

Walkthrough: the happy path with document numbers

  1. Goods receipt 5000001876 posts 500 CMC-RTR-200 against Lakeside PO 4500002246 into 171S (movement 101); lot 01 is created for 500 pieces.
  2. Check stock by type: 500 in quality inspection, 0 unrestricted (MMBE or Stock - Single Material).
  3. Record results in Record Inspection Results; all characteristics accepted.
  4. Usage decision A1 in Manage Usage Decisions; stock posting 321 for 500; status SPCO.
  5. Check stock again: 500 unrestricted. Then try the negative test on a second lot: issue its inspection stock to a production order. The system must refuse it.
Key points
  • Test lot creation, each UD code's stock posting, and the negative path that blocks consumption.
  • Evidence: PO, material document, lot number and status, UD code, stock by type before and after.
  • In a conversion, reconcile inspection setup counts between ECC and S/4HANA.
  • Notifications must link back to the lot and supplier and close only when tasks are done.

Check your understanding · not graded

Lesson check

  1. 1. Which test proves the QM control works rather than just the process?

  2. 2. What should happen at GR for a material with no active inspection type?

  3. 3. Which conversion check catches missing inspection setup?

  4. 4. Which result proves the negative QM test passed?