SAP Save File Window recognition Blue Prism

Mike1910

New Member
Hi everyone,

I have a problem with a Blue Prism process, I need to export a file in sap to an excel, so I the robot navigates to the export file section and when the save file location window appears, Blue Prism need to click on the save button, but Blue Prism stops until I manually close that window. I identify the save button with win32 spy mode, and just after the navigate box I have a wait check if exists the save button, but Blue Prism stops before enter the wait because the save file window appears.

Thanks
 

Mike1910

New Member
Hello,
Please use the Global send keys for ENTER keystroke it will work fine there to save the file.

Thanks for your answer Sukesh, but also I have to write the path where I want to save the file, in the File Name text field, but BP cant do it because it the process freezes until I close the save file window.
 

wildCat

New Member
Hi Mike,
from my experiance, there are 2 possibilities of export window in SAP:
1. It's a SAP window, which can be spied with SAP-Mode;
2. It's a Windows window, which can be spied only with Win32 Mode.

BP freezes, because it's waiting until previous action ends. In your case, when a file will be exported.
Try to cover both of them and distinguish, which appeared.
Rgrds,
L
 

bharat_Kukreja

New Member
Hi Mike,
Did you find solution to your problem? If yes, could you please share the same with me . I am also stuck at the same point.
 

selva.s2b

New Member
Hi all,
same problem I'm facing. I'm clicking on the OK button in pop-up window then pop-up hidden and loading some time then "save as" window getting opened but action not released from current stage. without releasing current stage I could not identify "Save as " window. please help me on this issue. Thanks
 

Sachin_Kharmale

Active Member
Hi ,
"The problem may be you have spy OK button using SAP Mode Changed Spy Mode from SAP to Win 32"

When you are clicking OK Button Spy OK button using "Win 32" spy mode and then
use global mouse click center using navigate stage .
using above steps action will release from current stage.

i hope it will help you.
Best,
Sachin
 
Otherwise you can do it using code stage...
Open SAP recorder option record the action what you want to perform then use that code in code stage to achieve that its very easy.

If you don't know how to use you can ask any of your SAP colleagues once you stop recording then on .vbs code will generate you need covert it to VB coding.

Let me know if you have any doubt.
 

TmtTmt

New Member
Hi All I have developed the same it worked for me attaching some scree shot which may help you.
View attachment 3864

View attachment 3865
View attachment 3866

I have some actions scree shot also.
Please let me know if you have doubt on any point.
Hi Amlan,
What’s happening to bp workflow it freezes after the Save As Window shown up. I have a similar logic as your workflow, but bp cannot execute it because it freezed. Did your create a different Business Object to handle the Save As Window?
 
Hi Amlan,
What’s happening to bp workflow it freezes after the Save As Window shown up. I have a similar logic as your workflow, but bp cannot execute it because it freezed. Did your create a different Business Object to handle the Save As Window?

Yes I have created a different object to handle it.
 

ALALUN

New Member
Otherwise you can do it using code stage...
Open SAP recorder option record the action what you want to perform then use that code in code stage to achieve that its very easy.

If you don't know how to use you can ask any of your SAP colleagues once you stop recording then on .vbs code will generate you need covert it to VB coding.

Let me know if you have any doubt.
I tried to use SAP recorder it. But it can not recorder the "Save As" window code. Can you share "Save As" Window VB code to me?
Thank you.
 

sunortap

Member
Hi Alalun,

Could you untick "Show native Microsoft Windows dialogs"? It will be much easier if you use SAP windows as #wildCat said
 

Attachments

  • SAP_Options.png
    20.7 KB · Views: 87
Top