‎2010 Dec 23 5:53 AM
hi,
I m getting Runtime Errors MESSAGE_TYPE_UNKNOWN while displaying message in status bar.
I have written the message statement like this
Message e000(mid) display like 'S'.
where mid is type of message id..
can anybody tell the solution to display message in status bar
‎2010 Dec 23 7:05 AM
Hi added the statement
REPORT Zprog MESSAGE-ID zz.
now its working but it goes to the next screen and i want to display msg by staying on current screen
‎2010 Dec 23 5:57 AM
There are no of ways to display messages in SAP.
Did you use message id here:
REPORT ztest
MESSAGE-ID zzMESSAGE i000 DISPLAY LIKE 'E' WITH text-002 MESSAGE e000(zz) WITH text-e24
‎2010 Dec 23 6:01 AM
hi,
mid is supposed to be the message class.
either you specify the message class here or in the report statement.
‎2010 Dec 23 6:17 AM
There are many ways to maintain this kind/type of messages.
1. REPORT Zprog MESSAGE-ID zz.
2. MESSAGE 1000 DISPLAY LIKE 'E' WITH text-002.
3. MESSAGE e000(DGM) WITH text-e24.
and
4. Through message class.
‎2010 Dec 23 7:05 AM
Hi added the statement
REPORT Zprog MESSAGE-ID zz.
now its working but it goes to the next screen and i want to display msg by staying on current screen
‎2010 Dec 23 7:18 AM
‎2010 Dec 23 7:37 AM
I made the changes like this
Message e000(ZTESTMSG) display like 'S'.
LEAVE LIST-PROCESSING .
but no effet , it again goes to next screen.
‎2010 Dec 23 8:10 AM
Hi Deepak,
Do you want to display the message on the selection screen or even before leaving to the selection screen itself(i.e. from the editor itself?) ?
Regards,
Chaitanya
‎2010 Dec 23 9:06 AM
‎2010 Dec 23 9:49 AM
Try this.
TABLES: mara.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
INITIALIZATION.
At SELECTION-SCREEN.
MESSAGE 'This is message in selection screen' TYPE 'E' DISPLAY LIKE 'S'.
START-OF-SELECTION.
END-OF-SELECTION.
‎2010 Dec 23 9:57 AM
Place your message under AT SELECTION-SCREEN event. This would keep your status message on the screen itself.
‎2010 Dec 23 10:11 AM