Lesson 3 of 6
Testing manufacturing period-end
8 min
Listen to this lesson
For a manufacturer like Contoso, the largest period-end postings outside the general ledger come from production orders. Production order 1001200 builds 500 CMC-ALT-100 alternators in plant 1710. During the month it collects the components issued, the labor and machine time confirmed, and the credit for the goods received into stock. At period end, controlling turns those costs into overhead, work in process (WIP) or variances and settles them to the balance sheet and the P&L. Errors here move margin, inventory and cost of goods sold, often without any error message.
The order close sequence
With period-end costing, each order runs through the same steps in a fixed order: overhead calculation (collective CO43), WIP calculation (KKAO) for orders still in process, variance calculation (KKS1) for orders that are finally delivered or technically completed, and settlement (CO88, or KO88 for a single order). The order status decides which result an order gets: while it is open, its balance is WIP; once it has status DLV or TECO, the WIP is cancelled and the remaining balance is a variance. Check the Fiori job templates in your app library for the same steps.
A worked example: production order 1001200
Write the expected values before the mock close, from the standard cost estimate and the test inputs. CMC-ALT-100 has a Detroit standard of 150.00, so the target cost for 500 pieces is 75,000.00. The test plants two deviations: three extra rotors issued (scrap at the line) and ten extra hours of assembly labor at work center ASSY-10.
| Cost component | Target (500 pc) | Actual (test inputs) | Expected variance |
|---|---|---|---|
| Material | 40,000.00 | 40,120.00 (3 extra rotors at 40.00) | 120.00 |
| Material overhead 10% | 4,000.00 | 4,012.00 | 12.00 |
| Labor ASSYHR at 52.00/h | 13,000.00 (250 h) | 13,520.00 (260 h) | 520.00 |
| Machine MACHHR at 96.00/h | 12,000.00 (125 h) | 12,000.00 (125 h) | 0.00 |
| Production overhead 24% | 6,000.00 | 6,124.80 | 124.80 |
| Total | 75,000.00 | 75,776.80 | 776.80 |
Expected result for order 1001200 using Contoso's cost canon; the extra rotors and labor hours are planted test inputs.
The goods receipt of 500 pieces credits the order with 500 × 150.00 = 75,000.00, so after the order is delivered its balance is the 776.80 variance. Settlement must post exactly that amount to the production variance accounts, update the material ledger and, if Contoso uses margin analysis for variances, show it by cost component, and leave the order balance at zero. A result of 776.79 or 776.81 is a defect to explain, not a rounding detail.
Test cases that cover the logic
- Delivered, no deviation. An order confirmed and received exactly to plan: expected variance 0.00. It proves the target cost and the overhead rates.
- Delivered with deviations. Order 1001200 above: expected variance 776.80, split by cost component.
- Open across period end. An order half confirmed at cutoff: WIP posts to the balance sheet, then reverses in the next period when the order is delivered.
- Technically completed with a shortfall. An order stopped after 480 pieces: the costs of the missing 20 become variance, not WIP.
- Converted open orders. Orders open in EP1 at conversion carry their costs into SAP S/4HANA. Include some in Mock 2, together with materials whose production versions the conversion generated.
What would you do?
In Contoso's mock close, order 1001200 still shows a balance of 776.80 after settlement, and the posting went to a WIP account on the balance sheet. The order was received in full on the 29th. What should the tester check first?
- Order close runs overhead, WIP, variances and settlement in that order; the order status decides WIP or variance.
- Write expected WIP and variances from the standard cost and planted test inputs, to the cent.
- Cover delivered, open, technically completed and converted orders.
- Confirm whether each order type uses period-end or event-based posting before writing expectations.
Check your understanding · not graded
Lesson check
1. Order 1001200 is still in process at period end. What does period-end costing calculate for it?
2. Target cost for 500 CMC-ALT-100 at the 150.00 standard is 75,000.00 and actual cost is 75,776.80. The order is delivered. What variance should settlement post?
3. Which order is the right sequence for production order period-end?
4. Why confirm whether order types use event-based production cost posting before writing expected results?