SAP S/4HANA EOQ
SAP doesn’t use "EOQ" as a field name. The Wilson Q* lives behind two of the MRP lot-sizing procedures: OP (Optimum lot size with Andler) and WB (Optimum, period of supply variant). You pick the procedure in the material master (MM02 > MRP 1 view > "Lot size" field), then SAP’s MRP run computes Q* using the ordering cost and storage cost percentage stored in customizing per plant[1].
The four procedures you’ll see
- EX (Exact lot size) - demand-driven, no optimization. The default for finished goods on make-to-order.
- FX (Fixed order quantity) - buyer-set Q (e.g. case pack). Use when supplier MOQ binds.
- OP (Optimum lot size, Andler) - classic Wilson Q* = sqrt(2DS/H). The German operations-research textbooks call this the Andlersche Losgroessenformel.
- WB (Optimum lot size, period of supply) - Wilson Q* expressed as days-of-supply rather than units; same math, different display.
Customizing the cost inputs
Ordering cost S and storage cost percentage i live in Customizing > Materials Management > Consumption-Based Planning > Lot-Size Calculation, configured per plant. Unit cost C comes from the material master valuation segment. This means the same material across two plants can produce a different Q* if the two plants carry different storage-cost percentages - a frequent surprise during S/4HANA conversions from ECC.
What S/4HANA changed
Lot-sizing procedures are unchanged from ECC. Where the move bites: APO Demand Planning is replaced by IBP for Supply Planning, and the period-of-supply variant (WB) is now usually run inside IBP rather than the on-prem MRP transaction. If your team is moving from APO macros to IBP, the EOQ recommendation surfaces in the planning view but still writes back to MM02 as the lot-size choice.
Pricing reality
No published list price; RISE with SAP S/4HANA Cloud public edition starts in the low five-figures per year for a small footprint per partner sources, scaling with FUE (Full Use Equivalent) user counts. EOQ procedure (MRP type PD, lot-sizing procedure EX, EZ, FX, OP) unchanged in S/4HANA 2023/2024. ERP Central Component (ECC) customers migrating to S/4HANA retain MM02 material-master lot-sizing fields verbatim; APO Demand Planning is replaced by IBP for Supply Planning.