Issue with getting Windows Save As instead of SAP Modal view

Hello,

I have been trying for a week to import an older automation created for managing our SAP IDcos monitoring.

The rpa is set in stone, and I seem to have issues implementing it with my SAP.

Firstly, the save as selection keeps popping up for me no matter what I do. I have disabled native windows gui in my scripting and it still shows the save as compared to the sap modal gui of generate instead.

This issue persists no matter what i try, this is what i get on my main pc.

On a remote desktop we have, i tried running the same and it seemed to show the correct gui, which i was pleased about. sadly today i tried to modify the user personalization of my sap personal setting for user to set it to modal and this has caused the remote desktop to now also show the wrong save as dialog instead of what i actually need

do you have any solution for this, ive been racking my brain for weeks now to no avail

this is what i actually need for the robot to work
Screenshot 2024-07-24 101543

Hi @Shakti_Velan

Particularly in SAP we will see two types of windows for save the files as you attached in the screenshots. First one is modern window second one is classic window.

We don’t know which we will get when saving the file. In this case, we have to handle the both windows. I also faced this situation and handled successfully.

Check the below steps,
→ Use the check app state activity and indicate the UI element on the Modern save as window which is stable and unique. (by this step we will check which save as window is displayed)
→ Inside Target Element appear block insert the activities to handle the Modern save as window.
→ Inside Target does not appear block insert the activities to handle the Classic save as window in SAP.

We have to handle the both windows, If Modern Save as window appears the bot will go to Target appears block and save the file, else the bot will go to Target does not appear block and handle the Classic save as window and save the file.

Hope it helps!!

Is it really random? Is there no way to fix it to the modal way? because the person who created this robot did not plan for this, and its so intertwined that when i change anything it breaks, even screen resolution.

how does sap not have a set standard amongst it gui haha

Anyone else have any advice please?

It’s better to contact your SAP Team, they might know to configure the settings to display only classic Save as window… @Shakti_Velan

If there is any inbuilt Settings in SAP that might be useful to change.

We cannot handle this situation in UiPath with out chaning the code.

Hope you understand!!

Hey @Shakti_Velan, did you ever find a solution for this problem? I’m having the same issue in that suddenly SAP is showing the “Save As” window instead of the one where you can enter the path.