cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO Message Statistics/Summary

robert_warde4
Active Participant
0 Kudos

We have a requirement to provide summary message data – sender, receiver, successful message count, failed message county etc. – real time if possible. We tested two API’s, details below. One is too detailed and not recommended, the second is getting data from the performance tables and so is historical. In addition is returns stats for all messages. Not ideal. I have checked the service registry, SCN, SAP Support and Google but I can’t find anything relevant. I opened a customer message and arranged for a call with SAP Support but that was declined. SAP see this as a consulting request and not a bug. I know there must be something available but I literally checked every API published in the service registry. Looking at the URL path for the two API’s below I see they contain MDT. This is the old monitoring tool. The overview on PI Mon is perfect – I assume there must be something available there. Any suggestions please

AdapterMessageMonitoring is mentioned in SAP Note 1486734. To paraphrase. Please note that improper usage of the AdapterMessageMonitoring service can cause harm to the system, as it might slow down the overall message processing in the Adapter Engine and even cause memory consumption issues because of large result sets. The web service should furthermore not be called at high frequency (several times per minute).

MessageOverviewQuery provides summary data. The dataset returned is compact and as such would not cause any performance issues. However, it doesn’t display real time information (previous 12 hours, 7 days, 4 weeks, 12 months) and filtering is limited (date/time only). Hence if a user hits refresh at 12:45 they would only see data up to 12:00. https://blogs.sap.com/2012/06/27/michals-pi-tips-how-to-get-rwb-message-overview-data-to-an-external... & 1400785 - Message Overview: automatic query of data with a servlet

Accepted Solutions (1)

Accepted Solutions (1)

JaySchwendemann
Active Contributor
0 Kudos

I think you pretty much already have your answer. It boils down to either full and live data with low performance or aggregated historical data (15mins) that would from a pure payload perspective IMHO ideally fit your needs.

The only other option that currently comes to mind would be venturing in the area of Central PI Monitoring of Solution Manager. If you do not want to use SolMan itself, it might be beneficial to see how SAP solves Monitoring / Alerting for SolMan. See here for Starters: https://wiki.scn.sap.com/wiki/display/TechOps/Process+Integration+Monitoring + https://launchpad.support.sap.com/#/notes/0002228878. Escpically Consumer Proxy "CO_E2E_PI_ALERT_RULE_IN" in SolMan might be interesting.

However, I'm completely unsure if SolMan Central PI Monitoring even provides (near) real-time monitoring capabilities. So YMMV

Cheers

Jens

Answers (0)