LogoLogo
  • Welcome
  • Overview
    • Architecture
      • API Server
      • Sizing
    • Dashboard Overview
    • Monitoring Concepts
      • Application Performance Management
        • Availability Monitoring
        • Performance Intelligence
        • Service Level Management
        • Synthetic Transaction Management
        • Alerts Management
        • Reporting & Analytics
      • Infrastructure Monitoring
      • Unified Monitoring
    • Automation Concepts
      • Definition of Terms
      • Infrastructure as Code
        • Project Structure and Organization
        • Setting Up IaC Environment
        • Infrastructure Provisioning
        • Configuration Management
      • SAP Basis Automation
      • Automated Migration
  • User Guide
    • Onboarding
    • Setup
      • Gateway Setup
        • Gateway Network Setup
        • IT-Conductor Gateway Setup on Windows
        • IT-Conductor Gateway Setup on Linux
        • IT-Conductor Gateway Setup on AWS
        • IT-Conductor Gateway Setup on Azure
        • IT-Conductor Gateway Setup for SAP Secure Network Communications (SNC)
      • API Server Setup
      • MSP Tenant Setup
      • SSO Setup
        • Azure ADFS Identity Provider
        • Azure Active Directory (AAD) App Gallery
    • Monitoring
      • General
        • Maintenance Mode
          • Manual Maintenance
          • Scheduled Maintenance
        • Central Syslog Server Monitoring
        • URL Monitoring Locations
      • Cloud Monitoring
        • AWS Monitoring
        • Microsoft Azure Monitoring
      • Database Monitoring
        • IBM DB2 Database Monitoring
        • Microsoft SQL Server Monitoring
        • Oracle Database Monitoring
        • SAP HANA System Monitoring
          • SAP HANA Scale-Out Monitoring
          • SAP HANA Overview Dashboard
          • SAP HANA Alert Management
        • SAP ASE Database Monitoring
        • SAP MaxDB Monitoring
        • HA/DR Monitoring
      • Infrastructure Monitoring
        • File Server Monitoring
          • File Watcher Monitoring
        • Git Server
        • OS Monitoring
          • Unix/Linux System Monitoring
            • Linux Network Interface Monitoring
            • OS Printer Monitoring
          • Windows System Monitoring
            • WinRM Adapter Configuration
              • WinRM Services Configuration
              • Domain User Access
              • WMI Namespace Access
              • Windows Service Configuration
        • VMWare vCenter Monitoring
      • SAP Monitoring
        • Business Process Monitoring
          • Business Process Composer
          • BDoc Monitoring
          • IDoc Monitoring
        • SAP BusinessObjects Monitoring
          • SAP BO Data Services Monitoring
        • SAP Cloud Connector Monitoring
        • SAP Host Agent Monitoring
        • SAP NetWeaver Monitoring
          • SAP ABAP System Monitoring
            • SAP Transports
            • Security Role Import
            • SAP ABAP Overview Dashboard
            • SAP CCMS Alert Monitoring
            • SAP Batch Jobs Monitoring
              • SAP Batch Job Monitoring for CCMS Alerts
              • Advanced SAP Batch Job Monitoring
            • SAP SLT & RFC Connection Monitoring
            • Print Spooler Monitoring
            • Workload Monitoring
              • Transaction Code Monitoring
              • SAP Workload Monitoring
          • SAP J2EE System Monitoring
            • SAP J2EE Monitoring Role
            • Keystore Views and Certificates Monitoring
            • SAP PO Application Monitoring
          • SAP Systems Administrator Panel
        • SAP Web Dispatcher Monitoring
        • LMDB Discovery
        • Team-Based Central SAP Download Manager
    • Automation
      • Migration
        • Oracle to AWS Migration
        • Oracle to ASE Migration
        • SAP on MSSQL to AWS Migration
        • S/4HANA to Cloud Migration
      • E2E System Refresh Automation
        • Frequently Asked Questions
      • Age-based HANA Backup Automation
      • Inbound/Outbound Queue Restart Automation
      • OS File System Cleanup Automation
      • OS Linux Pacemaker Cluster Error Management
      • OS Printer Queue Restart Automation
      • OS Linux Kernel Patching using ChAI
      • OS Linux System Reboot using ChAI
      • SAP Batch Job Restart on Error
      • SAP Kernel Update using ChAI
      • SAP HANA Account Activation using ChAI
      • SAP Transports using ChAI
        • Frequently Asked Questions
      • SAP User Unlock and Password Reset Automation
      • Start/Stop Automation
    • Reporting
      • Available Reports
      • Creating Reports
        • Service Health KPI Report
      • Scheduling Reports
        • Automated HANA Reports
      • Report Elements
      • Archived Alerts Reporting
    • Account Administration
      • Invite Users
      • Create Robot Users
      • Update Linux System Account Password After Expiration
    • Notifications
      • Alerts
      • Threshold Overrides
        • Threshold Overrides Variables
      • Notification Targets
      • Distribution Lists
      • Subscriptions
      • Custom SMTP Notification Providers
      • Integration Providers
        • Derdack EA Integration
        • ilert Integration
        • Jira Service Desk Integration
        • Microsoft Teams Integration
        • PagerDuty Integration
        • Slack Integration
      • On-Call Scheduling
      • Calendar Events
    • Diagnostics
      • Gateway Communication Dump Debug Mode
      • Running IT-Conductor Gateway from CLI
      • SAP CCMS Missing Data
    • IT-Conductor FLUX
    • SID-Refresh
      • Product Overview
      • Getting Started
      • Documentation
      • Release Notes
      • Frequently Asked Questions
      • Troubleshooting Guide
        • Component CRM_MIDDLEWA_CRM - CRM Middleware Configuration
        • Failure to Start the Java-based GUI
        • Inconsistencies found in the table TADIR
        • Java-based GUI Runs with Pixelated Fonts
        • No email message is created after sending an email in SO01
        • Program Run as root
        • SICF Wrong Credentials
        • SU01: Error in user management
        • External Resources
      • Pricing
  • Release Notes
    • Gateway
  • References
    • Open-Source Software
    • Support
