Our team is automating SAP processes using Automation Anywhere. We are using DLL provided by the Automation Anywhere itself and accessing it using metabots. Everytime when the task calls the metabot we are getting the notification "A Script is attempting to access SAP GUI". We tried by disabling the notification options inside the SAP GUI. But after that while running the task, the metabot itself is not working. Below is the simple code for login,
Open : "C:\Programs Files (x86)\SAP\FrontEnd\SAPgui\saplogin.exe"
Activate Window : "SAP Logon 740"
Object Cloning:Select Item By Index "1" in windows 'SAP Logon 740';Click Type:Click;Source:Window;Play Type:Object
Run MetaBot "SAPMetabot.Login"(Logic)
Can anyone help in this case?
Trust that you are well.
if i understood you question correctly, your SAP Metabot is not working right ?
When SAP metabot logic works, it must first connect to SAP, ( which means it create a connection with SAP application ) this can be achieved using method inside the dll.
try this and let me know if you are able to resolve this issue.
Regards,
NoSpaceForLove