SAP PP / MM ERROR SOLUTION  |  Material Status (MM02, OMS4)

SAP Error: "Material 400080 Cannot Be Used Due to Material Status 20" – Causes and Step-by-Step Fix

A planner tries to create a production order, add a component to a bill of material or post a goods movement, and SAP refuses because the material has a status that the system treats as a blocker. The material exists, the master data looks complete, yet the transaction will not go through. The cause is the material status, a small field with big consequences. This guide explains what material status is, how to find out which status and which setting is blocking you with MM02 and OMS4, and how to fix the error safely. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.

❌ The Error Message at a Glance

SAP error message Material 400080 cannot be used due to material status 20
ItemValue in This Example
Message textMaterial 400080 cannot be used due to material status 20
Material400080
Material status code20
Where to check the statusMM02 (material master) and OMS4 (configuration)
Message typeError: the transaction cannot continue until the cause is removed

Material status messages are issued by many different SAP applications, so the exact message number and wording depend on the transaction where you meet it. SAP knowledge base articles and message lists show related texts such as "Material has status in plant," "Material status does not permit planned independent requirements" and "Material has the material status" in routing maintenance. The diagnosis and the fix described here apply to all of them.

✅ What Is a Material Status in SAP?

A material status is a code stored in the material master that restricts how the material may be used in different business processes. It is the system's way of recording a decision such as "this material is being phased out," "this material is still in development and not yet costed" or "this material must not be purchased." Instead of blocking the material completely, SAP lets you decide process by process whether the material gets a warning, an error or no message at all.

There are two levels of material status. The cross-plant status, shown as X-plant material status and stored in field MARA-MSTAE, applies to the material in every plant. The plant-specific status, stored in field MARC-MMSTA, applies only to one plant. A company can therefore stop manufacturing a material in one plant while leaving other plants unaffected, which is a common reason for the plant-specific status.

What a status actually does is not built into the code itself. A status such as 20 is simply an entry that your company created and described in Customizing. The meaning of 20 in your system could be "blocked for procurement," "phase-out" or something else entirely. That is why the first step in any diagnosis is to look at the status definition rather than guess.

📋 Which Business Processes Can a Material Status Affect?

In the configuration transaction OMS4 you assign a message setting to each business process for every status. The table below lists the main ones relevant to production and logistics.

Business ProcessWhat the Status Can Control
PurchasingCreating purchase orders and requisitions for the material.
Material requirements planningPlanning the material, creating planned orders, and planned independent requirements.
BOM header and BOM itemCreating a BOM for the material or using it as a component.
Routing and master recipeCreating or assigning a routing for the material.
Production ordersCreating production orders and order items for the material.
Inventory managementGoods receipts, goods issues and other stock movements.
Quality management and plant maintenanceInspection procedures and maintenance usage.
Warehouse managementTransfer requirements and posting changes.

Each process has its own setting, so a status can block purchasing with an error, warn during planning and stay silent in inventory management. This is exactly why a material can be "usable" in one transaction and unusable in the next.

💡 Warning, Error or No Message: How OMS4 Settings Work

Setting in OMS4MeaningEffect for the User
BlankNo message.The process works normally.
AWarning.A message appears. The user can confirm it and continue.
BError.The transaction stops until the status is changed or the setting is altered.

SAP's own example describes a material set to phase-out: purchasing is set to an error, MRP to a warning, and inventory management to no message. The result is that no further purchasing is possible, planners are warned during planning, and the remaining stock can still be withdrawn without any message. This combination is typical, and it shows why status settings are best seen as a set of rules rather than a single block.

If you see an error in one transaction but only a warning in another, that is the status configuration working as designed, not an inconsistency.

🔧 Step-by-Step: Diagnose the Problem

Work through these steps in order. They tell you which status is responsible and whether it should be changed at all.

1

Read the message. Note the material, here 400080, the status code, here 20, and the transaction in which it appears, for example creating a production order or maintaining a BOM.

