# RFC connection

> To create an integration between your Test Manager project and your SAP system to collect data periodically, using an RFC connection to your SAP system, follow these steps:

To create an integration between your Test Manager project and your SAP system to collect data periodically, using an RFC connection to your SAP system, follow these steps:

## Integrate SAP NetWeaver RFC SDK

To make the RFC connection between Test Manager and your SAP instance work, install **SAP NetWeaver RFC SDK 7.50**.

### Prerequisites
* Valid SAP user credentials.
* [Visual C++ 2013 64-bit](https://www.microsoft.com/en-us/download/details.aspx?id=40784)
1. Visit [SAP Note 2573790](https://launchpad.support.sap.com/#/notes/2573790) and login with your SAP credentials.
2. In **Downloads,** search for `SAP NW RFC`.
3. Click `SAP NetWeaver RFC SDK 7.50`, select the `nwrfc750P_9-70002755.zip` file, and download it.
4. Extract it in your `C:\` directory and check to see if you have the `dll` files inside the `lib` folder.

   For example: `C:\lib`
5. Set the **Path** variable as the path of the `lib` folder that you extracted with the entire `SAP NetWeaver RFC SDK 7.50`.

Now you can integrate a direct connection between your SAP system and Test Manager.

## 2. Create the SAP connection

1. Open your project in Test Manager, and go to **Project Settings** &gt; **Integration**.
2. Select **SAP** from the **New Connection** dropdown. The **Edit connection** dialog pops up.
3. Fill in the fields according to the data from your SAP system:
   1. **Name** - name the integration between Test Manager and SAP.
   2. **Description** - describe the integration between Test Manager and SAP.
4. From **Data Source** select **Connect to SAP instance with RFC**:
   1. **Application Server**—IP address or URL that your SAP system is working on.

      For example, a URL can have the following format: `mysapserver.com`.
   2. **System name**—three-letter SAP system ID.
   3. **Instance Number**—SAP system number.
   4. **Client**—SAP client to log into.
   5. **User**—SAP user name.
   6. **Password**—SAP password.
   7. **Polling Interval**—time interval when data is brought from the SAP system. The minimum value for this is one hour.

      Figure 1. Create new connection with RFC

   ![Create new connection with RFC](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-create-new-connection-with-rfc-552232-8c6d00e6-c47f6203.webp)
5. After you finish the configuration of the integration, select **Save**.
6. Refresh your project. The **Heatmap** page appears in the left-hand menu of your Test Manager project.

## 2. Configure Change Impact Analysis

After you set up RFC connection, choose how to enable Change Impact Analysis, and define which SAP system it connects to:

1. Open your existent SAP connection, or select **SAP** from the **New Connection** dropdown list.
2. Select **Change Impact Analysis connection**.
3. Under **Impact Analysis Access** select the view tabs corresponding to SAP change types that you want to display in your Change Impact Analysis:
   1. **UI**: Selected by default, displays transactions impacted by the selected transports.
   2. **API**: Displays the technical interfaces impacted by the selected transports, such as SAP BAPI, SAP RFC, SAP QUERY, and SAP IDOC.
   3. **Security**: Displays security transactions and corresponding users impacted by the selected transports.
4. Under **Connection Source** select one of the following:
   1. **Same as Heatmap**: Keep the same SAP connection details that you are using for the [Heatmap](https://docs.uipath.com/test-manager/standalone/2024.10/user-guide/heatmap). This means both functionalities will collect data from the same SAP system.
   2. **New connection**: Create a separate SAP connection for **Change Impact Analysis**. This option allows you to use different authentication details while maintaining the same connection type as the Heatmap.
      :::note
      We recommend you to connect the Heatmap to your production system and Change Impact Analysis to your quality system for optimal risk evaluation.
      :::
      Follow the same steps as above, for creating a web service connection.
   3. If your Heatmap connection uses a CSV file: You must create a new connection for Change Impact Analysis. Follow the same steps as for creating an RFC.
