Skip to main content

Testing connectivity issues without agtsapnw

When testing connectivity issues, it is often useful to remove the agent as a root cause. The NetWeaver RFC SDK provides the startrfc utility that can provide a useful way to troubleshooting integration or connectivity issues.

To use the startrfc utility, complete the following:

  1. Ensure the NetWeaver RFC SDK is installed .

  2. Open a command prompt and navigate to the NWRFC SDK bin directory:

    C:\Program Files\SAP\nwrfc< version >\nwrfcsdk\bin

  3. Execute startrfc with the "-i" option. This connects to the target system and displays the system information. Specify the <host>, <user>, <password>, <sysnr> and <client> values. The -t <trace> option also leaves a trace file to help troubleshoot more detailed diagnostics. See the full command line usage and example below.

    See the RFC Trace File section for more details on diagnosing integration issues using trace files.

Usage

 startrfc.exe -h <hostname> -u <adminid> -p <adminpw> -s <sysnr> -c <client> [-i] [-t <level>]

For example:

 C:\> startrfc.exe -h mysap.acme.com -u "SAPADM" -p '<SAP-Password>' -s 00 -c 001 -i -t 1
 SAP System ID: ACME
 SAP System Number: 00
 Partner Host: mysap
 Own Host: JOHNDOE
 Partner System Release: 731
 Partner Kernel Release: 722
 Own Release: 753
 Partner Codepage: 4103
 Own Codepage: 4103
 User: SAPADM
 Client: 001
 Language: E