Powered by GitBook
On this page
  • Collection
  • Aggregation
  • Monitoring Long-Running Transactions
  1. User Guide
  2. Monitoring
  3. SAP Monitoring
  4. SAP NetWeaver Monitoring
  5. SAP ABAP System Monitoring
  6. Workload Monitoring

Transaction Code Monitoring

PreviousWorkload MonitoringNextSAP Workload Monitoring

Last updated 8 months ago

Due to performance overhead and limited use, we transitioned workload monitoring from wholesale to custom configurations. Here are the instructions on how to add single TCODE monitoring.

Collection

Workload Statistics are not collected for all TCODEs anymore; to collect specific TCODE stats, you need to explicitly configure a retriever (or create a dedicated retriever).

Navigate to the system of interest in the grid, and click Retriever tool/leaf.

An inactive retriever, Stats Summary Retriever, is always created. For easy maintenance, make a copy for each type as needed:

  • For TCODEs selection

  • For TaskType (and TCODEs) selection

  • For User (and TCODEs) selection

  • Any combination of custom selector

Please be advised that a single retriever's Gateway/SAP overhead is repeated for each additional one. Stats Summary retriever always pulls/summarizes all STAT records for the interval; the On-Gateway retriever will enumerate all records returned from SAP and match them to the selector; only matching records will be posted to IT-Conductor. Busy SAP systems have thousands of STATS records per interval (normally 15 min), which will create a significant overhead, so try to consolidate these retrievers as much as possible.

Retriever Selectors

Add/Modify the Insertion Criteria records; the drop-downs will suggest the values.

You usually focus on:

  • SAPDialogStep.TASKTYPE

  • SAPDialogStep.TCODE

  • SAPDialogStep.TERMINALID

  • SAPDialogStep.ACCOUNT

All Insertion criteria work on an “AND” basis.

Use Exclusion criteria if needed, which will be applied after the Insertion Criteria so you can filter out undesired records.

Modify the Read Interval if needed (default 15 min). This interval is for calculating the summary records and calculating the repeat executions of the retriever.

If you set the interval to 30 minutes, then 30 min average records for each TCODE/TASKTYPE/ACCOUNT/TERMINAL/TimeStamp combination will be created; you will not be able to zoom in time-wise below that. If you change it afterward, you will need to update the associated aggregators, or the end data will not be accurate.

Aggregation

Consolidators

After the STAT Record objects (class SAPServiceAggregatorSTATSummaryTCODE) are created in IT-Conductor you need to configure the aggregation/threshold to make sense of the interval data. The individual TCODE Aggregators (SAPServiceAggregatorSTATSummaryTCODE) are automatically created (currently, the template is disabled for an overhead reason) however, you will need to configure manually the so-called Buckets (aka consolidators) that consolidate individual aggregator data into bucket data.

You can either create a new consolidator manually or add “source” to an existing consolidator. The “source” is a setup that defines the criteria for the inclusion of aggregators into the bucket. If you only need to monitor a single “standalone” TCODE you don't need a consolidator.

