# SAP Login

> `UiPath.UIAutomationNext.Activities.NSAPLogin`

`UiPath.UIAutomationNext.Activities.NSAPLogin`

## Description

Use the activity to log into an SAP system.

## Project compatibility

**Windows - Legacy** | **Windows** | **Cross-platform**

## Windows and Cross-platform configuration

* **Client** - The SAP client number you want to log into.
* **Username** - The username you want to use for logging in.
* **Password** - The password you want to use to log in. If you enable the **Is Secure** toggle, the value of the password field is stored as `SecureString`.
* **Language** - Decide which language you want to use to display screens, menus, and fields.
* **Multiple Logon Option** - License information for Multiple Logon opens if a user attempts to log onto the system several times. Choose one option from the drop-down menu:
  + **Continue with this logon and end any other logons**
  + **Continue with this logon, without ending any other logons**
  + **Terminate this logon**

Properties panel

### Timings

* **Delay before** - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.

* **Delay after** - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.

* **Timeout** - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

### Input

* **Is Secure** toggle - If enabled, the value of the password field is stored as `SecureString`.

### Options

* **Continue on error** - Specifies if the automation should continue even when the activity throws an error. This field only supports **Boolean** values (**True**, **False**). The default value is **False**. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to **True**, the execution of the project continues regardless of any error.
    :::note
    If this activity is included in **Try Catch** and the value of the **ContinueOnError** property is set to **True**, no error is caught when the project is executed.
    :::
  **Input/Output**

* **Input element** - The UI element on which the activity is executed, stored in an **UIElement** object. This field supports only **UIElement** objects. This object can be obtained from the **Output Element** property field of other UI Automation activities.
* **SAP Session Window** (Windows only) - Output a UI element to use in other activities as an input UI element.

## Windows - Legacy configuration

### Properties panel

#### Common

* **Continue on error** - Specifies if the automation should continue even when the activity throws an error. This field only supports `Boolean` values (**True**, **False**). The default value is **False**. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to **True**, the execution of the project continues regardless of any error.
    :::note
    If this activity is included in **Try Catch** and the value of the **ContinueOnError** property is set to **True**, no error is caught when the project is executed.
    :::
* **Delay after** - Delay (in seconds) between the time this activity is completed and the time the next activity begins any operations. The default value is 0.3 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
* **Delay before** - Delay (in seconds) between the time the previous activity is completed and the time this activity begins performing any operations. The default value is 0.2 seconds. Adding a delay between activities ensures that one activity has enough time to complete before the next activity begins.
* **Display name** - The display name of the activity.
* **Timeout** - Specify the amount of time (in seconds) to wait for the activity to be executed before throwing an error. The default value is 30 seconds.

#### Input

* **Client** - The SAP client number you want to log into. Text must be quoted.
* **Language** - Decide which language you want to use to display screens, menus, and fields. Text must be quoted.
* **Multiple Logon Options** - License information for Multiple Logon opens if a user attempts to log onto the system several times. Choose one option from the drop-down menu:
  + **Continue with this logon and end any other logons**
  + **Continue with this logon, without ending any other logons**
  + **Terminate this logon**
* **Password** - The password you want to use to log in. Text must be quoted.
* **Secure Password** - The secure text to be written in the **Password** field. This field supports only **SecureString** variables.
* **Username** - The username you want to use for logging in. Text must be quoted.

#### Input/Output Element

* **Input element** - The UI element on which the activity is executed, stored in an `UIElement` object. This field supports only `UIElement` objects. This object can be obtained from the **Output Element** property field of other UI Automation activities.

#### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports only `Boolean` (**True**, **False**) values. The default value is **False**.

#### Output

* **SAP Session Window** - Output a UI element to use in other activities as an input UI element.
