Create an SAP API test step

Relevant for: API testing only

This topic describes how to create an SAP API test step.

Prerequisite

You must have the SAP .NET Connector installed on your machine. The installation is available on the SAP Help portal.

Back to top

Define an SAP Connection

In the SAP Connections pane of the Options dialog box (Tools > Options > API Testing tab > SAP Connections), define one or more SAP connections.

Back to top

Select an iDoc from your SAP server

  1. Select Tools > Import from SAP.

  2. In the SAP dialog box, select one of the connections that you added in the SAP Connections pane of the Options dialog box.

  3. (Optional) Accept the default credentials entered in the SAP Connections pane or click Override connection to provide different credentials.

  4. Select IDoc or RFC and specify a search string using an asterisk (*).

  5. Click Search.

  6. After the search is completed, select the necessary items and then click Import Selected.

    These items are added in the Toolbox pane, to the Local Activities node, with a separate node for SAP. You can now add them to the test as individual steps.

    Note:  

    • If you use an SAP router, ensure you specify the Connection Info property values for each iDoc step.

    • If an unexpected error occurs during the search, install the latest supported version of SAP .NET Connector. See Support Matrix.

Back to top