Not able to detect the UI elements on SAP app even after enabling the script

@ALL

Hello guys, I am facing an issue here when I am trying to automate the SAP application. I am not able to detect the text fields and other elements.

I think SAP got updated and UiPath studio also got updated.

Can anyone help me regarding this?

Thanks & Regards
Aryan

Which version of uipath are you using?
and
try to use send hot keys or image activities or ocr activites or sap script

UiPath 2019.9.2 and 2019.10.0 both tried.

Image might work, but i dont wanna use it like that, earlier it was working fine, i think this is happening due to the update.

@kalyanDev

May be try to use older version those are stabilized versions.

Kindly check once whether the SAP GUI is enabled or not

Cheers @AryanSingh

@Palaniyappan

GUI already enabled.

I am not sure which extension you are referring to, how do i uninstall and reinstall the extension?

Thanks

1 Like

Fine
I think reinstall uipath will work on this as it looks like version compatibility issue
Once after re-installing ensure that sap gui is enabled
And then try once
Cheers @AryanSingh

@Palaniyappan

oK, let me try.

1 Like

@Palaniyappan

I reinstalled the app but still not detecting. I think it is due to the SAP version update. I think it got updated.

1 Like

So if it is due to the SAP application, how will it be fixed, will the solution come from the SAP or UiPath side?

@Palaniyappan

1 Like

@Pablito @loginerror
Kindly help us on this pls

Cheers @AryanSingh

2 Likes

Hi @AryanSingh,
Iā€™m not sure how the situation is on your side but please aware of this:

  • Running both the SAP GUI for Windows and SAP Business Client simultaneously can generate unpredictable selectors matching results. This is because it is impossible to reliably distinguish between the SAP Scripting instances of the two clients.
  • If there are two active SAP Business Client (NWBC) instances, selectors are identified and generated only for the first. This is because only the first client instance is visible to the SAP GUI Scripting Engine, thus subsequent instances are invisible to the engine. In other words, the element in the first instance is detected every time.

Our recommendation is to use either the SAP GUI with as many instances as you want or the SAP Business client in a single instance when performing SAP automation.

1 Like

@Pablito

Ok, I will try to get the whole info regarding this.

1 Like

@Palaniyappan
@kalyanDev
@Pablito

Thanks everyone for the help and the guidance. The issue was that the business side disabled the RZ11 parameter (SAP script) changed it from true to false. That is why, it was not working.

Thanks & Regards
Aryan

2 Likes

Great
Cheers @AryanSingh

1 Like

Thank you for sharing this. I will mark it as a solution so other people with similar problem will have potential solution :wink:

1 Like

@Pablito

Cool. Thanks

Regards
Aryan

1 Like