Send messages via SAP Remote Function Call (RFC)

You can use the Tricentis Tosca API Scan to call RFC Services. This enables you to establish communication with SAP by using its RFC Service endpoint.

To send a message via RFC, follow the steps below:

  1. Configure an SAP RFC connection to create a Service Endpoint entry.

  2. In the API Scan window, click on the menu button URI and enter a Service Endpoint value to URI.

  3. Click the arrow icon next to Advanced.

    • To configure Basic Authentication, enter your SAP Username and Password and click OK. For more information on authenticating messages, see chapter "Configure authentication".

    • Optionally, enter the Address of the proxy server using the syntax http://address:port and your credentials.

      Basic Authentication settings for the URI scan used to call RFC Services

  1. To call the RFC Service endpoint, enter the SAP function into the Resource entry field, for example IDOC_INBOUND_ASYNCHRONOUS.

    The entry in the URI field must end with the function name that you want to use with API Scan in the From URI dialog.

Enter Resource

  1. Provide the SAP metadata information, i.e. parameter names and values, for API Scan to generate the payload message. Click Run or press Enter to send your message.

You can export your API messages to Tosca Commander, define Module Attributes and verify their values.