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, it is currently only possible to specify classic exceptions, 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, classic exception handling applies. If a remotely called function module raises a class-based exception, this exception is not transported and raises the predefined classic 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:

It is strongly recommended that all predefined exceptions are handled.


More Information

For information about exceptions in RFC calls, see the

RFC documentation on SAP Help Portal.


See Exception Handling in RFC.