SAP RFC EXCEPTIONS ABEXA

Get Example source ABAP code based on a different SAP table
  

Warning: Undefined variable $prev in /customers/b/9/9/trailsap.com/httpd.www/sap-help/index.php on line 54
ARTIClE

Exception Handling in RFC
This example demonstrates exception handling in RFC.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The DEMO_RFM_CLASSIC_EXCEPTION function module triggers the non-class-based exception CLASSIC_EXCEPTION.
When DEMO_RFM_CLASSIC_EXCEPTION is called, EXCEPTIONS is specified and values for sy-subrc are assigned to the possible classic exceptions. If none of the predefined RFC interface exceptions occur, sy-subrc is set to 3.