‎2009 Feb 17 3:45 PM
Hi All,
we have got a Z message class... and now I want to display some error message in my program using that message class only... I have written the follwoing cod:
If sy-subrc eq eq 0.
message e011 with "ZTEST".
and now when I double click on the e011 to enter the text it's taking me to a different message class rather than to the Z class that we defined.... can you please tell me how can i take care of this.
Thanks,
Rajeev
‎2009 Feb 17 3:48 PM
‎2009 Feb 17 3:50 PM
This should be given as
message e000(zp) with text-e03.where zp is your message class.
double click on text-e03 to create a message.
‎2009 Feb 17 3:51 PM
Hi,
in your program use the message statement as below
MESSAGE ID mid TYPE mtype NUMBER num.
ex..
DATA: mid TYPE sy-msgid VALUE 'ZTEST,
mtype TYPE sy-msgty VALUE 'E',
num TYPE sy-msgno VALUE '011'.
MESSAGE ID mid TYPE mtype NUMBER num.
‎2009 Feb 17 3:53 PM
Please use an informative title when asking questions, but before asking, please search the forum.
Rob