RFC error handling
rfc_error_handling
Description
Checks that exceptions 'system_failure' and 'communication_failure' are handled in RFC calls
Extended Information
RESOURCE_FAILURE is also required for asynchronous calls with DESTINATION IN GROUP.
Checked are CALL FUNCTION ... DESTINATION and, with startingNewTask, CALL FUNCTION ... STARTING NEW TASK
without DESTINATION, which is an asynchronous RFC to the destination NONE.
CALL FUNCTION ... IN BACKGROUND TASK is not checked, it cannot have EXCEPTIONS.
errorMessage: reports error_message in the EXCEPTIONS of an RFC call. It is ignored in RFC, a message of
type A, E or X ends the called function module and raises SYSTEM_FAILURE, use system_failure = n MESSAGE msg
to get the message text. Exception: with a DESTINATION that is blank at runtime, the call is local.
requireMessage: reports SYSTEM_FAILURE and COMMUNICATION_FAILURE without the addition MESSAGE.
https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abenrfc_exception.html
https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/abapcall_function_destination_para.html