09-20-2005 7:12 AM
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
09-20-2005 7:18 AM
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.
09-20-2005 7:23 AM
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