---
title: "Open Sap Session Step"
url: "https://docs.robotiq.ai/en/article/open-sap-session-step"
language: "en"
last_updated: "2025-12-24T15:36:03.266Z"
---

# Open Sap Session Step

The Open SAP Session step starts the SAP Logon process. It connects to a specific SAP system and logs in with user credentials. Use this step to begin any SAP automation.

## How to Use the Open SAP Session Step

This step opens an SAP session and gets it ready for more automation.

### Step 1: Add the Open SAP Session Step

1.  Drag and drop the **Open SAP Session** step into your process.
2.  (Optional) In the **Step Name** field, type a custom name for the step.

### Step 2: Configure Input Parameters

1.  In the **Full path to sap exe** field, type the full path to your SAP Logon program file.
    -   **Example:** `C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe`
2.  In the **Instance name** field, type the unique name of your SAP connection.
3.  In the **Language** field, type the two-letter language code for login.
    -   **Example:** `EN` for English
4.  In the **Client number** field, type the SAP client number.
5.  In the **Username** field, type your SAP username.
6.  In the **Password** field, type your SAP user password.

### Step 3: Configure Output Parameters

1.  (Optional) In the **Login error details** field, type a variable name to save any login error information.
2.  In the **SAP reference** field, type a name for this SAP session.
    -   This name identifies the session for all other SAP automation steps.

**Important:** All other SAP automation steps must use the same **SAP reference** value to work with this session. If you change the SAP reference name, update it in all related steps.

## Parameters Explained

### Input Parameters

**Step Name** (Optional)

-   A custom name for the process step.
-   This name shows up on the step box in the editor.

**Full path to sap exe** (Required)

-   The full file path to the SAP Logon program.
-   **Example:** `C:\Program Files (x86)\SAP\FrontEnd\SAPgui\saplogon.exe`

**Instance name** (Required)

-   The unique name of the SAP system you want to connect to.

**Language** (Required)

-   The language code to use during login.
-   **Example:** `EN` (English), `DE` (German)

**Client number** (Required)

-   The specific SAP client number for the login.

**Username** (Required)

-   The SAP username for logging in.

**Password** (Required)

-   The password for the SAP user.

### Output Parameters

**Login error details** (Optional)

-   A variable that saves any error messages if the login fails.

**SAP reference** (Required)

-   A unique name for the opened SAP session.
-   Use this reference in other SAP steps to link them to this session.

## Related Articles

-   [Close SAP Session Step](https://docs.robotiq.ai/en/article/close-sap-session-step)
-   [SAP Click Step](https://docs.robotiq.ai/en/article/sap-click-step)

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/895fa448-3481-4c50-b842-55263ce5074d)
