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

Message

Former Member
0 Likes
812

hi all,

I write message for worning but it

displaying as error give me one suggation.

Regards..

kamesh..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
777

Hi,

Please try the below link on how to write a msg :

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/message.htm

6 REPLIES 6
Read only

Former Member
0 Likes
777

Hi,

i think you write your worning message in start-of-selection plzzz verify that write your messages in at selection-screen only.

Plzz Reward if it is useful,

Mahi.

Read only

graghavendra_sharma
Contributor
0 Likes
777

can you let me know the command which you have used for messaging?

Read only

Former Member
0 Likes
778

Hi,

Please try the below link on how to write a msg :

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/message.htm

Read only

Former Member
0 Likes
777

Hi,

Please see teh below link on how to create a mssage :

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/message.htm

Read only

Former Member
0 Likes
777

In ABAPDOCU t.code

(U can get example of all messages u can select suitable message from that)

select

abap user dialogs -


>Messages -


>demonstration of all message types

(Debugg this prg then u can understand)

Madhavi

Read only

Former Member
0 Likes
777

Hi,

Messages may behave diffrently in different contexts.

Message Processing

Message processing depends on the message type specified in the MESSAGE statement, and the program context in which the statement occurs.

Message Types

A Termination Message

The message appears in a dialog box, and the program terminates. When the user has confirmed the message, control returns to the next-highest area menu.

E Error Message

Depending on the program context, an error dialog appears or the program terminates.

I Information

The message appears in a dialog box. Once the user has confirmed the message, the program continues immediately after the MESSAGE statement.

S Status Message

The program continues normally after the MESSAGE statement, and the message is displayed in the status bar of the next screen.

W Warning

Depending on the program context, an error dialog appears or the program terminates.

X Exit

No message is displayed, and the program terminates with a short dump. Program terminations with a short dump normally only occur when a runtime error occurs. Message type X allows you to force a program termination. The short dump contains the message ID.

FOr information on different behaviour of messages please refer to:

http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbaae335c111d1829f0000e829fbfe/content.htm

Regards,

Renjith Michael.