Create, Test & List RFC Destinations
Create RFC Destinations
The next step is to create RFC Destinations for your QAS and Production systems. To see how to create an RFC Destination, run the following from your PowerShell window:
PS C:\apps\SLABAPAgent\bin> ./slabapcli.exe rfc help
[2025-06-17 11:30:30.903+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-17 11:30:30.903+01:00] [info] Config pathname: ../config/config.toml
rfc <command> [args]:
commands:
list : list rfc connections
test : test rfc connection
--name <rfc>
set : set rfc connection
--name <rfc> : rfc name
--hostname <hostname> : rfc hostname
--sysnr <sysnr> : rfc system number (instance number)
--client <client> : rfc client
--lang <language> : rfc login language
username and password are entered interactively
phd : import performance history data
--qas <rfc> : qas rfc name
--prd <rfc> : prd rfc name
--dir <directory> : directory containing usage data to import
You’ll need to provide your SAP system’s name, hostname, system number, client, and language in a command-line this:
PS C:\apps\SLABAPAgent\bin> .\slabapcli.exe rfc set --name 'S21' --hostname 'vwsvtstsap13.tricentis.com' --sysnr '00' --client '100' --lang 'EN'
[2025-06-17 11:37:08.572+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-17 11:37:08.572+01:00] [info] Config pathname: ../config/config.toml
Enter username:
Enter your username and then your password. For security, the agent doesn’t display these in the PowerShell window.
Test RFC Destinations
To test the connection to an RFC Destination, run the following from your PowerShell window:
PS C:\apps\SLABAPAgent\bin> ./slabapcli.exe rfc test --name S21
[2025-06-17 11:45:36.906+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-17 11:45:36.907+01:00] [info] Config pathname: ../config/config.toml
[2025-06-17 11:45:36.910+01:00] [info] Testing rfc: S21
←[38;2;000;255;255mSystem info:
←[0mRFCDBHOST: vwsvtstsap13
RFCINTTYP: LIT
RFCDEST: vwsvtstsap13_S21_00
RFCPROTO: 011
RFCCHARTYP: 4103
RFCHOST: vwsvtsts
RFCFLOTYP: IE3
RFCKERNRL: 785
RFCSYSID: S21
RFCDATABS: S21
RFCDBSYS: HDB
RFCSAPRL: 756
RFCSI_RESV:
RFCMACH: 390
RFCOPSYS: Linux
RFCTZONE: 3600
RFCDAYST: X
RFCIPV6ADDR: 10.100.17.40
RFCHOST2: vwsvtstsap13
RFCIPADDR: 10.100.17.40
←[38;2;000;255;255mSAP system time:
←[0mK_DateTime: 2025-06-17 12:45:38
L_DateTime: 2025-06-17 12:37:09
Average delay of RFC connection: 00:00:00.0224174
[2025-06-17 11:45:38.890+01:00] [info] Start: TTZCU
[2025-06-17 11:45:43.497+01:00] [info] End. # rows read: 1
RFC K_Datetime: 2025-06-17 12:45:38. UTC offset: 02:00:00
RFC UTC datetime: 2025-06-17 10:45:38
(Local UTC datetime - RFC UTC datetime) difference: 00:00:00.8645907
←[38;2;000;255;255mSCMON Configuration:
←[0mDEACTIVATE_ABOVE: 20000000
DEACTIVATE_AT: 125931
DEACTIVATE_ON: 20251231
MAX_NUM_DAILY_SLICES: 7
←[38;2;000;255;255mAgent/SeaLights Clock Sync:
←[0mYour time : 2025-06-17 10:45:43.906
Current time : 2025-06-17 10:45:44.301
Offset : 00:00:00.395
The command-line interface returns details for the RFC Destination.
List RFC Destinations
To list the RFC Destinations defined in your config.toml file, run the following from your PowerShell window:
PS C:\apps\SLABAPAgent\bin> .\slabapcli.exe rfc list
[2025-06-17 13:54:05.666+01:00] [info] Current ANSI Code Page: 65001 (UTF-8) (65001)
[2025-06-17 13:54:05.666+01:00] [info] Config pathname: ../config/config.toml
Name : S21
Hostname : vwsvtstsap13.tricentis.com
Sysnr : 00
Client : 100
Language : EN
Username : hunterh
Cached usage: false
Name : S23
Hostname : vwsvdevsap01.tricentis.com
Sysnr : 00
Client : 200
Language : EN
Username : hunterh
Cached usage: false
Last updated
Was this helpful?