cancel
Showing results for 
Search instead for 
Did you mean: 

Fault Message Type

Former Member
0 Kudos

Hi,

The scernario is of XI->CRM.In the inbound message interface(Proxy interface) the inbound message which is used is taken from external definitions.

For the fault message type, I have taken the inbuilt data type(Exchange Fault Data).

The problem is that the they have different namespaces as the inbound message is taken from a external definition.

While regenerating the proxy the following error is shown on CRM side <b>"Interface uses Internal and External message definitions".</b> Hence the proxy cannot be regenerated.

Can anybody put light on this issue?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

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

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

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"

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

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

regards

sasi...

<b>Reward if useful</b>

Former Member
0 Kudos

Aditya,

I guess u r using the XSD from different namespace.

try to create the XSD in the same namespace where u created fault message type....very simple ...just copy the XSD to the required namespace....

After modifying evrything neede.. try to generate proxy ..it should work...

Also check. these links...for better understanding...

Fault message implementation.

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

How to Guide

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40574601-ec97-2910-3cba-a0fdc10f...

regards

biplab

Former Member
0 Kudos

Hi Aditya

have a look on these links for XI-CRM

Check here-

Go to https://websmp102.sap-ag.de/instguides->mySAP Business Suite Solutions->mySAP CRM

There are some pre-delivered content from the SAP . You can see this from sap service market place. Here you go

Go to https://websmp102.sap-ag.de/instguides->mySAP Business Suite Solutions->mySAP CRM

CRM Learning-

https://websmp203.sap-ag.de/rkt

This weblog will help you....

/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically

Thanks !!