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

Warning message in method

Former Member
0 Likes
401

Is it possible insert a warning message in a method?

If it is possible canyou send me an example?

Thanks a lot.

CV

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
368

Hello

There is nothing special about warning messages in methods, e.g.:


METHOD my_method.

  MESSAGE 'This is a warning with MY_METHOD' TYPE 'W'.

ENDMETHOD.

The question is how will your class react if the user pushes the ESCAPE button in order to cancel the further processing.

Regards

Uwe

1 REPLY 1
Read only

uwe_schieferstein
Active Contributor
0 Likes
369

Hello

There is nothing special about warning messages in methods, e.g.:


METHOD my_method.

  MESSAGE 'This is a warning with MY_METHOD' TYPE 'W'.

ENDMETHOD.

The question is how will your class react if the user pushes the ESCAPE button in order to cancel the further processing.

Regards

Uwe