Show TOC

RFC ExceptionsLocate this document in the navigation structure

Use

As of SAP NetWeaver Release 7.1 you can execute the exception handling for RFC calls on the basis of ABAP classes. Class-based exceptions make it possible for the RFC Client to handle all exceptions using TRY/CATCH syntax.

The use of ABAP classes replaces the previous form of exception handling. This means you can use class-based exceptions not only for ABAP objects but also for all ABAP program contexts.

There are some exception classes that exist for the RFC field with which RFC-specific exceptions can be handled.

Note

You can however still use classic exception handling.

Constraints

It is not possible to use both forms of exception handling (classic and class-based) at the same time in a function call.

More Information

You can find further information about RFC exception handling under: