cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy and fault messages

Former Member
0 Kudos

I am calling a Outbound proxy (Asynchronous) from R/3. Should I catch fault after the call?

When I don't catch fault, I get the following warning message. What should i do about these warning message?

<i>The exception CX_AI_SYSTEM_FAULT is neither caught nor is it declared in the RAISING clause of "EXECUTE_ASYNCHRONOUS". </i>

Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi SSG,

Check this

cheers

Prashanth

P.S Please mark helpful answers

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Directly after your proxy call, catch the excpetions.

ie. CATCH CX_AI_SYSTEM_FAULT

....do stuff

This will alleviate your issue.

Cheers

Colin.

Former Member
0 Kudos

Colin, What are the scenarios under which the Asynchronous proxy from R/3 to XI will fail? so that I can test 'Exception handling'.

Also from Ravi's blog (1387), I notice that we catch exception after commit work. I presume we cannot catch exception before commit work.

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

Former Member
0 Kudos

Hi,

The proxy will fail if the link between R/3 and XI cannot be established or the configuration in R/3 for XI is incorrect. A prime example is if the SLD cannot be reached in XI from R/3

The catch exception should be directly after your proxy call - this is the way I have coded it in the past and it works fine.

Kind regards

Colin.