Application Development and Automation 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: 
Read only

CATCHABLE EXCEPTIONS in the remote function call (RFC)

Former Member
0 Likes
1,090

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

5 REPLIES 5
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
721

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

Read only

Former Member
0 Likes
721

Hi

This is the F1 help, i have gone through it, please help if you have any material else of F1 help.

Thanks

Dinesh

Read only

Former Member
0 Likes
721

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.

Read only

Former Member
0 Likes
721

HI,

one way is to go to se24 and search for cx* .

all the classes which starts with CX are exception classes.

Kishi.

Read only

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Likes
721

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