Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding error message

Former Member
0 Likes
1,791

Hi all,

i displayed a error message. when i double click on the error message it opens a popup and says E: 'Error 123'..So what i need id instead of E: ineed Error: ...How do I achieve this..

Thanks In advance

Vicky

13 REPLIES 13
Read only

Former Member
0 Likes
1,572

hi Vicky,

display u'r error this way..

<b>message e100 with 'error'</b>.

MESSAGE e003(zp) WITH 'No Records Found'(001).

GO TO <b>SE91</b> and mainitain Long Text

Regards,

Santosh

Reward Points if it helps

Read only

0 Likes
1,572

It doesnt work in that way the only thing i want is Error: in the popup when i double click on the error message instead of E:

Read only

0 Likes
1,572

If you do it this way, do you still see the "E:".

message e001(00) with 'This is an error'.

Regards,

Rich Heilman

Read only

0 Likes
1,572

Hi,

in se93 maintain the message with <b>&</b>

<b>message e000 with 'Error occured'.</b>

Regards

vijay

Read only

0 Likes
1,572

Hey Rich ,

Iam using this kind of message..

message id text-001 type 'E' number text-002 with 'Error'.

But still i see the E: in the popup.

Thanks

VIcky

Read only

0 Likes
1,572

message id text-001 type 'Error:' number text-002 with 'Error'.

Do like above.

Regards,

Ravi

Read only

0 Likes
1,572

I don't think that can be avoided as the long text also will have to indicate the type of the message.

Regards,

Ravi

Read only

0 Likes
1,572

If you do 'Message .....' then you will get it. If you want to avoid it, use the function module POPUP_DISPLAY_MESSAGE. See the sample below



CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
  EXPORTING
    titel         = 'Error'
    msgid         = '00'
    msgty         = 'E'
    msgno         = '011'
*   MSGV1         =
*   MSGV2         =
*   MSGV3         =
*   MSGV4         =

Read only

0 Likes
1,572

If you are doing it like this.

message id 00 type 'E' number 001 with 'This is the error'.

then you will get the behavior that you are seeing.

If you do it like this.... then it will be what you want.

message e001(00) with 'This is the error'.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
1,572

You will have to maintain a LONG TEXT for this message in the message class(SE91). Then when you double click that long text will be displayed.

Regards,

Ravi

Note :Please mark the helpful answers

Read only

abdul_hakim
Active Contributor
0 Likes
1,572

maintain long text in the message class for the correspondng message using se91.

Cheers,

Abdul

Mark all useful answers....

Read only

rahulkavuri
Active Contributor
0 Likes
1,572

Did u define the message class in SE91, it will not give u the error when u double click on it as Rich says

Read only

Former Member
0 Likes
1,572

Hi,

if you use message e000(ERROR)with 'improper xyz'.

then you get the word <b>error</b>.but ualso get E.Check this out.

Regards,

Aswin