Show TOC

Background documentationClassic RFC Exceptions Locate this document in the navigation structure

 

For the external function call, you can use the addition EXCEPTIONS of the statement CALL FUNCTION to assign return values to the exceptions defined in the interface of the called function module.

In addition to the exceptions defined in the interface of the called function module, an external function call may trigger the following predefined exceptions:

  • Exception SYSTEM_FAILURE occurs if a runtime error occurs during execution of the remotely-called function module.

  • The exception COMMUNICATION_FAILURE occurs if the connection cannot be made to the partner system, or if the connection is broken during communication.

    Note Note

    We strongly recommend that you assign a return value to these two exceptions for each RFC, and that you process these, otherwise a runtime error may occur in the exception situations described.

    End of the note.

More Information

You can find further information about RFC exceptions under: