In this section you can find information on the different types of error handling for the NW RFC SDK:
Debugging
Error handling in ABAP
Error handling in RFC Server Programs