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
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:
MESSAGE <MESSAGE TYPE> <MESSAGE NUMBER> (<MESSAGE CLASS>).
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.
Dismissing the Myth that Active Directory Requires Microsoft DNS
Join thousands of others with our weekly newsletter
Free Whitepaper: The Path to Hybrid Cloud:
Free E-Book: Public Cloud Guide:
Free Tool: Virtual Health Monitor:
Free 30 Day Trial – Turbonomic: