Message Types and Error GroupsMessage Types | Error Groups | Technical Notes The messages in the R/3 System can be classified according to different types. The message type determines where the message is issued and how the system responds. Messages which refer to errors, so-called error messages, can be grouped in terms of their contents on the basis of the events triggering them or the objects affected. Error messages are to state the problem and, if space permits, should offer suggestions for removing the error. In this way the user can proceed without outside help. Examples illustrate the individual error groups.
Message TypesNote: The message types have been defined by the programmers, not the Ergonomics Group. S Message (Success)S-type messages are displayed in the Status Bar on the same or next screen. The message has no influence on the user's work. It only confirms the successful execution of system functions. I Message (Information)This message has a modal character - that is, the user must acknowledge the message. I messages are therefore displayed in a modal dialog box. The processing can be continued by pressing the ENTER key. W Message (Warning)So-called W messages interrupt the processing and allow the user to make corrections. For this reason, fields are enabled for input. W messages are displayed in the Status Bar if the messages have been issued by a primary window. If a dialog box issues the message, the system displays the message in a separate dialog box. With regard to the system response, warnings are similar to E messages. E messages, however, force the user to change the entry. E Message (Error)When the system detects an error, E messages should be used. Incorrectly completed fields must be ready for input. If consequential errors occur, we recommend to make not only the incorrectly filled field ready for input but also those fields whose entries have contributed to the error. Depending on whether the E message was issued by a primary window or a dialog box, it is either displayed in the Status Bar of the primary window or in a separate dialog box. A Message (Abend)A messages are intrinsically of a modal character, that is, a separate dialog is inserted into the current task. Therefore, they are displayed in modal dialog boxes A messages do not allow the user to make any further entries. The user can only acknowledge the message. The task is abruptly terminated and the system returns to a higher-level menu. A messages should only be issued in extraordinary circumstances, for example, when a system-related error occurs or if the error can no longer be handled by the task. In all error situations handled by the task, however, it should be possible for the user to remain in his work environment. A messages should therefore be avoided, if possible. Icons in MessagesIf standard error messages from the Basis system are displayed in a dilaog box, the system auotmatically displays the appropriate icon for the particluar message type (E, W, I, or A). Since S messages always appear in the status bar, there is no icon for S messages.
Figure 1: Icons to be used in messages Note: In general, application developers do not have to take action in this respect.
Error GroupsErrors in TablesGenerally, the user is not authorized to make changes in a table. Therefore, the short text of the error messages which refer to tables should not contain a reference to a table. This information is contained in the long text, possibly together with the recommendation to contact the system administrator. If the display of the message was initiated because a system table does not include an entry which it was expected to contain, the short text should not contain a reference to the table but at most a note on the entry:
If the error is related to tables, which are only of importance for the SAP System itself or if the cause for the error cannot explicitly be assigned to a particular entry, the message should refer the user to the system administrator:
The long text should always contain a detailed error diagnosis which can also be of a more technical nature (which, however, is indicated as such). If special reference is made to lines which are not contained in a table and if the table is important for the user, that is, if he has maintenance authorization for the table, use the following message pattern:
Input Values are not within the Valid Value RangeThe user has entered an entry which was not within the valid, usually numeric value range.
If the value range is known or predefined, the error message should ask the user to enter a value within a specified range:
Nonsensical EntriesIn some situations, the user attempts to carry out an action which is meaningless from a business point of view (the system should be able to prevented these actions).
System Error, System Limits are ExceededIf a non-user error occurs in the system, the message should explain that a system-related problem has caused the error. It should also point out how the user can respond. Technical descriptions should be avoided. For temporary problems, the following "good" example can be used:
A detailed explanation of this message must be given in the long text. If a more severe system error interrupts the user's interaction with the system, the following message can be displayed:
A detailed explanation of this message must be given in the long text. No Entry Made in a Certain FieldIf particular entries are required to continue processing, the required specifications are, however, missing or incorrect:
Control ErrorIf an operating error occurs, for example, the user chooses a function which requires a previous selection to have been made, the message should specify the initiated action and the error diagnosis, if possible:
Resource Conflicts Due to System ConditionsIf records are locked, the user is missing the required authorization, etc.:
Invalid Result of an ActionIf a calculation would lead to a meaningless or invalid result, not only the diagnosis should be given but also help in eliminating the error.
Success MessagesThe system sends success messages to the user when it has performed certain tasks (e.g. particular important tasks).
Plausibility ErrorThe system, for early recognition of substantive errors, should check entries for their plausibility, if possible.
Technical NotesIn the flow logic of the screen, the required fields for E messages must be enabled for input by the FIELD statement in front of the module in question. After the user has corrected the entry, the module is processed again automatically from the beginning. Messages within modules are generally triggered at the event PROCESS AFTER INPUT. Only I messages and S messages are useful at the event PROCESS BEFORE OUTPUT. If several fields/modules are chained on the screen (CHAIN), the entire chain and therefore all modules are processed again. If a field is contained in several chains and an error occurs, all chains which are in front of the module reporting the error are checked for this field and processed again, if found.
Source: SAP Reference Lists |