Error & Warning Messages Configuration in SAP MM
SAP System messages are developed and used in multiple programs to give
warning or error during a particular incident occurs. Not all messages can be
customized for warning. In all relevant program same message will be called.
There are some messages which are hardcoded in program to give error
message.
Message Message Behaviour
Type
I Information Once the user has confirmed the message, the program
continues immediately after the MESSAGE statement.
S Status/Success The program continues normally after the MESSAGE
statement.
W Warning Depending on the program context, an error dialog box
appears and the program stops or terminates. Here the
user has to take action.
E Error Depending on the program context, an error dialog box
appears and the program stops or terminates. Here the
user has to take action.
A Termination The program terminates when the user has confirmed
the message. Control returns to the next highest area
menu.
X Exit The program will terminate with a short dump if a
runtime error occurs. In this case no message will be
displayed. NOTE: Message type X allows you to force
program termination. The short dump contains the
message ID.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
1) Success Message Type: -
When we are doing any Transaction we are getting Success message if no any
error occurs during processing data.
As we are entered all the data correct & Check.
As above shown message Document is O.K this is type of Success
message.
After Saving the transaction also success message will be shown as
below.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
Material document 10010370 posted this is also a type of success
message.
2) Warning Message Type: -
When we are doing any transaction system warn us to change/ correct the
data as per requirement. But it’s only the warning we can post the without
changing also.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As we ordered the 100 Quantity of material & Received only 50 then
system shown above warning message like Deficit of PU Ordered
quantity 50 EA: 100000000000040106 CPMG ROH1
3) Error Messages Type: -
As we entered the wrong data while doing any transaction system will show us
an Error message as below.
As we are entered the Wrong data system shows the error message as
above shown & not allow to process the data until its correct.
This is the type of error message.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
System Message Configuration for SAP MM
1) Messages for Purchasing: -
Configure Message for Purchasing T-Code: - OMAS
Path to Configure Message for Purchasing: -
SPRO-> IMG-> Materials Management-> Purchasing-> Environment Data->
Define Attributes of System Messages
By double click on this below screen opens.
Click on System Messages. Below list of messages opens.
We can configure here the system messages for Purchasing as per
requirement by click on Position.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
1] Below we take the example of Error Message for Effective Price: -
We are creating Standard Purchase Ordered by using T-Code: - ME21N
In above PO Net Price is same as maintained in Material Master.
Now here I am changing this price from 100 to 200 system gives below
error message.
Like this if we can change the price of material system gives an error.
For solve this error follow the below process.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
Just Double Click on the Error below screen opens.
Just click on its Technical Information.
It will show us the Technical Details of Error as above. Like Application
Area & Message Number.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
Now enter the T-Code:-OMAS or Follow the path as above given. Below
screen opens.
Click on the System Messages.
Just scroll down & sear for our Application Area: - 06 & Message No: -
207
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As above shown its category save as E: - For Error change this to
Warning Message I.e. W: - Warning
Save the data.
As we are changing this error message into a Warning message. System
will allow to change the price of material as per requirement.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As we are change the Error message into Warning message we can
change the Price of material as per requirement & System will show only
warning message as above shown.
We can save the data & System will give the Success Message.
Std.Pur.Doc. Test-1 created under the number 4500000051 this is a
success message.
2] Below we take the example of Error Message for Delivery Date is in Past: -
We are creating Standard PO by using T-Code: - ME21N
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As we are put Delivery date in Past as above enter system gives us a
warning message as below.
Business does not want any delivery date in past as above shown.
So we need to configure the system to show this as an error if some on
wrongly enter the Delivery date in the past.
Just double click on Warning Message below screen opens.
Click on the Technical Information
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
System shows the Application area & Message No as above shown.
Then go to the T-Code: - OMAS or Follow the path as above given for
Define Attributes of System Messages. Below screen opens.
Click on System Messages. Below screen opens.
Scroll for our Application Data: - ME Message No: - 039
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As above shown its set as W: - Warning
Change this W: - Warning into E: - Error
Save the Data.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As per configuration if we entered the Delivery date in Past system will
gives an Error message as above shown.
System will not allow to enter the Delivery Date in Past.
As we enter the correct data then only system will not give any message
& it will allow to save the data.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
2) Messages for Inventory: -
Configure Message for Purchasing T-Code: - OMCQ
Path to Configure Message for Inventory: -
SPRO-> IMG-> Materials Management-> Inventory Management and Physical
Inventory-> Define Attributes of System Messages
By double click on this below screen opens.
Click on Settings for System Messages. Below screen opens.
We can configure here the system messages for Inventory as per
requirement by click on Position.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
1] Error Message shown for Receiving Quantity is Less than Ordered
Quantity.
For this we need to do Goods Receipt of material of PO.
Enter the T-Code: - MIGO & Receive the Material.
If the Ordered Quantity & Receiving Quantity is Same then system
doesn’t show any error.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
As we change the Receiving Quantity is less than ordered quantity then
system gives error as above shown.
In some case Supplier gives the material less than ordered quantity at
that time we are unable to receive the material.
For overcome this error message follow the below process.
Just double click on Error Message.
System will show you the Details of error.
Click on the Technical Details.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
System will show us Application Area & Message No as above shown.
Then go to the Define Attributes of System Messages by using above
path & use T-Code: - OMCQ below screen opens.
Click on Settings for System Messages. Below screen opens.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
Scroll down for our Application Area: - M7 & Message No: - 021
By default, its showing as an E: - Error
Change this E: - Error into W: - Warning
Save the Data.
Now again do the Goods Receipt by using T-Code: - MIGO
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
Now as per the Configuration for Message for Inventory system will
allow to receive the Material less than ordered quantity.
Not giving any error for this. Save the data.
After posting this system give success message as below.
Material document 10010372 posted this is a success message.
Like this we can configure any Message type in Inventory in SAP MM.
We can change any Error message into Warning & Warning message
into Error. But sometimes this is not applicable for every type error.
3) Messages for Invoicing: -
Configure Message for Invoicing T-Code: - OMRM
Path to Configure Message for Invoicing: -
SPRO-> IMG-> Materials Management-> Logistics Invoice Verification->
Logistics Invoice Verification
By double click on this below screen opens.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923
By double click on Invoice Verification: Customer-Specific Message
Categories. Below screen opens.
We can configure here the system messages for Invoicing as per
requirement by click on Position.
Most of the time System messages for Invoicing will be done by FICO
team.
LinkedIn | Mayur Sonar
Email :-
[email protected] Mo. No: - 7744918923