Application Development 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: 

Message Syntax

Former Member
0 Kudos

HI Friends,

If Sy-Subrc <> 0.

message e001(zsd).

Endif.

The above code gives me an error message if the condition is not met and it dosent let me excute the code further. However i want the code to be excuted further even if the condition is not met. Something like a warning message.

Shejal.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If you would like to issue a warning message, then use a warning message.

Message <b>W</b>001(ZSD).

Doing so, will issue a warning message, user can continue processing but hitting enter.

Regards,

Rich Heilman

3 REPLIES 3

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

If you would like to issue a warning message, then use a warning message.

Message <b>W</b>001(ZSD).

Doing so, will issue a warning message, user can continue processing but hitting enter.

Regards,

Rich Heilman

0 Kudos

Thanks guys.

Shejal.

former_member186741
Active Contributor
0 Kudos

it depends on which event you are issuing the message from but generally 'S' will allow flow to continue and show the message on the bottom of the next screen shown, 'I' mesages give apopup box and then continue.

so you could use

message s001(zsd).

or

message I001(zsd).