You are on page 1of 1

13/09/2017 Number of ways to display the messages - ABAP Development - SCN Wiki

Getting Started Store

Community WIKI SAP Community Welcome, Guest Login Register Search the Community

ABAP Development / ABAP Objects

Number of ways to display the messages
Created by Venkat Boppana, last modified by Anirban Bhattacharjee on Jun 01, 2009

Number of ways to display the messages.

1). MESSAGE 'abs' type 'I'.
2). MESSAGE I002 (<Message Class>)
In the message class we have to write the corresponding message for 002.
3). REPORT <Program Name> MESSAGE-ID <Message Class>.
MESSAGE I002.
In the message class we have to write the corresponding message for 002.
4). MESSAGE i006 WITH text-003.
In the text symbols 003 we have to write the corresponding message.
5). MESSAGE text-001 type 'I'.
In the text symbols 001 we have to write the corresponding message.
6). MESSAGE i006 WITH 'Invalid purchase order Number'(003).
006 message description is sending at runtime, in the message class we mention & & & & for the corresponding 006 number. In the text symbols 003 we are writing the description, it just for our
display purpose.
7). MESSAGE ID '<Message Class>' type 'I' NUMBER 002.
8). MESSAGE i003 (<Message Class>) WITH '<Some text message> '.
9). MESSAGE i003 (<Message Class>) WITH text-003.
In the text symbols 003 we have to write the corresponding message.
10). MESSAGE i003 (<Message Class>) with p_user.

Only for that particular user can get the message.
No labels

3 Comments
Caroline Annabel
Excellent Info!

Gourab Banik
I'm lovin it...

DEEPTYRANJAN PRADHAN
yeah really nice.....

Contact Us SAP Help Portal
Privacy Terms of Use Legal Disclosure Copyright Follow SCN

https://wiki.scn.sap.com/wiki/display/ABAP/Number+of+ways+to+display+the+messages 1/1