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. Log in to HCL OneTest Server and open the team space that contains your project.
  2. Open your project.
    The Overview page is displayed.
  3. Click Author > Data Fabrication.
    The Data Fabrication page is displayed.
  4. Click Connections.
  5. Click New to create a new connection type.

    The New Connection dialog box is displayed.

  6. Select SAP BAPI from the Type drop-down list, and then click Next.
  7. 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.
  8. 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.
  9. Click Next, and then provide a name for the SAP BAPI connection that you established.
  10. 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.