# Open SAP Connection

> `UiPath.SAP.BAPI.Activities.SapOpenConnection`

`UiPath.SAP.BAPI.Activities.SapOpenConnection`

:::important
Starting with v2.0.0, this activity has been deprecated.
:::

Opens a connection to SAP, enabling you to invoke BAPI workflows.

## Properties

### Common

* **DisplayName** - The display name of the activity.

### Input

* **AppServer** - The hostname of the specific SAP application server, to which you want to open a connection. This field supports only strings and String variables.
* **Client** - The SAP client you want to log into. This field supports only strings and String variables.
* **Language** - The log in language you want to use. This field supports only strings and String variables.
* **Password** - The password you want to use to log in. This field supports only `SecureString` variables.
* **SystemNumber** - The system number of the SAP system you want to connect to. This field supports only strings and String variables.
* **User** - The username you want to use to log in. This field supports only strings and String variables.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **SapConnectionService** - The connection to the SAP system, stored in an `IConnectionService` variable. This object should be used while invoking the BAPI workflow and in the **Close SAP Connection** activity. This field supports only `IConnectionService` variables.
