Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
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.
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:
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.