Unable to login to SAP

Hi All
I am new to UiPath and trying to do some automation on SAP.But I am stuck in the initial login screen itself.I am only using the saplogon and sap login activities .I am using windows 11 and wingui version 8. I am not sure if its an issue with windows 11.User scripting is enabled.

I get the below error.
SAP Login ‘saplogon.exe SAP’: Cannot find the UI element corresponding to this selector: <sap id=‘usr/txtRSYST-MANDT’ / >

Regards
Rakesh

Hi @rakesh_rk

Might be Scripting is not configured in the SAP. There is two configurations need to do be done from Server side and Client side. Double check with Client.

Check the below documentation for Enabling Scripting in SAP,

Hope it helps!!

@rakesh_rk,

Check if your UiPath.System.Activities package is up to date with latest possible version. As you are on GUI 8 I suspect the selectors could be improvised or updated. This would have fixed in latest version of the System package.

Thanks,
Ashok :slight_smile:

Thanks @mkankatala ,Scripting is already enabled and login works well in the App/Recorder mode.But I have a requirement where I need to use the sap logon and login activities.

Thanks Ashok,I am already at the latest package.

1 Like

For using UI activities there is no need to enable the scripting.

For using SAP activities must should to enable scripting with out enabling scripting these activities will not work.

Hope you understand!!

HI @rakesh_rk

Please check the below thread

Hie @rakesh_rk try wit SAP activities provided by UiPath for Example call Transaction …
or might be you can do one thing … change the theme in SAP because some time the bot is not interact or not fintune with the theme … hope this help
cheers Happy Automation

Hi Sumit, Yes checking with different themes,will test it on Windows 10 as well.