Test RFC Connection
sap_rfc_pingTest the RFC connection to SAP by calling STFC_CONNECTION, returning connection status, system ID, and error details when the connection fails.
Instructions
Test the RFC connection to SAP using STFC_CONNECTION. Requires node-rfc and the SAP NW RFC SDK.
Configure via RFC_ASHOST + RFC_SYSNR (direct) or RFC_MSHOST + RFC_R3NAME (load-balanced) in .env.
Returns (json): { connected, systemId?, message }.
Notes:
If the SDK is not installed this tool returns a clear error with setup instructions.
Credentials are reused from SAP_CLIENT, SAP_USER, SAP_PASSWORD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (structured). | markdown |