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

suppressing status bar message after function call?

Former Member
0 Likes
704

Hi,

I'm calling a few functions in a program.

After calling them, for example function "L_TO_CREATE_DN", I get a message in the status bar, in this case saying that a TO has been created successfully.

How can I suppress all status bar messages for all the functions that are being called in the program?

THX!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
564

Hi

Try to use the default excption error_message

 CALL FUNCTION 
....................
EXCEPTIONS 
    error_message = 1 
    OTHERS        = 2.

Max

3 REPLIES 3
Read only

Former Member
0 Likes
565

Hi

Try to use the default excption error_message

 CALL FUNCTION 
....................
EXCEPTIONS 
    error_message = 1 
    OTHERS        = 2.

Max

Read only

Former Member
0 Likes
564

Hi,

Make a Copy of the FM L_TO_CREATE_DN.

Then comment the code that displays the status message in the FM.

It will work.

Regards,

Vimal.

Read only

Former Member
0 Likes
564

apparently, I can solve it by putting in the exceptions:

error_message = 99.