Professional Documents
Culture Documents
(/s/)
English (US)
Article Number
000001698
Title
How To Enable SAP GUI Scripting
Summary
This article describes the procedure to enable SAP GUI Scripting on client side as well
as server side.
Instructions
Steps to enable SAP GUI Scripting enables in local machine(client side):
Setup the SAP Gui client to allow scripting in local machine, On the Toolbar, go to
the Customize Local Layout button and select Options from the drop-down menu.
The SAP GUI Options window opens.
Go to Accessibility & Scripting and click on Scripting. Under User Settings, check
the box next to Enable scripting. Make sure the other two options Notify when a
Was this article helpful? 0 1
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 1/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 2/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
In the Display, Profile Parameter Attributes window, press the Change Value button
on the toolbar and set the New value of "sapgui/user_scripting" to TRUE. Save the
changes.
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 3/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
Log off and log in back to see the change into effect, then you can see the scripting
is enabled and ready to record
Additional Information
This article applicable to Automation Anywhere Version 10, 11 and A2019.
If SAP GUI Scripting is not enabled on client side as well as server side then you will get
the error 'Maximum number of sessions have been reached for this connection. Please
retry after some time.' while running the Bot having SAP connect command.
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 4/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
Component
SAP Integration
Sub-Component
Not Visible
URL Name
How-To-Enable-SAP-GUI-Scripting
F(0) (/s/relatedlist/ka02t000000PBvhAAG/AttachedContentDocuments)
Post
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 5/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
1 comment 3 views
Like Comment
Write a comment...
7 comments 22 views
Like Comment
1 of 7
More comments
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 6/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
For technology used at the back-end we would recommend to raise a case with SAP
team so that they will be helping with the query.
Write a comment...
RELATED ARTICLES
'A script is attempting to access SAP GUI' popup appears while running the task using SAP Metabot DLL
194
(/s/article/SAP-scripting-error-while-running-the-task-using-SAP-Metabot-DLL)
Automation 360: How to enable DEBUG logs for Bot Agent (/s/article/A2019-How-to-enable-
7.23K
DEBUG-logs-for-Bot-Agent)
How to extract Table data from grid using SAP GUI command (/s/article/How-to-extract-Table-
401
data-from-grid-using-SAP-GUI-command)
Why the Script Recording and Playback needs to be enabled in SAP? (/s/article/Usage-of-SAP-
95
scripting-option)
TRENDING ARTICLES
Black screenshot while running the bot in Unattended mode
(/s/article/Commands-like-Object-Cloning-Image-Recognition-Keystrokes-Etc-Do-
Not-Work-In-Unattended-Mode-When-Autologin-Is-Enabled-And-Error-Out-With-
Black-Screenshot-On-Failure)
Unexpected behavior observed with Two Factor Authentication post A360.26 upgrade, where a valid authenticator
code alone i…
(/s/article/Two-Factor-Authentication)
How to setup App in Azure and Exchange Online to use OAuth 2.0 Client Credentials Flow for IMAP/POP3 Mail
Server?
(/s/article/How-to-setup-App-in-Azure-for-using-Client-Credentials-Flow)
Unable to connect to the Control Room and it may be due to not being able to validate the SSL Certificate presented
by the…
(/s/article/Getting-a-Unable-to-connect-to-Control-Room-not-being-able-to-vali-
date-SSL-certficate) 0 1
Was this article helpful?
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 7/8
1/21/23, 8:25 PM How To Enable SAP GUI Scripting
Products
Our platform is powerful enough to automate tasks of any complexity, but user-friendly enough for anyone
on your team to use.
Services
The Automation Anywhere services team has worked with companies of all sizes to automate their business
processes for them, help discover new automation ideas, and maximize ROI.
Contact Us
USA Headquarters
San Jose
1-888-484-3535 (tel:1-888-484-3535)
E-mail (mailto:contact@automationanywhere.com)
intl 408-834-7676 (tel:408-834-7676)
Support
1-888-484-3535 (tel:1-888-484-3535)
408-834-7676 (tel:408-834-7676)
Boston Mumbai
Dallas London
Baroda Japan
https://apeople.automationanywhere.com/s/article/How-To-Enable-SAP-GUI-Scripting?_ga=2.3422069.455127791.1674323880-1630309378.166… 8/8