1.

What is the use of message command in a report? What are the different message types?

Answer»

MESSAGE command displays messages defined by a message ID specified in the REPORT statement at the beginning of the program. The message ID is a 2 character code that defines which set of 1,000 messages the program will access when the MESSAGE command is used.

MessageTypeConsequences
EErrorThe message appears and the application halts at its current point. If the program is running in background mode, the job is canceled and the message is recorded in the job log.
WWarningThe message appears and the user must press Enter for the application to continue. In background mode, the message is recorded in the job log.
IInformationA pop-up window opens with the message text and the user must press Enter to continue. In background mode, the message is recorded in the job log.
AAbendThis message class cancels the transaction that the user is currently using.
SSuccessThis provides an informational message at the bottom of the screen. The information displayed is positive in nature and it is just meant for user feedback. The message does not impede the program in any way.
XAbortThis message aborts the program and generates an ABAP short dump.


Discussion

No Comment Found