[WEBINAR] Bulletproof: How Today's Business Leaders Stay on Top

Message Class

Definition - What does Message Class mean?

A message class is a SAP entity used to hold different single text messages that are used, as needed, to communicate information, warnings or errors to users in different SAP objects (like programs, function modules, exits and enhancements) throughout the SAP system.

SAP provides different message classes which may be used across different modules. Messages found in a message class are identified with unique message numbers. Message classes provide SAP developers with the flexibility of reusing messages found in different message classes, which, in turn, helps prevent the hard coding of different information, errors or warnings, as required by the applications.

Techopedia explains Message Class

Developers may reuse existing message class messages in their custom applications. SAP also provides the flexibility to create custom message classes and messages. The most used message areas are in error handling techniques, like validation of data provided in screens.

Messages, general screens and selection screens provide an easy way of communicating with users. They are mostly used for error handling during the processing of dialog based screens.

The syntax of a writing message is as follows:


The following types of messages are available in SAP:

  • A: Used in the termination process
  • E: Used to display an error dialog based on program context
  • I: Used to display status information
  • S: Special type of error message that allows display of a message in the subsequent screen’s status bar and process continuation, unlike message type E
  • W: A warning message is prompted based on the program context.
  • X: Used in exit processes, no message is displayed, but the program terminates with short dump. Normally used in runtime errors.
Using transaction SE91, message classes or messages may be created or modified. In turn, all messages are stored in SAP database table T100.

This definition was written in the context of SAP
Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.