The Threshold (monitor) is auto-created for Consolidator. But for individual (standalone) TCODE aggregators, you will need to create one manually.

Threshold Override for Consolidators

Create a threshold override for Target Class=ConsolidatorSAPStats.

Threshold Collector

An alternative, more modern, and efficient way to aggregate the data is to use Threshold Collector (SAPStatSummaryThresholdCollection). Threshold Collector combines data record aggregation and value monitoring in one.

  • Select Value Attribute to form the drop-down menu (default - SAPDialogStep.RESPTI).

  • Select Application (SAP NW) from the drop-down menu (Optional).

  • Type in the SAP Account (Optional).

  • Type in TCODE Regex (any valid regex expression, case sensitive, use (?i) to turn off case sensitivity).

Important: Ensure you create objects when impersonating the tenant’s user or select the proper tenant owner if you are IT-Conductor administrator.

Upon creating the "Threshold Collector", a new Workload container will be created (if it doesn’t exist) and discovered under the SAP Grid; the threshold will also appear.

Note: We recommend creating "Threshold Collector" instead of old-style Consolidators, but if you need Bucket support with drill-down functionality (into individual TCODEs), the Consolidators are the way to go.

Threshold Override for Threshold Collector

Create a threshold override for Target Class=SAPStatSummaryTCODE.

Monitoring Long-Running Transactions

In SAP systems, long-running transactions refer to business processes or activities that take a significant amount of time to complete. These transactions can have an impact on system performance and overall efficiency. If your SAP system is experiencing performance degradation, it may be due to the long-running job execution time that is caused by an expensive SQL statement. Other causes and side effects of long-running transactions can also show up in areas like waits, blocking, locks, memory bottlenecks, high process, and CPU utilization, and timeouts.

Create Override Threshold for Long-running Background Activity

Getting started with monitoring expensive and long SAP SQL Statements is as simple as defining the recovery activity within the background job threshold override.

  1. Navigate to the IT-Conductor main menu → Support → Downloads and download and import the following IT-Conductor SAP Transport Modules into the target SAP System (v6.76.1 IT-Conductor Function Module MS1K900554)

This will enable batch job monitoring in your SAP system. When the runtime threshold is reached, it will display the ABAP SQL Statement that is currently being executed.

  1. After importing the transport, you must define the recovery activity for the job you want to monitor. In this case, let’s define a recovery activity for a background job.

  2. Navigate to Target System → Background jobs, then click on the Runtime gear icon → Override.

  1. Give the override a descriptive name.

  2. On the object criteria, fill out the following fields:

    • Elapsed Time

    • Target System (SID)

    • Job Name you wish to track

    • Owner of the job

  1. Set the threshold values and the alert message that will be displayed whenever the job elapsed time goes over the defined threshold. The message will display the objects selected in the object criteria section.

  2. Under the Recovery section, click on the drop-down arrow for recovery activities and select the predefined recovery activity for background jobs.

  1. Click on the Save icon.

A recovery action activity will also be triggered when an alert is generated for a long-running job.

Tracking In-Flight Time

You may also track the time in which a background activity exceeds the previously established elapsed time.

  1. Navigate to Target System → Background jobs → In-Flight Time.

Monitoring the In-Flight Time is crucial for performance analysis and optimization in SAP environments. This practice aids in tracking the elapsed time of a background job and the duration for which the job has been active and processed. High or unexpected In-Flight Times may indicate potential issues, such as performance bottlenecks or resource constraints.

Utilizing IT-Conductor to monitor In-Flight Time ensures the efficient use of resources and timely completion of tasks. The chart below provides a visual representation. By clicking on a data point, a pop-up window displays a list of jobs and their respective In-Flight times. This view can be expanded, and the time and other attributes can be sorted as required for detailed analysis.

Modify an existing one to include more TCODEs or create a one.

Type in Task Type list (comma-separated, optional, use Task-Type for numeric task type values).

You may choose to create an override from zero or .

new
Field Definition
create an override from a template
Figure 1: Modify Retriever Selectors
Figure 2: Add/Modify the Insertion Criteria Records
Figure 3: Sample Threshold Override for Consolidator
Figure 4: Modify Threshold Collector
Figure 5: Sample Threshold Override for Threshold-Collector
Figure 1: IT-Conductor Function Modules
Figure 2: Override Option for Background Jobs
Figure 3: Creating a New Override
Figure 4: Object Criteria for Overrides
Figure 5: Defining an Alert Message and a Recovery Activity for the Override
Figure 6: Tracking In-flight Time
Figure 7: In Flight Time Chart
Figure 8: Job In Flight Time Runtime