# SAP

### Prerequisites:&#xD;

* SAP GUI Version
  1. SAP GUI version – 7.40
  2. SAP GUI for Windows 7.40 cannot be run on Windows XP and Windows 2003 Server.
* Enable Server and Client Side scripting and disable pop up

**SAP GUI Scripting** is required in order to enable UI elements recognition capabilities in SAP automation.&#x20;Here are the steps for enabling it:

* **Server Side**

  1. Login to your SAP server.
  2. Run transaction RZ11. Specify the parameter name **sapgui/user\_scripting** and click Display. If "Parameter name is unknown" appears in the status bar, this indicates that you are missing the current support package. Check your installed packages. Change the value of **sapgui/user\_scripting** to TRUE.
  3. Click Save.

  <figure><img src="/files/eanc6EPHs3HQlBXU4OdP" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/NdfAFzijl3P44E1WTzbG" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/mK6YdrEWTmaB4TQAVnIv" alt=""><figcaption></figcaption></figure>

**Client Side**

1. Open SAP GUI Options
2. Go to Accessibility & Scripting/Scripting
3. Enable scripting : **checked**
4. Notify when a script attaches to SAP GUI: **unchecked**
5. Notify when a script opens a connection: **unchecked**

<figure><img src="/files/Xqpo4jXAw1dX02TkEOsE" alt=""><figcaption></figcaption></figure>

**Establishing SAP Connection:**

In SAP Logon 740 window, go to Connections -> Add New Entry -> User Specified System

Enter the following details in System Connection Parameters -

* Description – SL2 \[52.165.148.179]
* Application Server – 52.165.148.179
* Instance Number – 04
* System ID – SL2


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/sap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
