on 10-09-2007 6:15 AM
hi folks,
what is the use of fault message type in message mapping . where do we use them .please spare a little time to type rather to refer to other blogs. have a nice day
Hi Mr. Bose,
We use Fault message whenever we need to catch some exception.Let me give some example.I have worked in a scenario SOAP to Proxy where I need to send the article no and i will get all the details from R/3..Now my client has given me some cases where we need to catch the exception.
for example
1) R/3 system is down
2) Article not present in the database
2) Article does not exist etc..
In such cases i have to use fault message.If any of the three of above holds i have to get a error message and i will get it via fault message.i mean i will get the response as error message.
I think it makes some sense for u.
regrads
BILL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi bose,
generally fault message are implemented in syncronous cases.But yes u can do it in asynchronous also.
Suppose u r just posting some data to R/3 system.U dont want any response or acknowledgement.In that case also u can go for fault message implementation.(actualy it depends upon the requirement).Now if R/3 system is down. u will get an error message..likewise for other cases also.Follow the blogs
Better u check these thread of similer taste...
Regards
BILL
prathiba , abhishek , anusha hope you have seen the question
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>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.</i>
Its created in the same as u cretae other message types but used under separate category in message interfaces,as u create it a predefined strucuture is automatically added,
rest the links posted wil make more crystal clear..
regards
pratibha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bose
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.
Also please go through the link below to get the details for fault messages...
http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm
fault message is a message that describes an application-specific error situation
we have standardised fault message in XI.
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
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
See the below links
http://help.sap.com/saphelp_nw2004s/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm
/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
You can use Fault messages when you want to handle errors at the Inbound side ie at the destination side.
check this nice blog also
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
Fault Messages
http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm
Usage of Fault Messages in Synchronous interfaces
/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client
usage of fault messages in asynchronous interfaces
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
Have a look at "/people/sap.user72/blog/2006/01/16/xi-propagation-of-meaningful-error-information-to-soap-client"
for more details have a look on these links
<b>
Fault messages -</b> /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
Also ref:
<b>Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -</b>
/people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
check this out
http://help.sap.com/saphelp_nw04/helpdata/en/5d/a45c3cff8ca92be10000000a114084/content.htm
demo - /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1 - this is sure to help you.
Thanks!!!
Regards
Abhishek Agrahari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Fault messages are used to propogate / send back the error message to the calling application. This is used when there is a failure and the sending system needs to know what the error was. This is more of catching Application Errors
go through this demo /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fault messages are used to sent application error back to sender
/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.