‎2008 Jul 08 5:04 PM
Hi all,
I'm using the following code to send a message ( inside a user exit in VA01 😞
MESSAGE ID 'SABAPDOCU' TYPE message_type NUMBER '888' DISPLAY LIKE 'E'
WITH l_message l_message2 l_message3.
It's working Fine, although i'm using the ID SABAPDOCU.
If i create a message class, for example " Z_SD" and do the same CODE when the message is sent to the screen it appears like :
Z_SD : " my text "
1º question : How can i take the "Z_SD" from the message in the screen ?
2º question : i have to use a message class "Z_SD" because i want to write more extra information after o double click, like "what to do", " procedure", etc, can i use standard ID SABAPDOCU to do that ?
Thanks in advance,
Mário
‎2008 Jul 08 5:18 PM
While you create your own message class then define below code at the top of the program :
PROGRAM TEST MESSAGE-ID Z_SD.
after that you can use your message custom messages anywhere in the program.
‎2008 Jul 08 5:18 PM
While you create your own message class then define below code at the top of the program :
PROGRAM TEST MESSAGE-ID Z_SD.
after that you can use your message custom messages anywhere in the program.
‎2008 Jul 08 5:25 PM
‎2008 Jul 08 5:30 PM
hi see this ..
you can trigger a message with out creating the message id.
report ztest message-id zmsg. .
message i000 with 'this is message'.
it will triggers.
but if you had created the same one in the se91...it will take the message from class se91..even though you will give it in the program dynamically...
‎2008 Jul 08 5:33 PM
otherwise try to use fm
POPUP_DISPLAY_MESSAGE by passing Z_SD message class and message number ......
a®