Using Websocket RFC with ERP-Scale

You are here:
Websocket RFC connectivity is included in the latest BETA release of ERP-Scale. It is not recommended to use this release in a production environment.

Download the latest ERP-Scale V5 beta release: ERP-Scale V5.0 Downloads

Prerequisites

Websocket RFC requires TLS certificates to be created for the PC where ERP-Scale is installed. The certificate must:

  • Match the fully qualified domain name (FQDN) of the PC.
  • Have usage serverauth
  • Use a root certificate that the SAP host can validate.
  • Be exported as a PSE file and saved on the ERP-Scale PC.

The SAP server(s) must be able to resolve the FQDN of the PC.

Also check if the following SAP Note is applicable: 3056025 – RABAX with RFC even in case exceptions are caught

Activate the ERP-Scale log-file before starting: How do I enable error logging ?

How to configure ERP-Scale for Websocket RFC connections

Create a new RFC destination in ERP-Scale

  1. Open the ERP-Scale configuration utility on the PC
  2. Add a new RFC destination

  3. Select RFC type Web Socket RFC and enter description
  4. Select the PSE certificate file:
  5. Save the new RFC destination
  6. Update the RFC destinations on the SapScale Server:

    Open the ERP-Scale server monitor and select all message categories

Create a new RFC destination in SAP

  1. Open transaction SM59 and add a new RFC  destination:
  2. Specify the FQDN of the ERP-Scale PC and the TCP port used for communication. Default port is 5709:
  3. Select the TLS certificate used for the communication and the authentication method. ERP-Scale supports fixed user/password and X.509 certificate
  4. Save the new RFC destination and perform a connection test:
  5. The connection test will fail with this error:
  6.  The ERP-Scale monitor will show an RFC authentication error:

  7. If a different error is shown in the SM59 connection test and no authorization error is shown in ERP-Scale, perform a trace in SAP using transaction SMICM.

Capturing the authorisation credentials in ERP-Scale

  1. In the ERP-Scale configuration utility, open the RFC connection details:
  2. The connection status should show the no matching partner error message:

  3. Set the authorisation type and start the capture:
  4. Wait until the capture has started:
  5. Trigger the connection test from SM59, it will fail:
  6. Wait  until ERP-Scale captures the connection and the authentication used:
    If you have multiple SAP servers, you can use wildcards to match the SAP partner host name. ?=a single character, *=multiple characters, []=set of characters.
  7. Update the SapScale server:
  8. Wait for 2 minutes for the RFC destination in ERP-Scale to be updated and restarted
  9. Repeat the connection test from SM59:

 

Was this article helpful?
Dislike 0
Views: 108
Still have questions? Create a support ticket