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

Lesson 3 of 6

Posting differences: EWM, the difference analyzer and inventory management

10 min

Listen to this lesson

0:00 / 6:24

A count difference is posted twice. First EWM corrects the bin, so the quant matches the shelf. Then the difference is cleared to inventory management, which changes the stock of plant 1710, storage location 171A, and creates a journal entry. Between the two sits the difference analyzer. Understanding this two-step design explains most questions finance asks about warehouse counts.

1. CountPI document with counted quantity 18 against book 24 in bin P-02-05
2. Post in EWMBin quant reduced to 18; difference of 6 recorded in the difference analyzer
3. Difference analyzerDifferences shown cumulatively per stock key and per causing document; netting possible
4. Clear to inventory managementMaterial document reducing 171A by 6; journal entry to inventory differences
The two postings behind one count difference.
The Sign-Off Table · thesignofftable.com/academy/sap-ewm-204

Posting in EWM

When the count is posted in Process Physical Inventory Document, EWM updates the bin. The user's posting tolerance decides whether they may post the difference; some PI areas allow simultaneous posting of small differences right after count entry. At this point warehouse stock is right, but inventory management still shows the old quantity. That is deliberate.

The difference analyzer

The difference analyzer (/SCWM/DIFF_ANALYZER) lists differences that are posted in EWM but not yet cleared. It shows them cumulatively, by product and stock, and individually, linked to the document that caused them: a count, a pick denial, a putaway exception charged to the warehouse. Why wait? Because differences often cancel out. If the 6 alternators missing from P-02-05 turn up next day in bin P-02-06 (a putaway mistake), the two differences net to zero, and nothing needs to post to finance.

The life of one difference in the analyzer: it can net out against another, clear automatically after the wait time, or wait for approval.
The Sign-Off Table · thesignofftable.com/academy/sap-ewm-204
  1. MondayCount P-02-05: 18 vs 24 → difference −6 in the analyzer
  2. TuesdayCount P-02-06: 30 vs 24 → difference +6 in the analyzer
  3. ReviewMarcus sees −6 and +6 for the same product and stock
  4. NetCumulative difference zero; nothing to post to inventory management
  5. Root causePutaway into the neighboring fixed bin; driver retrained
Why differences wait in the analyzer before reaching finance.
The Sign-Off Table · thesignofftable.com/academy/sap-ewm-204

Clearing to inventory management

Differences are cleared from the analyzer interactively or by a background job (the Post Differences to ERP System report, /SCWM/WM_ADJUST, at cumulative or item level). The difference analyzer tolerance group adds a value limit and a wait time, so small differences can clear automatically after a day while large ones wait for a person. The clearing posts a material document in inventory management with a physical-inventory-difference movement type (in standard SAP, 711 for a loss and 712 for a gain from unrestricted stock; check the movement types your system uses) and a journal entry to the inventory difference account. Tolerance checks may use prices, but the financial posting always uses the actual valuation in SAP S/4HANA.

Clearing a count difference of -6 alternators: the material document reduces 171A and the journal entry books $900 of inventory difference.
The Sign-Off Table · thesignofftable.com/academy/sap-ewm-204
StepQuantity effectValue effectWho acts
Post count in EWMBin quant 24 → 18None yetMarcus (within tolerance)
Difference waitsEWM 18, inventory management still 24None yetAnalyzer, wait time
Clear to inventory management171A reduced by 66 × $150 = $900 inventory difference expenseMarcus, or Dan above $2,500

One difference, step by step, at Detroit standard cost.

What would you do?

At month end, the difference analyzer holds 40 uncleared differences, net −$3,200. The period closes tomorrow. Dan asks what to do. What is the best answer?

What finance checks

CheckWhereExpected
Movement types used for clearingMaterial documents created by the clearing run711 (loss) / 712 (gain) for unrestricted stock, or the types your system uses
G/L account for the differenceJournal entry of the material documentInventory difference account from automatic account determination (transaction key INV), not a manual account
ValueJournal entry amountQuantity × moving or standard price per the material's valuation; for CMC-ALT-100 in Detroit, $150 standard
ApprovalAnalyzer log and approverNothing above $2,500 cleared without Dan

Dan's checks on cleared differences in each test cycle.

Key points
  • A count difference is posted in EWM first, then cleared to inventory management.
  • The difference analyzer shows cumulative and individual differences and lets them net out.
  • Clearing posts a material document (standard 711/712 for unrestricted stock) and a journal entry.
  • Tolerance groups and wait times decide what clears automatically and what needs approval.

Check your understanding · not graded

Lesson check

  1. 1. After a count is posted in EWM but before clearing, what is true?

  2. 2. Why do differences wait in the difference analyzer?

  3. 3. Which value does the financial posting of a cleared difference use?

  4. 4. What is the inventory difference for 6 alternators at Detroit standard cost?