For the complete documentation index, see llms.txt. This page is also available as Markdown.

RFC Destinations

RFC Destinations allow the ABAP Agent to connect to your SAP systems. The rfc commands let you create, test, and list RFC Destinations.

Verify the SAP time zone configuration

Before you begin, make sure that the SAP system and its operating system have the same time zone. If they don't match, the ABAP Agent won't be able to collect accurate time data.

In SAPGUI, use transaction SE16 to display table TTZCU and confirm that field TZONESYS contains the same time zone as the OS time zone. If not, then use transaction STZAC to correct the system time zone.

Create an RFC Destination

The rfc set command creates a new RFC Destination or updates an existing RFC Destination. It stores the details in your config.toml file, with your SAP username and password stored in an encrypted format. The rfc set command also runs rfc test to test the connection.

Syntax
slabapcli.exe rfc set --name <rfc> --hostname <hostname> --sysnr <sysnr> --client <client> --lang <language>
Parameter
Required
Description

--name

Yes

RFC Destination name (e.g. S21).

--hostname

Yes

SAP system hostname.

--sysnr

Yes

SAP system number (instance number).

--client

Yes

SAP client number.

--lang

Yes

SAP login language (e.g. EN).

Example

Command
slabapcli.exe rfc set --name "S21" --hostname "vwsvtstsap13.tricentis.com" --sysnr "00" --client "100" --lang "EN"
Expected output (PowerShell, shortened)
.\slabapcli.exe rfc set --name 'S21' --hostname 'vwsvtstsap13.tricentis.com' --sysnr '00' --client '100' --lang 'EN'
[2026-05-07 11:37:08.572+01:00] [info] Config pathname: ..\config\config.toml
Enter username: hunterh
Enter password:
Confirm password:
Password accepted (a3f***...***d2b).
Running 'rfc test --name S21' to verify the new RFC destination...
[2026-05-07 11:37:15.910+01:00] [info] Testing rfc: S21
  Connected
  System info:
    RFCDBHOST: sapqas01
    RFCSYSID: S21
    RFCIPADDR: 10.0.1.50
    RFCKERNRL: 753
    RFCSAPRL: 750
  SeaLights ABAP add-on:
    Installed
  SeaLights ABAP add-on version:
    Installed version: RELEASE=2025_01 EXTRELEASE=0012 (minimum supported ...)
  Time synchronization:
    ...
  RFC function modules:
    All required RFC function modules callable
  Tables:
    All required tables readable
  SCMON Configuration:
    ...
    SCMON is running and configured to stay active until 2027-12-31
  SCMON_COLLECT callability:
    SCMON_COLLECT call succeeded

For security, the command output doesn't display your SAP password.

Test an RFC Destination

The rfc test command tests the connection to an RFC Destination and performs a comprehensive set of diagnostic checks to verify the following:

  • SAP connectivity.

  • SAP system information.

  • ABAP addon installation and version.

  • Time synchronization.

  • RFC function module and table authorizations.

  • SCMON configuration.

  • Callability of the SCMON_COLLECT function.

Parameter
Required
Description

--name

Yes

The RFC Destination name to test.

Example

List RFC Destinations

The rfc list command lists the details for each of your RFC Destinations.

This command takes no parameters.

Example

Upload usage data

The ABAP Agent normally obtains usage data directly from a Production system. However, you can provide your own usage data from files exported from the SAP ST03N transaction. When you export your ST03N data, save the files to a new directory in unconverted format using the .txt extension.

The rfc phd command lets you upload usage data. To upload usage data for your Production system, you'll need to provide the names of your PRD and QAS RFC Destinations, and the directory where you saved the usage data.

Parameter
Required
Description

--qas

Yes

The QAS RFC Destination name.

--prd

Yes

The PRD RFC Destination name.

--dir

Yes

The directory containing your exported ST03N usage data files.

TODO (from v1.5 draft): The source listed Parameters as "None" for rfc phd, but the example uses --qas, --prd, and --dir. Parameter table reconstructed from the example — please confirm.

Example

Last updated

Was this helpful?