How to stop the Purchase Order creation from expired Contract in SAP MM?

Requirement: Based on business requirement, system shouldn’t allow users to create Purchase Order with reference to Contract (outline agreement) which is already expired.

Solution: This requirement can be fulfilled by changing the warning message to Error message about contract expiry message number :06041. But, we should clearly inform users about the impact once the message is changed to Error. After the message is changed to Error, purchase order can’t be created with the expired contract.

Before going to the solution of changing the message type, we will see the message during Purchase Order creation

Below is the contract header screen which is expired. This contract will be used to create the Purchase Order. We can see in below screen that the contract validity End is 31.01.2018

Below screen shows the Warning message related to contract expiry but it won’t stop the creation of Purchase Order although it gives warning. So, it will be like an information to the user who is creating Purchase Order. User can ignore the warning message and proceed with PO creation

Message details are provided below

Based on business requirement, the solution is decided to change the message from Warning (W) to Error (E). The configuration path to make these changes is

SPRO-IMG Reference-Material Management-Purchasing-Environment Data-Define Attributes of System Messages-System messages

This configuration setting will be helpful to stop the creation of both Purchase Requisition and Purchase Order with reference to expired Contract document.

I hope this support issue is helpful for your learning. Go through my documents/videos and provide your valuable feedback.

Thanks and Best Regards,

Ganesh Padala

SAP MM Mock Interview 4 by Ganesh Padala

Dear Friends,

I came with one more SAP MM Mock interview. I hope it will be helpful to crack your interviews. Please provide your valuable feedback and don’t forget to share if you like



Best Regards,

Ganesh Padala

SAP LSMW Tutorial Session by Ganesh Padala

Dear Friends,

I am happy to share one of the important topics in SAP which is used in every project by almost all consultants irrespective of the module. I hope it will be helpful for your regular job. You can watch, learn and share with your circle to make useful to many members. Give your valuable comments about video

You can check below link if you need my complete SAP MM Videos.

Thanks and Best Regards,

Ganesh Padala


SAP MM Discussion on Release Strategy by Ganesh Padala

Dear Friends,

I have provided a discussion video on SAP MM Release Procedure. I hope it will be helpful for your learning. Watch my other videos and give your valuable comments.







With Best Regards,


SAP MM Purchasing Process overview video

Hello Friends,

I have recorded the session about Purchasing process in SAP MM. In this video, SAP Purchasing process is explained along with few sap screen shots. Please find the video below. I hope it will be helpful. I will come up with few more better quality videos soon.