‎2007 Jun 29 5:08 AM
Please tell me what are the CATCHABLE EXCEPTIONS in the remote function call (RFC) and to which exception class do they belong????
Thanks in advance.
Dinesh Dhiman
‎2007 Jun 29 5:13 AM
HI,
With external function calls, the EXCEPTIONS addition of the CALL FUNCTION command can be used to assign return values to the exceptions defined in the interface of the called function module. Class-based exceptions cannot be propagated to the caller from a remotely-called function module, and have the effect of an exception that cannot be handled.
As well as the exceptions defined in the interface of the called function module, an external function call can also have the following predefined exceptions:
The <b>SYSTEM_FAILURE</b> exception is the response to a runtime error that occurs when the remotely-called function module is executed.
The <b>COMMUNICATION_FA</b>ILURE exception occurs when the connection to the partner system cannot be established or if the connection is lost during communication.
Note
We strongly recommend that you assign a return value to both these exceptions for every RFC, and that you handle this return value, as otherwise a runtime error will occur in the exception situations in question.
Regards,
Sesh
‎2007 Jun 29 6:04 AM
Hi
This is the F1 help, i have gone through it, please help if you have any material else of F1 help.
Thanks
Dinesh
‎2007 Jun 29 6:08 AM
Hi,
In ABAP keyword documentation you will find all the Catchable Runtime errors and its assignment to the Error classes. Do a F1 on Catch keyword from your ABAP editor to get the same.
Kishi.
‎2007 Jun 29 6:09 AM
HI,
one way is to go to se24 and search for cx* .
all the classes which starts with CX are exception classes.
Kishi.
‎2007 Jun 29 6:29 AM
you can go for abap documentation help..or chk out this page for relevant information :
http://www.s001.org/ABAP-Hlp/abapcall_function_destination.htm
thanks
jaideep