2

Open the material in MM02 or in display mode MM03. On the Basic data 1 view, read the X-plant material status and its valid-from date.

3

Open the plant data view, such as MRP 1, for the plant you are working in, and read the plant-specific material status with its valid-from date. The message may refer to either status.

4

Run OMS4, open the status in question, and read the settings for the business process in which the error appeared. This shows whether the process gives a warning or an error.

5

Ask the material owner why the status was set. Check the change history of the material, for example with the display changes function, to see who set it and when.

Tip: Always ask why before asking how. A status is usually a deliberate decision by product management, purchasing or quality. Removing it to make an error go away can quietly undo that decision.

🔧 Solution 1: Check and Correct the Status in MM02

If the status is wrong or no longer needed, the fix is in the material master. The steps follow the original tutorial, which uses material 400080.

1

Run MM02, enter material 400080, and select the views you need, including Basic data 1.

2

On Basic data 1, find the Material status field, shown as X-plant material status. Note the status code, in this case 20, and its valid-from date.

SAP MM02 Basic data 1 view showing X-plant material status 20 for material 400080 SAP MM02 material status field cleared before saving material 400080
3

If the status should no longer apply, remove or blank the status so it is empty, or replace it with the correct status code. Also check the plant-specific status on the plant views and correct it if needed.

4

Save the material and repeat the transaction that failed.

Important: Blanking the status removes the restriction for every process at once. If you only want to allow one process, such as production, change the configuration in OMS4 instead (Solution 2), or give the material a different status that fits the real situation.

🔧 Solution 2: Review the Status Configuration in OMS4

If the status is correct but the setting is too strict, for example a production order is blocked with an error when the business only wants a warning, the fix is in Customizing.

1

Run transaction OMS4 to check the configuration for material status 20.

2

Look at the settings for the different processes: sales, purchasing, production and others. Open the status line to see the detail screen with one setting per process.

SAP OMS4 define material status 20 with warning and error settings per business process
3

Determine which processes are blocked for the material because of this status, those set to error, and which only warn.

4

If the business agrees, change the setting for the relevant process, for example from error to warning, and save with a transport request.

Caution: OMS4 changes affect every material that carries this status, in every plant. Make sure the effect on other materials is understood, and test in a quality client before moving the change to production.

🔄 Which Solution Should You Choose?

SituationRecommended Action
The status was set by mistake.Correct or clear it in MM02.
The status is right, but the material may be used for one more purpose.Change the process setting in OMS4 from error to warning, or use a different status.
Only one plant should be blocked.Use the plant-specific status for that plant and leave the cross-plant status empty.
The block should start later.Set the status with a valid-from date in the future.
Many materials carry the same wrong status.Use a mass change, for example MM17, after testing on a sample.
You are unsure why the status exists.Ask the material owner and check the change history before touching anything.

💼 Real-World Scenario: One Last Production Run for a Phase-Out Material

Pradnya Pawar, an SAP PP consultant working with a beverage manufacturer in Pune, was called by a planner who could not create a production order for material 400080 in plant 1254. The message said the material could not be used due to material status 20.

Pradnya opened the material in MM02 and found the X-plant material status set to 20 on the Basic data 1 view. In OMS4 she saw that, in her company's configuration, status 20 had been defined for phase-out: purchasing and production orders were set to errors, while inventory management gave no message. Anand Rathi, the head of planning, confirmed that product management had marked the material for phase-out last quarter, but a large customer had asked for one final batch.

Instead of blanking the status for everyone, Pradnya agreed a narrower solution with product management. The status stayed in place, since the phase-out was still true, but for this plant she changed the production order setting for status 20 from an error to a warning in OMS4 in the quality client, tested it, and then moved the change to production with a clear note. Production orders could now be created with a warning that planners had to acknowledge. After the final batch was complete, the team agreed to set the setting back to an error. The episode showed that the right fix is often a precise one, not simply clearing the field.

