cancel
Showing results for 
Search instead for 
Did you mean: 

About Fault messages?

Former Member
0 Kudos

Hi experts,

i have a senario where i have to create fault message,What is the use off fault message........To create the fault message sholud i create complete source structrue in data type of fault messsage.....can any one please send doc's and information on Fault message.

thanks & regards,

Phnani

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member529475
Active Contributor
0 Kudos

Hi Phani,

Fault message is a error meesage. Its like an exception in simple terms. The fault message is used to store a log for application error. Fault messages is defined in IR.

To give a overview on Fault messages it is mostly used in synchronous communication. When an error occurs at the inbound side instead of sending the response message back it sends a fault message back to the sender system to handle error.

Fault Message are Msg type that provided whenever u create a namespace..they are usually used to get the exception or error mapped which has occured while execution of Application at the sender/receiver end....

One scenario where i had used it from Soap to RFC where i defined the exception in rfc source code at r/3 end...I mapped that exception to Fault msg type that i created of my own type(didnt used the default)..

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.

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

check this nice blog also

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

http://help.sap.com/saphelp_nw2004s/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

Cheers...

Vasu

<b>** REward POints if found useful **</b>

Shabarish_Nair
Active Contributor
0 Kudos

i have documented a fault message scenario through my blog;

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

That will help you in designing a complete fault scenario.

Also ref:

Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -

/people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi

prateek
Active Contributor
0 Kudos
justin_santhanam
Active Contributor
0 Kudos

Phani,

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

Best regards,

raj.