cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Script "save as" popup

0 Likes
849

Hello everyone.

I have an EXCEL macro1 to export some data, from SAP, as 2 different spreadsheets and it works fine, but (as you might know) the SAP script recording doesn't save steps when "Save As" and "Confirm Save As" popups appears.sap-save-as-popup.png(52.1 kB)

In the other hand I have macro2 to complete "Save As" portion that works fine if I run it separately.

On what I need help is:

  • How can I execute macro2 in parallel when the "Save As" popup appears, while macro1 is still running and waiting for popups completion?
  • Would you have a script code to run after, in order to hit "Yes" when "Confirm Save As" popup appears?
  • As you might know also, when you export to spreadsheet the file is automatically opened. Is it there, in SAP, some configuration to avoid this behavior?

Thanks for your kindly support.

Best Regards.

Fabian

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Likes

FYI, I was able to solve this issue, using VBS script files where I run the main file from the Windows Task Scheduler to open SAP session with a generic user on a Virtual Machine.

Then the main VBS file, calls different "SAVE AS" script files to complete each "SAVE AS" popup window opened during the download process.

Steps are shown on this video https://youtu.be/SkNhQJEUKZc

Regards.