cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Fault Messages and Alerts

Former Member
0 Kudos

Hi,

I wnt to know the difference between fault messges and alerts and when to go for alerts and when for fault messages.

plz let me know and suggest me any links

Thanks,

srini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

As explained above

Fault Messages :

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

When synchronous communication ,If you want communicate the fault message instead of response you can send through Fault messages based on predefined conditions.

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.

Alerts :

An alert is a notification informing its recipients that a critical or very important situation has arisen. The situation is as severe that an action must be taken immediately in order to resolve the situation. The system recognizes the situation and sends the alert

Alerts are used to send an alert to user in certain situation in messages process.Say for example you can send the alert in system error , apllication error,processing error through mapping or through Integration process.

Alerts can be used to prevent delays in the processing of critical situations, because the time between discovering and responding to such situations is reduced considerably.

Please see the below links to get more details...

Fault messages

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

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf08...

/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

Alerts

http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/bb/f0033c128f4a7de10000000a114084/frameset.htm

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

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config

Alert -- /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide

Alerts with variables from the messages payload (XI) - UPDATED - /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

Regards

Chilla..

Points rewarded if it is helpful..

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Fault messages are used to propogate / send back the error maessage to the calling application. This is used when there is a failue and the sending system needs to know what the error was. This is more of catching Application Errors.

Alerts are used for Monitoring in production environment. Alerts allow users to be intimated of any System Errors that can occur in the runtime automatically.

They are not used by End Users but used by the Operations Team to make sure that if there is an error, automatic notification is available.

Regards

Bhavesh

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Fault messages :

Fault messages generally used for used for synchronous interfaces assume when a proxy is generated from a message interface an exception class is generated for a fault message type. You use this exception class to handle application errors at runtime.

Alerts :

System error , Runtime errors, Mapping errors , Application system is down, Adapter engine is down we can give an Alert.

This will help you

Regards

Agasthuri Doss