One common issue when using the standard SAP program RM06BB30 to automatically generate Purchase Orders (PO) is the error:
"Status 'Blocked for procurement/whse' of material XXX does not allow external procurement."
This error usually occurs when a material is blocked, preventing the system from generating a PO for that material. As a result, the system fails to create a PO for any materials from the same vendor, even if other materials are valid.
📌Quick Fix: Cancel Existing Purchase Requisitions
To allow the system to create POs for valid materials from the same vendor, one solution is to cancel the existing purchase requisition for the blocked material. After canceling, you can rerun the PO creation job.
However, there's a better solution: Configure RM06BB30 to skip faulty materials and continue creating POs for the rest. Here’s how you can do it step-by-step:
✅Step-by-Step Guide to Fix PO Creation Error in RM06BB30
🔹 Step 1: Find the Auto PO Creation Job
-
Go to transaction SM37
-
Enter the job name. Ex: RM06BB30*
-
Select job status as "Released"
-
Leave the “From” and “To” date range empty
-
Click Execute
Figure 1: SM37 Find job name |
🔹 Step 2: Switch to Edit Mode
Select PO create job
-
From the header menu, go to Job > Change
-
Click Step
Select PO create step > In header menu Goto > Variant
Figure 2: Edit mode in SM37 |
Figure 3: Edit Step in SM37 |
Figure 4: Edit Variant in SM37 |
🔹Step 3: Edit the Variant
-
Click on Values
-
Keep the existing parameters unchanged
-
Tick the checkbox “Omit Faulty Items”
-
Click Save
-
System will confirm with a message: Variant saved successfully.
Figure 5: Select Omit Faulty Items |
🔹Step 4: Verify
After saving, rerun the job and verify that the PO is created successfully for unblocked materials.
🎯Summary
With these 4 simple steps, you can solve one of the most common issues in automatic PO creation caused by blocked material codes in SAP.
By checking the “Omit Faulty Items” option, the system will ignore blocked materials and continue generating POs for valid ones—saving you time and reducing manual intervention.
Thanks for reading, and happy SAP troubleshooting!
0 Comments