cancel
Showing results for 
Search instead for 
Did you mean: 

Exception not caught in BPM

samiullah_qureshi
Active Contributor
0 Kudos

Hi all,

I am doing a scenario using BPM.In which I called SAP and several webservices synchronously.I also define Fault messages in the abstract synchronous message inetrface and

used those message interface to send message synchronously to SAP and webservices in blocks. In those blocks I insert exception branches and attach those exception branches to synchronous steps for both system error and fault message.

Now while executing scenario some times system error and application exception are caught properly in BPM, but sometimes it doesn't catch exceptions for system error and application exception.

Please, can anyone give me a valid reason for this behaviour.

Thanks in advance

Regards,

Sami

Accepted Solutions (0)

Answers (2)

Answers (2)

samiullah_qureshi
Active Contributor
0 Kudos

Hi

Problem was with our RFC that was developed with new namespace so BPM was able to recognize the exception message of RFC.After applying SAP note1158699 our problem was resolved.

Regards

Sami

Former Member
0 Kudos

Hi,

Some of the suggestions for exception handling-

1) non availability of the Webservice, connection problem etc. For this either you can acheieve Send Step with Acknowledgement mode or Alerts configured for Adapters

2) Application Acknowledgement-Webservice is given any error for the data. You can handle that thru email from XI etc

3) Error in updating the R/3 system

4) Timeout delay while calling Webservice

So for these you can configure Alerts.

Alert management is required to notify runtime errors/abnormal errors during runtime. SO it will notify the user/admin person as per the requierements so that you can avoid some of the delay in the process etc..

About Alert Management-

http://help.sap.com/saphelp_nw2004s/helpdata/en/93/40a442b024b211e10000000a155106/content.htm

Please check the links below:

This will help you

http://help.sap.com/saphelp_nw04/helpdata/en/16/62073ced568e59e10000000a114084/frameset.htm

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

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/1b9259fb002be8e10000000a11466f/frameset.htm

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

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Use of Exception Handling is a very essential step inside your BPM and the best thing to do would be to wrap each of your Send / Transformation inside a Exception Handling block.

You can use Moorthy's blog on Reocnilation as well as trigger alerts.

/people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm

hope this will help you, For further queries you can revert back.

Plz reward with point sin case you are satisfied.

Regards,

Sushama