SAP Logon screen keeps popping up during report loading

Hi UiPath Community, when I am entering report parameters in the T-code screen, the robot is able to do so. After I click the execute button, there will be a popup which requires the robot to click the ‘yes’ option. However, the SAP Logon page will surface and the robot is unable to find the ‘yes’ option (unable to find UIelement).

Appreciate any help!

Hi @Phoebe99 ,

First , Welcome to the community and contributing.

I would suggest you to try the SAP activities. You Can find the Official link to read about them here,

You have to install, UiPath.SAP.Activities to make use of SAP activities.

In case the above doesn’t resolve, Please post the screen shot of the SAP dialog, the Selector which you have configured to click on it

Looking forward to help you resolve.

Happy Automating.!!

Thanks,
Gautham.

Hi Gautham, I have already downloaded the SAP package and the automation is running fine on my end. However, the SAP Logon popup issue appears on the user’s desktop after the ‘Execute T-code’ activity. I have attached the screenshot of the selector where the issue persist. Thank you

@Phoebe99

  1. Did you try to indicate the pop up as separate window and check?
  2. Did you try to handle pop up with sap recorder itself?

Cheers

@Phoebe99,

It could be the issue of selectors not correct and bot is considering SAP login window as pop-up window.

Use check app state activity and highlight the pop-up button. Inside check app state use click activity to click on it.

Thanks,
Ashok :slightly_smiling_face:

Hi, I’ve tried the ‘Check app state’ activity but it seems like the robot still cannot detect the ‘Yes’ button. The popup is still existing in the background. Is there a way to write the fuzzy/strict selector for the ‘Click’ activity?


@Phoebe99,

Try changing the Input method for Click to Simulate. It will work in background as well.

Thanks,
Ashok :slight_smile:

Hi @ashokkarale , I’m not sure what you mean by changing click to simulate. Are you able to share a screenshot of what you are referring to? Thank you!

@Phoebe99,

Thanks,
Ashok :slight_smile:

Hi, I’ve tried the simulate click option, but it was only able to identify the ‘Yes’ option (option was highlighted blue as if it was clicked). The cursor moved to somewhere else and the click action was not performed correctly.