Skip to Content
Technical Articles
Author's profile photo arghadip kar

How can we make Standard Message in Purchasing(ME22N) appear as Error? Tcode OLME


Lots of times based on your Requirements You want certain Message that appears as Warning to show as an Error as it becomes a HARD STOP that helps the user to correct it. In this Blog we will discuss how we can change the behavior of a System Message that use to appear as Warning to Show as Error.


Login to SAP and Go to Transaction Code ME22N.

The Requirement is to make the below message appear as Error Rather than Warning.

Double Click on the Message

Please note down the Message id and Number

Now lets go to Tcode OLME and follow the below path

Now we change the Message Category to E(Error)

Magic is done without any Coding. Please make sure to check for background Jobs that might get affected with this.



We can follow the same blog in SAP S/4 HANA and SAP ECC also


Below is the Video Version


Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Rob Ariaans
      Rob Ariaans

      Another blog that touches on this topic, created earlier by J├╝rgen, is also worth reading for anyone interested in the subject: