Skip to Content
Author's profile photo Former Member

New Business Process Monitoring functionalities in SAP Solution Manager – qRFC Monitoring

Further issues of this blog

You can find an introduction to Business Process Monitoring in SAP Solution Manager in the SAP Business Process Monitoring within SAP Solution Manager of this blog. There, all further blogs dealing with various aspects of Business Process Monitoring are linked. The blog will be updated regularly.

qRFC Monitoring

Today’s blog covers the new qRFC monitoring functionality of SAP Solution Manager, which is available as of ST-A/PI 01K (February 2008).

The standard way to monitor the correctness of outbound and inbound qRFC entries would be the usage of the qRFC monitoring transactions SMQ1 (outbound queue monitor) and SMQ2 (inbound queue monitor). However, this is a manual task that must be done regularly.With SAP Solution Manager’s Business Process and Interface Monitoring you can automatize this task by monitoring the important inbound and outbound queues, to generate alerts at either backlog situations (many unprocessed queue entries) or entries in irregular status.

Background Information

Up to ST-A/PI 01K, integration of qRFC monitoring into SAP Solution Manager’s Business Process Monitoring Session was only possible using an unflexible standard CCMS content. Now, qRFCs Monitoring is completely integrated into the application monitor functionalities of SAP Solution Manager. That means: different monitoring objects (e.g. queues within different queue groups) can be handled separately, as each monitoring object can be customized with its own own selection criteria, its own data collection frequency, and its own alerting thresholds, which would not be possible using CCMS content only. In addition, there are a number of new key figures available which cover the most typical business scenarios.

 

The new qRFC monitor allows monitoring the qRFC processing and its individual queues for two aspects:

  • qRFC Backlog Monitoring = Key figures related to the number of queue entries and their oldest age
  • qRFC Status Monitoring = Key figures related to the status of queues and since when it occurred

This way you can be notified if the number of queue entries is higher than expected, the age of the oldest entry of the queue is too high as well as the combinations. 

qRFC Status Monitoring includes two different severities: Critical queue states and interim queue states. These status severity classes serve to hide the complexity of many individual status codes from the end user. Each status code has been assigned to the “critical queue states” (= immediate problem) or the “interim queue states” (= problem only if states persists too long). So you get different key figures for each severity to enable deviating alert thresholds.

 

Prerequisites
  • SAP Solution Manager: optimally as of 4.0 with ST-SER 2008_1 and newest support package
  • Satellite System: ST-A/PI 01K, for SAP BASIS 4.6C and later           

For the recommended Solution Manager Diagnostics (SMD) integration (the qRFC data collector has the ability to re-use the already collected SMD results for alerting purposes; but there is also the possibility to directly select the needed key figures from the database):

  • ST-PI release 2005_1 for Basis release 6.20 or later

  • ST-PI minimum support package level depending on Basis release

 Basis release 6.20

SP08 (SAPKITLQG8) 

 Basis release 6.40

SP08 (SAPKITLQH8)

 Basis release 7.00

SP06 (SAPKITLQI6)

 Basis release 7.10

SP04 (SAPKITLQJ4)

 

In case those prerequisites are not met, there are also other possibilities to setup qRFC monitoring for your systems. See the Setup Guide Interface Monitoring for details.

 

Setup in SAP Solution Manager

The setup is as easy as for the IDoc Monitor (presented in the New Business Process Monitoring functionalities in SAP Solution Manager – ALE / IDoc Monitoring). Starting point is the definition of qRFC monitoring objects. You can choose between key figures for status and backlog monitoring:

Status Monitoring

•          Number of entries with critical status in group

•          Age of oldest critical status in group

•          Combination of “Entries” and “Age” in critical state

•          Number of entries with interim status in group

•          Age of oldest interim status in group

•          Combination of “Entries” and “Age” in interim status

Backlog monitoring

•          Number of individual queues in group

•          Total number of entries in all queues of group

•          Average number of entries per queue in group

•          Maximum number of entries per queue in group

•          Age of oldest entry in group

•          Combination of “Total entries” and “Oldest age”

Usually it is not necessary to include all the key figures. Choose those that bring the most meaningful information to monitor your business processes and are most adequate for defining thresholds.

In addition, the queues to be monitored have to be specified with the following customizing options:

•          qRFC direction (inbound or outbound)

•          RFC destination (for outbound calls only)

•          Queue group (= prefix to group queues with similar names)

•          Command string of SMD qRFC backlog collection

•          Command string of SMD qRFC status collection

Object Level

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

On key figure level, thresholds for each selected key figure have to be defined:

 

Key Figure Level

 

 

 

 

 

 

 

 

 

 

In the Business Process Monitoring Session the measured and – according to your customizing – rated values are listed. You can use the ‘Detail info’ button to navigate into the monitored system: This automatically chooses the right monitor for either outbound (SMQ1) or inbound (SMQ2) qRFCs according to your customized parameter. Furthermore, the queue group and the destination are used for selection, and in case of a status key figure also the SMQ1/SMQ2 option ‘Waiting Queues Only’.

 Detail Information
  
  
  
  
  
  
  
  
  
  
  
Next Blog

In the next issue of this blog, we will deal with the topic Data Consistency Monitoring (as already announced in the first blog). The blog will be available next week.

Assigned Tags

      11 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      Good one Johannes Fleig.
      Keep it up !!!

      Thanks.

      Author's profile photo Former Member
      Former Member
      Good one Johannes Fleig.
      Keep it up !!!

      Thanks.

      Author's profile photo Former Member
      Former Member
      keep it up.
      valuable and good information
      Author's profile photo Former Member
      Former Member
      can i retrieve the deleted Queue message for reprocessing? where can i see the deleted queue information

      Muthu

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Muthu,

      I'm not sure if I understand correctly what you mean with "deleted queue". In BPMon we don't have any key figures that search for deleted queues thus it's also not possible to find more information on that when you check later on your alerts. But maybe I got you wrong? If yes please let me know.

      Thanks,
      Johannes

      Author's profile photo Former Member
      Former Member
      FOR EXAMPLE , from ECC to SRM , we transfer a Purchase request to SRM from ECC, Queues are struck and by mistake basis guy delted all the  queues.

      How can i reprocess the deleted queue ? IS BP mon table or transaction.

      where all deleted queues are stored?
      Thanks very much for your sincere replies.
      Muthu

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Muthu,

      the BPMon (Business Process Monitoring) is a tool within SAP Solution Manager which enables you to monitor for critical situations within your solution landscape. This can be either application or technical related issues. For example, as described in the blog we can monitor also if any qRFCs are stuck or if any backlog within the queues exists. But there's no way to monitor for deleted entries within the queues. You neither can find the deleted entries in a certain table.

      There's no general answer on how to reprocess any data that was deleted by mistake. It depends very much on the systems involved and the application which created the data. In any case you need to take care that you don't create any data inconsistency by sending out data again that was already sent out.

      If you're not sure on how to process your issue I would recommend to open a customer message on this.

      Regards,
      Johannes

      Author's profile photo Former Member
      Former Member
      Hi,

      Where can i customise my Queue groups, i want some specific group for QRFC mon..not getting it.

      Thanks
      Kiran

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Kiran,

      what do you mean exactly? Is it where to maintain the queue group name in the Business Process Monitoring setup? This is done in corresponding parameter "Queue group". You can use a wildcard character to sum up all queues starting with the same prefix that should belong together.

      Or are you interested in how to create queues with a certain name that you want to use for monitoring? Basically, that's done in the calling application. The caller has to provide the name of the queue that should be used to process the RFC call.

      Best regards,
      Johannes

      Author's profile photo Former Member
      Former Member

      Thanks Johannes and Other Folks for this valuable discussion,

      I am trying to setup a Business Process Monitoring.. Initially just  to setup a IDOC monitoring. SAP Setup documents are little confusing.

      Solution Manager version 7.1 SP05

      Any help will be appreciated.

      Thanks

      sam

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      HI Sam,

      thanks for your post. We're always interested in getting feedback regarding our documentations like the Interface Monitoring Setup Guide. But without knowing what is confusing for you it's hard to help... Can you give us some more details?

      Thanks and regards,

      Johannes