Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

handle exceptions in remote function modules

Former Member
0 Kudos

hi all,

can any one tell how to handle the exceptions in the remote function modules. i think the handling of exceptions in the normal function modules is different from remote function modules.

thanks

suresh

2 REPLIES 2

Former Member
0 Kudos

Hi,

Basically there are no exceptions raised in RFC's Hence u have to comprehend the execution based on the return parameters sent by the RFC. Basically there will be a flag which defines whether the execution was successfull or not. But keep in mind RFC's will never raise exception as is the case of normal FM's.

Former Member
0 Kudos

There are two exceptions SYSTEM_FAILURE & COMMUNICATION_FAILURE which are to be handled in RFC . These are not visible in FM definition in exceptions tab .

You can use your own defined exceptions the same way as you use in normal FMS.

Cheers