SAP RFC EXCEPTIONS ABEXA



Get Example source ABAP code based on a different SAP table
  



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

ABAP_SOURCE_CODE
DEMO CL_DEMO_RFC_EXCEPTIONS

ABAP_DESCRIPTION
The DEMO_RFM_CLASSIC_EXCEPTION function module raises 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 are raised, sy-subrc is set to 3.