09-21-2008 10:33 AM
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.
09-21-2008 11:04 AM
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.
09-21-2008 5:00 PM
09-21-2008 9:22 PM
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
09-21-2008 11:31 PM
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.
09-21-2008 7:33 PM
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.
09-22-2008 5:47 AM
Is there any way to suppress the information mesage in foreground.
09-22-2008 1:36 PM