cancel
Showing results for 
Search instead for 
Did you mean: 

Exception handling in inbound proxies.

Former Member
0 Kudos

Hi,

I am working on a scenario in which some data is being updated from a legacy system to CRM through XI. At CRM end, we are using Inbound proxy to recieve the data and update using standard FM.

Now my query is how to handle any runtime/application specific exceptions in CRM and send back to XI for reprocessing.

One option is to include the fault message type in the inbound interface and send back the error response from SAP end.

Please send me some information on this approach and suggest anyother option which can be used.

The more ellaborative( if possible with screenshots) u can be , the better.

Looking forward to XI GURU's help on this.

Thanks,

Raj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

XI leaner,

use fault message type to send back the error or exception from proxy.

check the blog which is similar one by Shabz.

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Query was solved with above inputs

prabhu_s2
Active Contributor
0 Kudos

in ur inbound proxy u can call the method that is implemented for o/b proxy. the idea behind this is when u have an exception raised in the f/n mod, the error text can be read using formatted using read_text f/n mod and parsed to an o/b interface or it can be handeled using fault message types. also u can have alert config in place and call the f/n mod create_salert for trigger alert from proxy

<b>note:</b> A fault message type can only be used with ABAP/Java Proxies. You cannot use it in a file/IDOC scenario.

Fault message types are not permitted for asynchronous outbound message interfaces.

<a href="/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1 Message Types - A Demo (Part 1)</a>

Former Member
0 Kudos

Yes, in this scenario i am using abap proxy generation at Asynchronous Inbound i/f.

I think i m gng to use the fault messsage type appraoch, so can u guide me more on this.

Prabhu: Can u plz provide me some more info/blogs/mails on how to use the alert config in XI. We have to send these exceptions from CRM to XI. Can it be used with fault message type in this i/b i/f only.

If yes then plz gv me a dummy structure for the same.

Thanks a ton for your help and guidance.

Former Member
0 Kudos

HI,

Yes you can use it Fault message,

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

See also for Alerts

/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

/people/sap.india5/blog/2005/12/06/xi-ccms-alert-monitoring-overview-and-features - CCMS Alert Monitoring

Triggering XI Alerts from a User Defined Function - /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

blogs for alerts

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=alerts&cat=sdn_weblog

http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/9c/34193cb4f5131de10000000a11405a/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/3e2d4105f8d92be10000000a1550b0/content.htm

Regards

Chilla.

reward points..