Lesson 5 of 5
Testing make-to-order end to end
10 min
Listen to this lesson
An MTO test is only complete when it shows the whole chain with one item: demand, supply, stock, delivery, billing and the cost picture. Partial tests (sales passes, production passes, billing passes) miss exactly the handoffs where MTO breaks. Priya's team runs MTO as one end-to-end case with Maria (order-to-cash), the Detroit production key user and Dan (finance) at the same table.
- Step 1Sales order50 pc CMC-ALT-240 for Great Lakes Fleet Services; item number recorded
- Step 2PlanningMRP run; planned order in the item's segment
- Step 3ProductionOrder converted, released, components issued, operations confirmed
- Step 4Receipt50 pc into special stock E for the item, with value if valuated
- Step 5Ship and billDelivery and goods issue from special stock E; invoice
- Step 6CloseOrder settlement; margin for the item reviewed by finance
Scenarios
| Scenario | What to prove | Evidence |
|---|---|---|
| Happy path | Every step links to the same sales order item | Document flow, MD04 segment, order account assignment, material documents with E |
| Partial delivery | Two deliveries draw down the same sales order stock | Stock of E before and after each delivery |
| Quantity reduced after receipt | Leftover stock is visible and can be transferred | Special stock E list; 411 E or 413 document |
| Order cancelled before production | Planned order disappears at the next MRP run | MD04 before and after |
| Valuation error | Missing price is caught and fixed, not bypassed | Error message; corrected receipt |
| Margin | Revenue, cost of sales and variances for the item match expectation | Finance report for the item; settlement documents |
A minimal MTO regression pack.
The evidence that matters
Three pieces of evidence carry an MTO sign-off. First, the sales order stock segment: the receipt and the goods issue both carry special stock E with the same sales order and item. Second, the costs: the production order's actual costs and their settlement, and, with valuated stock, the receipt value. Third, the margin for the item: revenue from billing against cost of sales and variances. If any one is missing, the case is not proven.
| Evidence | Valuated design | Non-valuated design |
|---|---|---|
| Stock | 101 E receipt with value; 601 E issue with cost of sales | 101 E receipt with quantity only; 601 E issue with quantity |
| Order costs | Production order settled to the material; variance to price difference | Production order settled to the sales order item |
| Margin | Revenue and cost of goods sold for the item | Revenue and costs collected on the item after period-end processing |
Automate what repeats. The MTO chain is long but stable, so it is a good candidate for an automated end-to-end script with SAP's own tooling, such as test scripts managed in SAP Cloud ALM, that captures every document number as evidence. Keep the period-end steps (settlement, margin review) as a manual check with finance, because their timing and judgment do not automate well.
What would you do?
The MTO happy path passed in CMQ, but nobody looked at the margin because settlement only runs at month end. The test window closes before then. What should Priya do?
Keep the MTO tests as a recipe in SAP Cloud ALM: material, sales area, quantities, expected stock E segments and expected values. After go-live they become part of the release regression in CMR, where a change to requirement types, costing settings or output can break MTO without touching make-to-stock.
- Test MTO as one end-to-end case per item, with sales, production and finance together.
- Evidence: the special stock E segment, the production order costs and settlement, and the item's margin.
- Include partial delivery, quantity change, cancellation and valuation errors.
- Run period-end steps in test so the margin can be signed off.
Check your understanding · not graded
Lesson check
1. Which evidence proves the stock side of an MTO test?
2. Why include an order quantity reduction after receipt?
3. What is wrong with using the cost estimate as margin evidence?
4. Which pair of postings proves the MTO stock flow for the item?