Problem: the function you call issues a message popup window and you want to disable it.
Solution: add EXCEPTIONS section to the function call with exception ERROR_MESSAGE. Like this for example:
CALL FUNCTION 'SOME_FUNCTION' EXCEPTIONS error_message = 1.
CALL FUNCTION 'SOME_FUNCTION' EXCEPTIONS error_message = 1.