SAP MRP Run Explained: MD01 Tutorial
Master the SAP MRP run with our practical MD01 tutorial. Learn how to execute planning runs, interpret results, and optimize material planning in your SAP system.
What Is an SAP MRP Run and Why Should You Care?
If you're working in SAP supply chain or production planning, you've probably heard someone say, "We need to run the MRP." But what does that actually mean? The SAP MRP run is one of the most critical processes in Materials Management and Production Planning. It's essentially your system's way of calculating what materials you need, when you need them, and how much to order—all based on demand forecasts, existing inventory, and production schedules.
Think of it like this: imagine you're running a small bakery. You know you'll need flour for tomorrow's bread, but you also need to account for flour already in storage, current orders, and upcoming events. The SAP MRP run (Material Requirements Planning) does exactly this automatically across your entire organization, which is why it's so powerful—and why understanding it matters for your career.
The main transaction code you'll use to execute an MRP run is MD01, which is the "MRP Run" transaction. In this tutorial, we'll walk through executing an MRP run, understanding the results, and answering the questions your team will ask you.
Understanding the MD01 MRP Run Explained Step by Step
Let's break down what happens when you execute an MRP run in transaction MD01. The system analyzes demand (from sales orders, forecasts, and dependent demands) against supply (inventory, purchase orders, and planned production orders) and calculates planned orders to cover shortfalls.
To give you a practical foundation, here's what MD01 actually does behind the scenes:
- Reads demand sources: Sales orders, forecasts, and requirements from higher-level BOMs
- Checks inventory levels: Current stock in table MARD (Material Warehouse Data)
- Reviews existing supply: Open purchase orders, production orders, and inbound deliveries
- Applies planning parameters: Lead times, safety stock, lot sizing rules from the material master
- Generates planned orders: Recommendations to procure or manufacture materials
The beauty of this process is that it's entirely configurable. The parameters your company uses shape exactly how the system calculates requirements.
How to Execute an MRP Run: A Practical Walkthrough
Let's go hands-on. Here's how to execute an MRP run in transaction MD01:
- Access the transaction: In the SAP command bar, type /nMD01 and press Enter. This opens the "Run MRP" screen.
- Enter your planning parameters:
- Plant: Select the plant where you want to run planning (e.g., 1000, 2000). This is mandatory.
- Scheduling date: The date for which the planning run calculates. Usually today or a specific planning date.
- Material selection: You can run MRP for all materials, a specific material, or a selection using various criteria (material type, planning group, storage location).
- MRP type: Choose your planning run type—typically "1" for net change planning or "2" for regenerative planning.
- Select additional options:
- Create purchase requisitions: Tick this if you want the system to auto-generate purchase requisitions for planned orders.
- Create production orders: Similarly, enable this to generate planned orders for in-house manufacturing.
- Delete previous planning run: Decide whether to clear old planned orders from previous runs.
- Run the planning: Click the "Execute" button. This triggers a background job that processes the MRP calculation.
- Monitor the job: You'll see a dialog showing the job status. For large runs, this may take several minutes. You can monitor progress in transaction SM37 (Job Overview).
- Review results: Once complete, you can review the planned orders in transaction MD04 (Stock/Requirements List) or MD05 (MRP List).
Pro tip: If you're new to MRP runs, start small. Test with a single material or a small plant before running across your entire organization. This helps you understand the results without drowning in data.
Reading the Output: What MD04 and MD05 Tell You
After running MD01, you'll want to see what the system decided. The key transactions for reviewing results are:
Transaction MD04 (Stock/Requirements List): This shows a timeline view for a specific material. You'll see demand (sales orders, forecasts), supply (inventory, purchase orders), and the system's planned recommendations. The columns show quantities and dates, making it easy to spot shortages or excess inventory.
Transaction MD05 (MRP List): This is the comprehensive view. You can analyze all planned orders generated by the run, filter by plant or material, and drill down into details. From here, you can convert planned orders into actual purchase requisitions or production orders.
The most important columns you'll see in these transactions are:
- MRP Element: The type of supply or demand (SO = sales order, PA = planned order, etc.)
- Quantity: How much is needed or available
- Date: When it's due
- Status: Whether it's open, firmed, or in progress
Common MRP Run Parameters and What They Mean
When configuring your MRP run in MD01, you'll encounter several important parameters. Understanding these is key to getting meaningful results:
- MRP Type 1 (Net Change Planning): Fastest option. The system only recalculates materials with changes since the last run. Use this for frequent planning.
- MRP Type 2 (Regenerative Planning): Slower but thorough. The system recalculates everything from scratch. Use this weekly or when you suspect data inconsistencies.
- Planning Group (DISPO): If your materials are organized by planning group in the material master, you can filter here.
- Planning Horizon: How far into the future the system plans. Longer horizons catch demand earlier but can slow performance.
- Lot Size Rule: Found in the material master table MARC, this determines whether the system orders in fixed quantities, order points, or follows forecasts exactly.
Each parameter shapes how the system behaves. Your company's planning strategy should drive these choices.
Troubleshooting Common MRP Issues
Even experienced SAP consultants encounter hiccups with MRP runs. Here are a few common issues and quick fixes:
- MRP run takes too long: You're likely running regenerative planning on too many materials. Switch to net change planning or narrow your material selection.
- Too many planned orders created: Check your lot sizing rules in the material master (MARC table). You might have a setting that fragments orders unnecessarily.
- Missing demand in the run: Ensure sales orders and forecasts are flagged for MRP in their respective tables (VBAP for sales orders, FCST for forecasts).
- Unexpected safety stock: Review the safety stock settings in the material master. These can create buffer stock that masks real demand.
If you're unsure about settings in your learning environment or practice system, consult your company's planning documentation or ask your MRP-savvy colleague. Every organization configures MRP slightly differently.
Real-World Scenario: Running MRP for a Production Scenario
Let's say you work for a manufacturing company and the planning manager asks you to run MRP for Plant 1000, a facility producing electronic components. Here's how you'd approach it:
You'd access MD01, enter Plant 1000, set the scheduling date to today, choose regenerative planning (since it's the week's main run), and select "Create purchase requisitions" and "Create production orders." You'd also set the planning horizon to 12 weeks to catch seasonal demand spikes.
The system runs and generates 450 planned orders—some are purchase requisitions for raw materials, others are production orders for subassemblies. You review the results in MD05, spot a critical shortage for a component due in 3 weeks, and immediately flag that with procurement. By understanding what MD01 does and how to read its output, you've just prevented a production delay.
Key Takeaways for Your SAP Journey
Mastering the MRP run in MD01 is a milestone in your SAP career. You now understand that MRP isn't magic—it's a systematic process that calculates material needs based on clear parameters and data. The more accurately your master data is maintained and the better you understand your company's planning strategy, the more valuable these runs become.
Practice running MRP on test data, explore MD04 and MD05 to read results, and don't hesitate to ask why your company uses certain MRP settings. This knowledge makes you invaluable to your planning team.
Ready to deepen your supply chain expertise? Visit Automate & Graduate for interactive modules that let you practice MRP runs in a sandbox environment and master SAP materials management like a pro.
Practice what you've learned
Automate & Graduate has games, modules, AI tutor, and daily challenges to make SAP stick.
Try it free →