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

Suppress information message

Former Member
0 Likes
2,488

In my program there is call to the function module. Inside this function module there is an information message. When I execute the program in foreground I am getting an information message as pop up.Is there any option to suppress this Information message when I executet the program in foreground.

In my program there is call to the function module. Inside this function module there is an information message. When I execute the program in foreground I am getting an information message as pop up.Is there any option to suppress this Information message when I executet the program in foreground.

7 REPLIES 7
Read only

Former Member
0 Likes
1,427

Information message in background mode will not any effect your program execution...so don't bother about.But make sure its information message only i.e. given through message i000 statement. Some times pop-screen are shown which looks similar to information message screen.

Read only

Former Member
0 Likes
1,427

Any updates on the above issue

Read only

0 Likes
1,427

Hi Soumya,

I think the information message is coming from a SAP FM(not a custom one). If you really want to supress the infor message then a shortcut right now in my head is to make a copy of that FM and comment that message.

Regards,

Mainak

Read only

0 Likes
1,427

Wrong answer!

It doesn't matter whether the message is from an customer or SAP-functionmodule.

Please read also other answers, maybe you can learn a lot.

Read only

former_member190578
Participant
1,427

Use EXCEPTIONS 'ERROR_MESSAGES':



 CALL FUNCTION 'ANY_FUNCTION_MODULE' 
     EXPORTING 
          EXPORT_PARAS  = .....
          .....
     IMPORTING 
          IMPORT_PARAS = .....
          ......
     EXCEPTIONS 
          EXCEPTION_ONE = 1
          .........
          ERROR_MESSAGES    = 98
          OTHERS            = 99. 
 ... 

Now the I- and S- and W-messages from/in the function module doesn't appear.

A- and E-messages will continue appear.

Read only

Former Member
0 Likes
1,427

Is there any way to suppress the information mesage in foreground.

Read only

0 Likes
1,427

Please read the answers.