We encountered the following SAP GUI scripting error during automation execution: “Currently you have allowed scripting for this connection, and a process already may interact with it. But another call to GetScriptingEngine was made, which indicates that a different scripter is attempting to attach to SAP GUI.”
Issue: When our automation attempts to run, a popup appears asking whether scripting access should be allowed for the connection. This interrupts the execution.
Looks like another connection via scripting engine is being made at the same time..
Considering, you have already handled the pop up setting from SAP GUI, let me know if you have any parallel process that is running VBS to access the same system… OR if the muti login is NOT enabled on the same SAP user that is being used to login to the same SAP ERP on a different machine..
Check these…
We had tried terminating all running processes to make sure that no other automation tools were active. However, the issue still persists. Some additional context.. this pop-up only started occurring after the SAP upgrade was completed.
@golla.sandeep For your info above. thanks for your advice..
@Gabriel_Ooi do you have access to RZ10 and SU53 transactions??
also, after the robot launches SAP instance, do you see the scripting engine icon enabled ?(on SAP screen, bottom right corner, there you will something in between “OVR” and a “local tab order” icon.
@golla.sandeep Thanks. We’ve completed the verification on the SAP environment:
The user has access to SU53 only.
The SAP GUI Scripting Engine is enabled. The scripting icon is visible on the SAP status bar (between the “OVR” indicator and the Local Layout icon) after the robot launches the SAP instance.
Despite scripting being enabled, the pop-up window still appears during automation execution.
good to know..
then I think this would be the case where the user is being used by someone else
OR
lets say if the flow has 2 SAP Logon activities (by mistake) and one instance is already launched and second instance is throwing this pop up when trying to execute - I know its not the ideal scenario but its worthy to check if 2 activities are added by mistake..
try and let me know…
if you have another user account with similar configuration, please keep it ready for testing.