❗ Common Mistakes When Fixing Material Status Errors

💡 Related Material Status Messages You May Meet

The same root cause appears under many message numbers. Recognizing them helps you reach the fix faster.

MessageWhere It AppearsTypical Meaning
M7092Goods movements, inventory managementMaterial has a status in the plant that is an error for inventory management.
ME324Purchase ordersMaterial status warning; set to error in the status configuration if the purchase order should be blocked.
CN360Planned independent requirementsStatus does not permit planned independent requirements.
CP115Routing maintenanceMaterial has a plant-specific status that warns when assigning a routing.
29119 / 29121BOM maintenance (CS02)Status blocks or warns for BOM changes; related to cross-plant and plant-specific status.
61130Planned order display (MD12, MD13)MRP-related status setting prevents displaying or deleting planned orders.

These descriptions come from SAP message documentation and knowledge base articles. Exact numbers and wording can differ by release, so search the message in your own system if the text does not match.

🔍 What Happens Behind the Scenes

The status code is stored in the material master: the cross-plant status in table MARA and the plant-specific status in table MARC. The definition of each status, with one message setting per business process, is stored in the configuration table T141, maintained through OMS4. When a transaction accesses a material, SAP reads the status from the master record, looks up the setting for the current process in T141, and then issues nothing, a warning or an error.

Dates matter too. Each status has a valid-from date. A status set for a future date does not apply until that date, which is useful for planned phase-outs. When both statuses are present, the plant-specific status is normally the one that matters for processes in that plant, and some SAP applications fall back to the cross-plant status if no plant-specific status is maintained.

Understanding this split between master data, which says what the status is, and configuration, which says what it does, helps you pick the right fix every time: change the data if the status is wrong, change the configuration if the rule is wrong.

✅ How to Prevent Material Status Surprises

🔒 Authorization Considerations

Changing a material's status is a change to the material master, and it needs the usual material master authorizations for the views and plants involved. Changing the status configuration in OMS4 is Customizing work and is normally limited to consultants and key users with transport rights.

If you cannot change either, do not look for workarounds. Collect the material, status, transaction and screenshot of the message, and send it to the material owner or the support team. A clear request, including your proposed fix, speeds up the answer.

🔧 Troubleshooting: When the Fix Does Not Work

The status is empty in MM02, but the error remains

Check the plant-specific status for the plant in question. The message may refer to the status in that plant rather than the cross-plant one.

The status is in the future, but the error appears now

Check the valid-from date. If it is today or in the past, the status is already effective. Move the date if the block should start later.

OMS4 shows a warning, but the system still stops

Some applications do not allow a warning to be bypassed in every case. SAP knowledge base articles describe BOM maintenance messages that cannot be skipped even when the setting is a warning. Check the message documentation for your transaction.

The setting was changed, but users still see the old behavior

Check that the transport reached the system and client, and ask users to restart their session. Configuration changes should be visible immediately after import.

Only some plants show the error

This is normal if plant-specific statuses differ. Compare the plant views for each plant.

Many materials need the same correction

Use a mass change transaction such as MM17 for the status field after testing on a few materials. Check that required related fields, such as the MRP type, are maintained, since mass changes can raise their own errors.

📋 Quick Fix Checklist

📱 This Error in SAP S/4HANA

Material status works the same way in SAP S/4HANA. The status is still stored in the material master at cross-plant and plant level, and the behavior per business process is still configured by status. In S/4HANA, including the public cloud edition, the material master is usually maintained through Fiori apps, and the configuration through the corresponding configuration activities instead of the classic IMG, but the concepts are the same.

SAP knowledge base articles for S/4HANA describe typical cases such as a purchase order showing only a warning instead of an error because the purchasing message of the status is set to a warning. The remedy there is to change the purchasing message to an error in the plant-specific settings and update the material afterwards. Confirm the apps and activities available in your own release.

