cancel
Showing results for 
Search instead for 
Did you mean: 

activity monitoring in 7.0

Former Member
0 Kudos

hi friends,

I have a scenario, HTTP Proxy->PI->JMS.

If JMS adapter fails to connect to receiver, jms adapter tries to deliver the message 5 times and message is set to NDLV status.

Requirement is to trigger a inbound interface to SAP based on adapter failure in AE.

I am currently on PI 7.0 SP16. Is it possible to achieve this?

thanks,

sachin

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos

HI Sachin,

If you are open to use ccBPM, you can design your scenario like this.

YOu will have a receive step, then a transformation if needed, then a you will have a Block step which will contain a send step which will send the message to the receiver system.

Then you will have exception branch in the block step, which gets automatically triggered if the send fails.

In the exception branch, you can have another send step to trigger the inbound interface in R/3 system.

Regards,

Ravi

Former Member
0 Kudos

Thanks for reply Ravi,

BPM seems bit of overkill for the error handling. PI 7.1 has BAM (business activity monitoring) but I am looking at options in PI 7.0 as infrastructure already exists in SP 16. Not sure if the activity monitoring scenario can be implemented using alert management.

Any pointers?

sachin

former_member200962
Active Contributor
0 Kudos
Then you will have exception branch in the block step, which gets automatically triggered if the send fails.

The exception occurs in AE (as per the requirement) and once the message is out from IE it will show success flag in MONI...the process wont be termed as failure (rather the BPM wont throw/ catch an exception) if anything goes wrong in AE.....

If you want to get back the error from AE into your BPM you may need to use the Acknowledgement --->Transport setting in your Send Step.....this setting is not reliable as it will keep on sending -ve ack from AE into the BPM for each send try/ failure....so in your case you have 5 retries...so you need to catch all the 5 responses and decide if the send from AE was success or failure...

All the above things applicable only if a BPM implementation is considered.

If the concern is only to raise an alert if communication with JMS fails then check this blog:

/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function

If SAP interface is to be triggered (based on failure) then BPM can be (needs to be) considered.

Regards,

Abhishek.