‎2007 Dec 17 1:16 PM
Hi I use message statement like:
message id 'zwm' type 'W' number 018.
And as 018 text i write "Example text".
So when I call statement as above I should see "Example text".
But I can see "zwm:018" and don't know why 😕
What do I wrong ??
Please help
Regards,
Greg.
‎2007 Dec 17 1:20 PM
‎2007 Dec 17 1:23 PM
Hi,
There is no message-text for that message id so goto that class through forward navigation and write ur message and try it again. I think it will come .
for any futher clarifications post me again.
Plzz reward points if it helps.
‎2007 Dec 17 1:26 PM
HI,
write like below.
message W018(ZWM).
if the message class ZWM or mesage number 018 in class WM is not there then it will give u message like that.check that whether that message class is saved or not.
rgds,
bharat.
‎2007 Dec 17 1:32 PM
Hi,
This may help you, just go through this one.
syntax.
... ID mid TYPE mtype NUMBER num ...
The message class, the message type and the message number are specified as content of the data objects mid, mtype and num (dynamic form). For mid and mtype, character-type data objects are expected that must contain the message class resp. the message type in capital letters. Invalid message types create an uncatchable exception. For num, a data object of the type n and the length 3 is expected.
Note
The explicit specification of the message class overrides the addition MESSAGE-ID of the statement that introduces the program.
Example:
As example for alternative 2, with dynamic specification of the message and the message type.
DATA: mid TYPE sy-msgid VALUE 'SABAPDOCU',
mtype TYPE sy-msgty VALUE 'I',
num TYPE sy-msgno VALUE '014'.
MESSAGE ID mid TYPE mtype NUMBER num.
‎2007 Dec 17 2:04 PM
nothing wrong with your statment..
use capitals ...it works
message id 'ZWM' type 'W' number 018.
*message id 'zwm' type 'W' number 018.