📋 Related SAP Transactions

TransactionPurpose
MM02 / MM03Change or display a material, including its status.
OMS4Define material statuses and their message settings per process.
MM17Mass change of material master fields, including the status.
CS02Change a bill of material, where status messages may appear.
CO01Create a production order, where status messages may appear.
MD04Stock and requirements list for the material.

🎓 Interview-Style Questions and Answers

Q: What is a material status?
A code in the material master that restricts how the material can be used in business processes, with a warning, an error or no message for each process.

Q: What is the difference between the X-plant and the plant-specific status?
The X-plant status, MARA-MSTAE, applies to all plants. The plant-specific status, MARC-MMSTA, applies only to one plant.

Q: Where is the status behavior configured?
In OMS4, stored in table T141.

Q: What do A and B mean in OMS4?
A is a warning, B is an error, and blank means no message.

Q: Can a status start on a future date?
Yes, each status has a valid-from date.

Q: Is it safe to blank the status to fix the error?
Only if the business confirms the status is no longer valid. Otherwise you may undo a deliberate restriction.

📚 Quick Glossary

📝 Governance for Material Statuses

Statuses tend to multiply and drift. A code is created for one project, reused for another and, years later, nobody remembers what it was meant to do. A little governance keeps the list useful. Keep a register of every status with its owner, meaning and the settings per process, and review it each year.

Treat changes to the status configuration like any other Customizing change: document the reason, test in a quality client, and agree the effect with the people who use the affected processes. When a status is retired, check that no material still carries it.

🔍 How to Find All Materials That Carry Status 20

Once you know one material is blocked, the next question is usually "how many more are there?" Answering it before you change anything tells you how big the problem is and whether a mass change makes sense.

A list of affected materials is also the best evidence when you ask for a decision. Instead of "should we unblock 400080," the question becomes "these 38 materials carry status 20, which of them should keep it?"

📝 Using Change History to Learn Why a Status Was Set

The material master keeps a change history. Use the display changes function in the material master menu to see who set the status, when, and what the previous value was. This answers three useful questions at once.

First, was the status set deliberately or by a mass change that touched more materials than intended? Second, was it set recently, which may mean the business is still working on the topic, or long ago, which suggests it may have been forgotten? Third, who should you ask? The user name in the change record is the natural starting point for the conversation.

If nobody can explain the status and no process depends on it, you can propose removing it, but keep the evidence: a screenshot of the old value and a note of who approved the change. That small habit protects you if questions come up later.

🎯 Conclusion

"Material cannot be used due to material status" is the system doing what it was configured to do. Find out which status applies, in the cross-plant and plant-specific views of MM02, then read what that status does for your process in OMS4. Correct the status if it is wrong, change the setting if the rule is too strict, and always ask the material owner why the status exists before removing it. Test configuration changes in a quality client, record what you did, and keep this guide handy the next time a material refuses to cooperate.

❓ Frequently Asked Questions

The material has a material status in its master record, and the configuration for that status blocks the business process you are trying to perform, such as creating a production order, using it in a bill of material or procuring it.
The cross-plant status, X-plant material status, is on the Basic data 1 view. The plant-specific material status is on the plant data views, such as MRP 1, and applies to one plant only.
Use transaction OMS4. Open status 20 and review the settings for each business process, such as purchasing, MRP, production orders, BOMs, routings and inventory management. Each can be set to no message, a warning or an error.
A warning lets the user continue after acknowledging it. An error stops the transaction until the cause is removed. In OMS4 the value A means warning, B means error, and blank means no message.
Only if the status is no longer valid for the business. A material status usually reflects a real decision, such as phase-out or blocked procurement, so check with the owner before removing it.
Yes. Both the cross-plant and the plant-specific status have a valid-from date, so a status can be set now and become effective later.
Each status has a separate setting for each business process in OMS4. The same status can be an error for purchasing, a warning for planning and silent for inventory management.