Sub topic 8
MRP views: planning parameters
This chapter assumes you know what a plant is, can open a material in transaction MM03, and have read the earlier chapters on organizational levels and views. MRP views hold the settings that material requirements planning (MRP) uses to decide when and how much to order or produce. All MRP data is stored at plant level.
The four MRP views
The MRP data is split across four views. Each one groups fields by purpose.
| View | Main content |
|---|---|
| MRP 1 | MRP type, MRP controller, lot-sizing procedure, reorder point |
| MRP 2 | Procurement type, planned delivery time, safety stock, scheduling margin key |
| MRP 3 | Planning strategy group, consumption mode, availability check |
| MRP 4 | Storage location MRP, discontinuation data, BOM selection |
Key fields
The fields below drive most planning results.
- MRP type (DISMM) controls whether and how a material is planned.
PDis deterministic MRP based on requirements.VBis reorder-point planning.VVis forecast-based planning.NDmeans no planning. - MRP controller (DISPO) is the planner responsible for the material. Planning runs and the MD04 stock/requirements list can be filtered by this value.
- Lot-sizing procedure (DISLS) decides how much to order.
EXorders exactly the shortage.FXorders a fixed quantity.HBorders up to a maximum stock level. - Procurement type (BESKZ) says whether the material is bought externally (
F), produced in-house (E), or both (X). - Planned delivery time (PLIFZ) is the number of calendar days a vendor needs to deliver. In-house production time (DZEIT) is the working days needed to produce the material.
- Safety stock (EISBE) is a buffer quantity that planning tries to keep available.
How the settings work together
MRP compares stock and expected receipts with requirements. When it finds a shortage, it creates a planned order for in-house production or a purchase requisition for external procurement. The lot size sets the quantity. The lead time sets the dates.
Reading the settings with ABAP
These fields are stored in table MARC. The following query lists the planning setup for materials in one plant.
SELECT matnr, werks, dismm, dispo, disls, beskz, plifz, eisbe
FROM marc
WHERE werks = '1010'
AND dismm <> 'ND'
INTO TABLE @DATA(lt_mrp)
UP TO 50 ROWS.Common errors
- Material is never planned. The MRP type is
ND, or the MRP view was never created for that plant. Check that the MRP views exist for the plant. - Wrong dates on orders. Planned delivery time is in calendar days. In-house production time is in working days. Mixing these up shifts dates.
- Reorder-point planning with no reorder point. MRP type
VBneeds a reorder point, otherwise it never triggers. - Unexpected order quantities. A lot-sizing procedure such as
FXcombined with a fixed lot size field left empty gives surprising quantities. Review the whole lot-size group of fields.
Exercise
A purchased material has MRP type PD, lot-sizing procedure EX, procurement type F, and a shortage of 40 pieces. What does the MRP run create, and for what quantity?
Show answer
It creates a purchase requisition, because procurement type F means external procurement. The quantity is 40 pieces, because lot-sizing procedure EX orders exactly the shortage.