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: 

Suppressing Messages Generated by Function Modules

Former Member
0 Kudos

Hello,

Is there a way to suppress a message generated from within a function module even though the function module doesn't raise an exception to be handled?

I am calling L_TO_CREATE_MULTIPLE and it calls another function module that doesn't raise an exception, it just generates a message. I'd like to be able to handle the message rather than have it displayed to the user.

Thanks for any help anyone could provide.

Best Regards,

Brett

2 REPLIES 2

Former Member
0 Kudos

Okay!! The key is to use the special keyword "error_message" as one of the exceptions!!

Thanks anyway.

Regards,

Brett

0 Kudos

Brett,

When I tried it in a normal function module (not RFC), I am not able to suppress the "Information" messages. I have a BDC inside the fn module.

Do you have any idea?

Thanks for your help,

Bala