cancel
Showing results for 
Search instead for 
Did you mean: 

Proxy error

Former Member
0 Kudos

For asynchronous server proxy, I am triggering application error using fault messages.. I can see application error in R/3 SXMB_MONI, but the monitoring shows successfully processing in XI...Is there a way, i can have XI show error status?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi SSG,

As per SAP help

"The options for error handling depend on the type of communication chosen:

Asynchronous Communication: On the sender side, the application can only handle errors that occur when the message is being sent (for example, the outbound queue is full). You can catch and persist these errors by using the exception class CX_AI_SYSTEM_FAULT. On the receiver side, as in the synchronous case, you can define fault messages, which are then only forwarded to monitoring (and not to the sender).

If you want to define how the sender is to process asynchronous errors, see the Acknowledgments section. The Web service runtime only supports synchronous communication."

Please refer the following links for more info on handling errors in ABAP proxies..

http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/75/a55c3cff8ca92be10000000a114084/content.htm

Regards

Anand

Former Member
0 Kudos

Anand, I had already checked those links.. I read in one of the threads that we can set acknowledgements in XI and using that option one can handle the application exception during asynchronous server proxies.. But I am not able to figure it out

Former Member
0 Kudos

Hi SSG,

Proxy supports Application acknowledgments which are used to confirm that the asynchronous message has been successfully processed at the receiver.

For an integration process(BPM), you can send an acknowledgment explicitly in the send step.

Try setting Ackknowledgement as "Application' in the send step.

Hope this helps..

Regards

Anand

Former Member
0 Kudos

I presume we can do this only through BPM.. And not directly?

is it possible to raise alert message when not using BPM?

Former Member
0 Kudos

yes, you can set Application and Transport acknowldgements only in send step of BPM. I am not sure of the behaviour of application acknowldegement in case of proxy. I mean wheather it will throw any exception or wait indefinately for acknowldgement from proxy. You need to try this in your scenario.

You can raise an alert using alert rules when not using BPM. Check Michal's weblog for configuring alert rules.

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step