Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
volker_vongloeden
Product and Topic Expert
Product and Topic Expert
4,455
When customers are implementing Business Process Monitoring in SAP Solution Manager they can usually live with 95% (or even more) of the provided standard monitoring features. But of course customers wouldn't be customers if they weren't looking for customer-specific requirements time and again which are not covered per default. As Johannes Fleig explained in his SDN Blog about the New Business Process Monitoring functionalities in SAP Solution Manager - Customer Exit there exists a complete customer exit framework where you can create your own key figures very flexibly and possibly with complex selection criteria. This can be usually achieved within 1-2 days.

But often the monitoring requirements (though customer-specific) are very simple, i.e. a simple select on one (often customer specific Z-)table where it should be checked if certain entries have been inserted or where it should be checked how many entries have been created during a certain time frame. For these cases you usually don't have to work with the Customer Exit. In those cases it is usually sufficient to use the so-called  Table Entry Counter which allows a simple select on one table with five different fields for the where clause. The implementation shouldn't take you much longer than 5 minutes!

 

Simple example for the Table Entry Counter

Let's take a very simple (perhaps also artificial) example to give you an idea what can be achieved with the Table Entry Counter. We want to monitor how many sending errors we had yesterday by using SAP Connect (transaction SCOT).

In a first step you access the service session for Setup Business Process Monitoring as always. You select the business process and the business process step where you want the new key figure be assigned to. Then you select the Monitoring Type Application Monitor: Cross Application.

You save and navigate to the new tree branch. There you select the Monitor Name Table Entry Counter (BOTABCNT) via F4 value help and give it a speaking name (here: SAP Connect errors). You select the monitor, save the new settings and navigate to the new tree branch.

Here you can choose from two possible key figures:

- "Number of Counted Entries" (with given filter criteria)

- "Number of Distinct Values" (on single field name and with given filter criteria)

 

For our purposes we select the first key figure Number of Counted Entries.

Then we navigate to tab strip Detail Information where we double-click on the Counter field 001. A pop-up window opens where we can specify the table we want to select from (here: SOES - SAPoffice: External send operation) and we specify the table fields with the respective value that we want to use for the where clause. Customers of require dynamic selections when it comes to dates. This is also possible with the right usage of key words (here: we want to select always from the previous day and hence specify $TODAY-1)

Then we navigate to tab strip Monitoring Schedule in order to specify when the data collection should take place (here: we want to monitor every working day. As we want to collect 15 minutes past midnight and collect from the previous day we have to specify Tuesday to Saturday and not Monday to Friday).

As a last step you Generate and Activate the new monitoring customizing as always. Then you are all set and you created your new key figure in 5 minutes. Plus the 10 minutes reading now of course. But creating a new key figure within 15 minutes in total is still not bad, isn't it? You can use a coffee break for it....

More  technical details about this Table Entry Counter and more available key words for dynamic date selection are described in the Setup Guide for Table Entry Counter under http://service.sap.com/bpm > Media Library > Technical Information or directly here http://service.sap.com/~sapdownload/011000358700000767792010E

 

 

Frequently Asked Questions about Business Process Monitoring are answered under http://wiki.sdn.sap.com/wiki/display/SM/FAQ+Business+Process+Monitoring.

 

The previous blogs provide further details about Business Process Monitoring functionalities within the SAP Solution Manager.

3 Comments