How to Fix Auto PO Creation Error in RM06BB30 Due to Blocked Material Code

 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

  1. Go to transaction SM37

  2. Enter the job name. Ex: RM06BB30*

  3. Select job status as "Released"

  4. Leave the “From” and “To” date range empty

  5. Click Execute

SM37 Find job name for creating PO automate
Figure 1: SM37 Find job name

🔹 Step 2: Switch to Edit Mode

  1. Select PO create job

  2. From the header menu, go to Job > Change

  3. Click Step 

  4. Select PO create step > In header menu Goto > Variant

SM37 Find job name for creating PO automate and update
Figure 2: Edit mode in SM37

SM37 Find job name for creating PO automate and update
Figure 3: Edit Step in SM37
SM37 Find job name for creating PO automate and update
Figure 4: Edit Variant in SM37

🔹Step 3: Edit the Variant

  1. Click on Values

  2. Keep the existing parameters unchanged

  3. Tick the checkbox “Omit Faulty Items”

  4. Click Save

  5. System will confirm with a message: Variant saved successfully.

Select Omit Faulty Items trong RM06BB30
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!

Post a Comment

0 Comments