SAP Login Error

I have an issue with SAP Login activity. After execution and successful login into SAP it stop on error message.

Package: UiPath.UIAutomation.Activities 20.4.1
Studio: 2019.10.4
License: On premises

SAP Login: Attribute not supported by the current UiNode.

HI @Lukas_Macas

Thanks for your message, I will look at it

Best regards, Lev

Thank you @LevKushnir

I have next problem descripted here. Problem is that I have scripting enabled and all notify options disabled yet.
Regular click or type activities works without notifications.

@Lukas_Macas do not understand, what you are saying. Click and Type into are working and you are not satisfied? :slight_smile:

We’re talking about SAP automation so I mean Click or Type activities used in SAP environment works without any problems. SAP scripting is running and no warning windows are showed.
When I try to use SAP Logon activity - that is needed to run before SAP Login - this warning is showed

image

But notifications in SAP are disabled

image

@Lukas_Macas

SAP GUI Scripting notification can be activated/deactivated in two places.

  1. on User Level,
  2. on Machine level β†’ It looks like in your case it is about local machine settings.

See chapter 6 here: SAP GUI Scripting Security Guide

Go in Registry here
HKEY_LOCAL_MACHINE\software\sap\SAPGUI Front\SAP Frontend Server\Scripting.

and see, if the registry values WarnOnAttach and WarnOnConnection are set to 0, which prevent the message popup.

Best regards, Lev

3 Likes

Thank you, that solved both my problems :slight_smile:

1 Like