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

Displaying messages

Former Member
0 Likes
1,071

Hi,

What do I do to display messages in dialog box versus dispalying messages in status bars ?

-Tushar./

Hi,

What do I do to display messages in dialog box versus dispalying messages in status bars ?

-Tushar./

7 REPLIES 7
Read only

Former Member
0 Likes
917

status bar success,warning,error,

info,abend popups....

Read only

0 Likes
917

Hi Tushar,

Use message type 'I'.

Regards,

Suresh Datti

Read only

Former Member
0 Likes
917

on status you can display success,warning,error..

in popup abend,info messages will come..

regards

vijay

Read only

Former Member
0 Likes
917

Hi,

If i think displaying your message in pop-up......

Look at the sample code..........

***************

if sy-subrc ne 0.

CALL FUNCTION 'POPUP_TO_INFORM'

EXPORTING

titel = text-e03" Error Note

txt2 = 'No data is selected for the selection criteria'

txt1 = 'Error: '.

stop.

endif.

***************

message i000 with text-e03.

I gives you in pop-up.........

***************

Thanks.

If this helps u reward with points.

Message was edited by: Deepak333 k

Read only

Former Member
0 Likes
917

Hi Tushar,

1. Message Type Information = I

will give message in dialog box.

2. Message Type Warning W, Success S

will give message in Status Bar.

Regards,

Amit M.

Read only

Former Member
0 Likes
917

if you want to display message in status bars

MESSAGe S000(zq) with field.

if you want ot display message in dialog box

MESSAGe I000(zq) with field.

reward points if its helpful

Read only

0 Likes
917

use this FM:'POPUP_TO_INFORM'

or

MESSAGE ID id TYPE mtype NUMBER n.

Plz reward points if it helps!!

Regards

Gunjan