This extension documentation is now deprecated and will no longer be updated. We recommend using the new SAP GUI and ABAP Platform extension for improved functionality and support.
Learn how to monitor your SAP ABAP platform using the SAP ABAP ActiveGate extension.
S_RFC
16
/SDF/GET_DUMP_LOG
, GET_SYSTEM_TIME_REMOTE
, SWNC_GET_WORKLOAD_SNAPSHOT
, TH_SERVER_LIST
, TH_USER_LIST
, RFC_METADATA_GET
, RFCPING
, RFC_GET_FUNCTION_INTERFACE
, DDIF_FIELDINFO_GET
, RFC_READ_TABLE
(Querying the TBTCO table when reporting on jobs)FUNC
/SDF/E2E
03
S_RZL_ADM
03
S_TOOLS_EX
S_TOOLS_EX_A
S_TCODE
SM51
Configure the SAP Java Connector on the ActiveGate host
sapjco3.jar
file into the JCo
folder, as configured below when adding a new monitoring endpoint (step 7 in extension installation).sapjco3.dll
(Windows) or libsapjco3.so
(Linux) into the JCo
directory.JCo
folder.In Dynatrace Hub, select SAP GUI and ABAP platform.
Select Download to get the extension ZIP file. Don't rename the file.
Unzip the ZIP file to the plugin_deployment
directory of your ActiveGate host. If the resulting directory structure isn't
.\plugin_deployment\<EXTENSION-SPECIFIC-DIRECTORY>\
where <EXTENSION-SPECIFIC-DIRECTORY>
is the name of the directory containing the files for this extension, make the necessary changes.
If you're planning to monitor user activity, create a new custom application.
Monitor custom application
.Application ID
that is generated for your custom application. The Beacon URL is not used, as the extension sends the data back via the ActiveGate where the extension runs.In Dynatrace, go to Settings > Monitoring > Monitored technologies and select Add new technology monitoring > Add ActiveGate extension.
Select Upload extension and upload the ZIP file.
Enter the following information to connect to your SAP host:
Setting
Details
Endpoint name
Enter a meaningful endpoint name. The name will only be visible on the configuration page.
Connect via message server
Connect to the SAP application server via a message server. Once the list of SAP application servers is collected, the extension connects directly to the servers. If the message server is down, the availability of the SAP application servers behind the message server will not be collected. To detect and configure alerting for such a state, set up a missing data alert custom event that alerts on the condition if data is missing
.
SAP application server address
The IP or host name of the SAP application server. Not used when connecting via a message server.
Instance ID
The instance ID to connect to (this is a numeric, two digit value). Not used when connecting via a message server.
System ID
The system ID to connect to. Only used when connecting via a message server.
Message server host name or address
The IP or host name of the message server. Only used when connecting via a message server.
Message server port number
The port that the message server is listening on. Only used when connecting via a message server.
Group/server
The group/server configured on the message server. Only used when connecting via a message server.
Keystore path
Path to keystores if required for the connection, defined as SECUDIR.
Username
The username for the account connecting to the SAP application server.
Password
The password for the account.
Client number
The client number to use for the connection.
Poll all clustered SAP instances
Instead of creating one endpoint per SAP instance, this option polls all clustered SAP instances at once.
Use 'SAP server' as the application server name
Instead of the custom device using the name returned by the application server instance, use the value entered in SAP application server address. Not possible when polling all clustered SAP servers.
Path to a JCo destination file
optional If a specific destination file is required to connect to the SAP server, enter the path here. This will override all of the above settings except for the keystore path.
SAP JCo folder
The folder containing the sapjco3.jar
and the native Java Connector file.
Task types to report on
Comma-separated task types to report on, the rest will be combined. The possible task types are: NONE, DIALOG, UPDATE, SPOOL, BCKGRD, ENQUEUE, BUF.SYN, AUTOABA, UPDATE2, NATIVE_RFC, PLUGIN, AUTOTH, RPCTH, RFCVMC, DDLOGCLEANUP, DEL.THCALL, AUTOJAVA, LICENCESRV, AUTOCCMS, MSADM, SYS_STARTUP, BGRFCSDL, BGRFC, APC, OTHERS, DINOGUI, B.INPUT, HTTP, HTTPS, NNTP, SMTP, FTP, LCOM, HTTP/JSP, HTTPS/JSP, AUTO_RFC, WS-RFC, WS-HTTP, ESI, ALE, RFC and CPIC
Enable debug logging
Select this only if a Dynatrace product expert requests it to investigate an issue.
Report on application server metrics
Report on application server metrics to a custom device.
Report on user sessions and actions based on Tcodes to a custom application
Select this to create user sessions and user actions based on the customer-executed Tcodes. This functionality requires a custom application to be created.
Report on RFC usage metrics to the metric ingest API
The extension collects the RFC usage metrics using the Dynatrace Metrics API v2 ingest channel. Use Data Explorer to access the collected metrics. The metric names start with the sap.rfc
string. The metrics are not assigned to the custom device. Select whether to only report on the servers communicating to/from the SAP Application server, or to additionally split up the metrics on individual function names.
Report on job metrics to the metric ingest API
The extension collects the jobs metrics using the Dynatrace Metrics API v2 ingest channel. Use Data Explorer to access the collected metrics. The metric names start with the sap.job
string. The metrics are not assigned to the custom device.
API token with the access scope 'Ingest metrics'
Used only if RFC monitoring is enabled. Used by the extension to send RFC-related metrics to Dynatrace.
Tenant or environment ID
Used only if RFC or user session reporting is enabled. The tenant ID for Dynatrace SaaS can be found in the URL. For example, if the URL is abc12345.live.dynatrace.com
, the tenant ID is abc12345
. The environment ID for Dynatrace Managed can be found in the URL after /e/
. For example, if the URL is my.dynatrace.server/e/12345-abcde/
, then the environment ID is 12345-abcde
.
The Application ID of the custom application
To create user sessions, fill in the Application ID you are prompted with after creating the custom application.
Inactivity time out (in minutes) when capturing user sessions
Enter a number between 5 and 30, default is 30.
Capture usernames as part of the user sessions
Select to capture usernames.
Use terminal name for end user location
When capturing user sessions, use the IP resolved from the first 20 characters of the terminal name instead of the SAP returned user IP. This is useful when the application server does not know the client IP, for example when the users connect via SAP Router.
Display best practice upper boundary
Adds an upper boundary line to the performance metric charts on the custom device.
Poll once per five minutes instead of once per minute
Reduces overhead on SAP application server, but lowers the granularity in charts and delays data retrieval. During heavy load on the SAP application server this might cause the SAP server to not send all user actions to Dynatrace.
Path to a Java executable version 8+
The SAP extension uses the SAP Java Connector to communicate with SAP. Due to this it is required to have Java installed on the ActiveGate. Enter the path to a Java 8+ executable such as C:\Program Files\Java\jre1.8.0_251\bin\java.exe or /usr/bin/java
.
It is recommended to not use the Java Runtime Environment that comes bundled with the ActiveGate as that can cause issues during ActiveGate upgrades.
Use the same bitness as the Java Connector, if you downloaded the 64-bit JCo package, use a 64-bit Java.
See Troubleshoot ActiveGate extensions.