Establishing an SAP BAPI connection with HCL OneTest Data

When you want to generate a schema for SAP BAPI, you must establish a connection between HCL OneTest Data and SAP BAPI.

Before you begin

You must have installed the SAP connector files in HCL OneTest Data. Ensure that you have installed the connector files a few minutes back. See Installing SAP connector files in HCL OneTest Data

Procedure

  1. Select your project in HCL OneTest Server and navigate to the Data Fabrication page.
  2. Click Connections.
  3. Click New to create a new connection type.

    The New Connection dialog box is displayed.

  4. Select SAP BAPI from the Type drop-down list, and then click Next.
  5. Set the following properties under Connection Properties, and then save the changes:
    • Enter the SAP System host name in the Host ID field.
    • Enter Client Number and System ID of the SAP System.
    • Provide the SAP System credentials in the User and Password fields for authentication.
  6. Go to the Connection Properties pane of the Data Fabrication page, and then click Test to verify whether the connection is established successfully.
    Note: Your connection might fail to establish because of any one of the following reasons:
    • Trouble at the SAP server port.
    • Firewall blockage between HCL OneTest Server and the SAP server.
    • Unsuccessful copying of the connector files.
    • Unsuccessful refresh of the HIP Server pod.
  7. Click Next, and then provide a name for the SAP BAPI connection that you established.
  8. Click OK.

    You can view the name of the SAP BAPI connection under the Connections tab.

Results

You have successfully established the connection between HCL OneTest Data and SAP BAPI.

What to do next

You must generate a schema in HCL OneTest Data by using the SAP BAPI. See Generating a schema in HCL OneTest Data.