Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor
Hello Everyone,

The following process will shed light on how to delete a component from a Maintenance or Service Order.

Problem Statement:

The issue is that business is unable to delete a component/material from a Maintenance or Service Order permanently and the quantity of that component/material is displayed in MD04. Due to this issue, the planning/procurement department of an organization is not getting the correct demand for the material, and it causes excess procurement of that material, and MRP of that material is not running correctly.


To overcome the above problem, the following solution is as below to remove that component/material from Maintenance or Service Order.

 Step-1:   Run the standard program RIORDST1 in T code-SE38 and place the Maintenance or Service Order number in the field of “Order” as per the below screenshot and check mark the below options and execute the transaction.

It can also be run for a single value or multiple values by selecting multiple options on the screen.

Note: When executing this program, first run the program in test mode and to run on test mode don’t click on option “Update on Database”

Step-2:        After executing the report if you see input Maintenance or Service Order is displayed then go back and again run the report with same input along with check the option “Update on database” and execute the report.

Step-3:        Now go to Maintenance or Service Order for which the above program ran and delete the component which is not being deleted.

Step-4:        Now check in T-code MD04 and see requirement of that component has been deleted.

For more Details: Refer SAP Note#2509548

To Conclude:

Once the above steps will be executed successfully, the business will get the correct demand/planning quantity of the material to procure that component/material.


To avoid any risk in the Production system, instead of running this program- RIORDST1 directly in SE38, business can make Z T-codes to run this program in the production system and give authorization to the respective user for that T-code to run this program.

To remove inconsistencies related to Sale Orders and Deliveries, please refer below SAP Blog:


To remove inconsistencies related to the Purchase Orders/ Scheduling Agreements, Purchase Requisitions and Reservations from MD04, please refer below SAP Blog:


Please follow neeraj.jain16 for more content on issues & topics related to SAP Sales & Distribution and Material Management.

If any questions, please click here

Thanks for your interest! Please share feedback, comments, or suggestions below.

Best Regards,

Neeraj Jain

SAP Technical Manager in HCL Technologies Limited