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 Syntax

Former Member
0 Likes
631

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
576

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
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
577

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

Read only

0 Likes
576

Thanks guys.

Shejal.

Read only

former_member186741
Active Contributor
0 Likes
576

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).