cancel
Showing results for 
Search instead for 
Did you mean: 

Fault Message in Asynchronous

Former Member
0 Kudos

Dear Friends,

In Message interface there is a option to select synchronous or asynchronous. If we select synchronous the fault message appearing and if select assynchronous the fault message disappearing, then in this case how can we do fault handling.

Thanks

Prem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Fault message is send by the receiver system.

In an asynchronouse scenario, You can do acknowledgements.

See this help for proxy

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

Answers (3)

Answers (3)

Former Member
0 Kudos

answered

ParvathyS_SAP
Product and Topic Expert
Product and Topic Expert
0 Kudos

Fault messages are provided in WSDL for handling application errors

You can create fault message types explicitly for message interfaces in the XI IR. You can use fault messages to handle errors triggered by the called application or persist them for monitoring purposes

Synchronous Communication (Inbound/Outbound/Abstract):

An error is triggered at the receiver that is providing a service; the error is handled by the sender that called the service.

Asynchronous Inbound Interface:

Fault messages are not used here to handle an error at the sender. The fault message generated by the triggered error is persisted for monitoring instead.

Fault message type:

http://help.sap.com/saphelpnw04/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm

For PROXY runtime:

http://help.sap.com/saphelpnw04/helpdata/en/f3/c26c3cbfac384fe10000000a114084/frameset.htm

http://help.sap.com/saphelpnw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm

Former Member
0 Kudos

hi

A fault message is a message that describes an application-specific error situation.

Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.

· In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.

· The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments).

Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information.

http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm