SAP message not found









SAP message not found



Sorry something went wrong and we could not find the SAP message informtion you were looking for, maybe the page has moved or does no longer exists.

Please try the search below which you can use to find information about most SAP messages.


<br><br>
You can find general information including message text and long description via your SAP system using transaction
se80 or SE91.

<br><br><b>Implement SAP messages in your ABAP code</b>

SAP messages are an essential part of any ABAP program and are used to display information to the user to let them know what's happening.

<br><br>The following ABAP code is the simplest way to implement a message into your report.

<br><br><b>    <font color="blue">MESSAGE 'Display this message' TYPE 'E'.</font></b>

<br><br><b>SAP Message Classes</b>
<br>A better way to implement your messages would be to create and maintain them via a message class using transactions SE91 or SE80.
This way you have a central store for all messages, which makes it easier to maintain them. This is especially true if your messages need to be translated into
multiple languages.

<br><br>To do this you first need to create a message class which is a kind of container/wrapper where you store related messages together.
Once this is done you can add as many message as you require into it. You also get the option to create additional long text, which offers
the user additional information about the particular issue. See the following link for more information and details of how to create a
<a href="message-class.htm">message class</a>.

<br><br>Once you have created your message you can use them within your ABAP code using the following syntax:

<br><br><b>    <font color="blue">MESSAGE E001(MCLASS).</font> </b>

<br><br>MESSAGE = ABAP statement
<br>E = Type of message (can also be I,W,S,A,X)
<br>001 = Message number
<br>MCLASS = Message Class

<br><br>You can also add parameters to your messages using the "&" character. So for example you could create the following message 'Purchase order & has been deleted'.

You can then pass a purchase order to the message when using it and it will replace the "&" with the purchase order you pass for example

<br><br><b>    <font color="blue">MESSAGE E001(MCLASS) with ekko-ebeln. </font></b>

<br><br>The result would display
<br> "Purchase order 1234 has been deleted"




<br><br><br><br><b>Further information about message types</b>

<br><br><b>I - Information messages</b>
<br>Information message are displayed in a popup window and only pause processing until you have clicked through the message.

<br><br><b>E - Error message</b>
<br>An error message will be displayed in red along the footer of the SAP screen and stops processing going any further.

<br><br><b>W - Warning message</b>
<br>A warning message behaves similar to and error message and is displayed along the footer of the SAP screen and stops processing
going any further.

<br><br><b>S - Success/Status message</b>
<br>A Success message is also displayed along the footer of the SAP screen but does not stop processing
going any further and is simply displayed at the end in green.

<br><br><b>A - Termination/Abend</b>
<br>A termination message stops processing and causes a runtime error and short dump which is also viewable in tcode ST22.

<br><br><b>X - Exit</b>
<br>An exit message stops processing and displays and exit button which exits session processing. Similar to typing /n into the
SAP command box.