SAP Login - could not find element MANDT

Hi,
Getting this error which i did see searching , and i checked the config required
RZ11 scripting set
SAP GUI allow scripting
etc
but still no luck
also tried UI EXPLORER => Indicate element and that seems to work

“Could not find the UI element corresponding to this selector:\r\n<sap id=‘usr/txtRSYST-MANDT’”

Hi @tjohnston31439

Follow the steps below. If this solution helped you resolve your question, mark this answer as resolved.

In order to interact with the SAP interface, you need to enable SAP Scripting. In this video I demonstrate how to enable SAP scripting and automate login.

@tjohnston31439

Are you using a attach window or so?

I dont see window selector in the error message…ideally you should see full selector

Cheers

Hi,
Not sure what you mean. Here is screenshot . looks like the “LOGIN” process has the correct window selected, as you can see CLIENT field

@tjohnston31439

May I know why you have two login activities?

As per error it is clear that the selector is not being identified…can you show the properties panel of logon and scope as well

Cheers

Hi thanks for assisting me. I am a newbie in this and watched YouTube and also UiPath academy as to how to access SAP.
I am very familiar with SAP
I choose LOGON activity to select which SAP system to log in to. This works and correct system login screen appears when I run the process. Then a choose LOGIN activity and it is here where I get the issue . I don’t believe I have 2 LOGIN Activities.
Cheers
Trev

Here are some screenshots of properties

Hi. Got it to work. the issue was the “Use Application” activity which i saw in a YOUTUBE.
when i deleted that and just had
LOGON
LOGIN
it worked successfully
cheers
Trev

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.