cancel
Showing results for 
Search instead for 
Did you mean: 

Error Handling in asynchronous exchange

Former Member
0 Kudos

Hi all

Am not quite sure what this statement means in reference to error handling:

Synchronous: error messages sent back to sender

Asynchronous: errors made persistent

Does it mean that in an async connection, the errors are not sent back or sent back and persisted.

If these are persisted, how is it cleared?

Accepted Solutions (1)

Accepted Solutions (1)

former_member206604
Active Contributor
0 Kudos

Hi,

<i>>>>Synchronous: error messages sent back to sender</i>

Yes, as you know this is Best Effort. That is realtime, the sender initiated a request and waites for a response. Means the sender is waiting for something which can be a response, error message. As you in XI the synchronous messages are not persisted means you will not be able to see those pipline/payloads in SXMB_MONI. If you need to see it you need to set runtime LOOGING = 1 in SXMB_ADM. For eg. if you are doing a scenario HTTP to SOAP sync call you will not see those messages in SXMB_MONI.

<i>>>>Asynchronous: errors made persistent</i>

Yes, its exactly opposite to Sync. Unlike Sync you will always see the message in SXMB_MONI even without the LOGGING = 1. You just need to set the Trace level.

For eg. File to IDOC is a classi example of ASync. In this case how can we send back the error.

Regards,

Prakash

Answers (1)

Answers (1)

agasthuri_doss
Active Contributor
0 Kudos

Dear Hari,

Synchronous :

The system will wait for the response from the sender system and to my knowledge synchronous messages cannot be reprocessed.

Asynchronous :

The system will not wait for the Response from the sender system.

This will help you

/people/r.eijpe/blog/2006/04/20/the-d-xie-soap-part-2-xi-design-decisions-for-synchronous-or-asynchronous-messaging

http://help.sap.com/saphelp_nw04/helpdata/en/20/46e3e5975b4de49f222519dd2b7dee/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/ec/05683ce3fbfd47e10000000a11402f/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/91/c4d03859f511d29bd90000e8a47b2e/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

Regards

Agasthuri Doss