SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Data Interfaces and Communication Interfaces → RFC - Remote Function Call → RFC Overview →RFC Exceptions
In the interface of a remote enabled function module you can currently only specify classical exception, in other words non-class-based exceptions. Class-based exceptions are supported in other release tracks.
In an external function call, the non-class-based exceptions defined in the interface of the function module called using the EXCEPTIONS addition of the statements CALL FUNCTION or RECEIVE can be assigned return values.
If EXCEPTIONS is specified, classical exception handling applies. If a remotely called function module raises a class-based exception, this exception is not transported and raises the predefined classical exception SYSTEM_FAILURE instead
In addition to the exceptions which are specified explicitly in the interface of a remote-enabled function module, the following predefined exceptions can occur in the RFC:
We strongly recommend that all predefined exceptions are handled.
Notes
More Information
For more information about exceptions during RFC calls, refer to the SAP Library under:
Example
More information: Exception Handling in RFC.