How to catch the error if an RFC fails due to short dump
I was calling the RFC Function module in parallel processing depends on the number of work processors available. I am getting the return message from the Function module using the perform statement
PERFORMING task_return ON END OF TASK
But I am not able to catch the errors if the RFC has been terminated due to the dump or manually killing the RFC while running.
I need how to handle the RFC if the call has been terminated due to the dump or system failure. Does the RFC return the sy-subrc at this time or can we able to catch the error in any other way.
Thanks & regards,