Skip to Content
Technical Articles
Author's profile photo Chaitanya Priya Puvvada

SAP Intelligent RPA 2.0 -How to capture SAP GUI Pop-up

This blog post explains the Best practices on How to capture SAP GUI Pop-ups specific to FileUpload pop-up and few other Best Practices

Pre-requisites:

Desktop Agent version : 2.0.12

Introduction:

You will learn below BEST Practices.

1.How to convert File Upload Windows pop to SAP GUI File Upload Pop up

2.How to do the settings in SAP Logon Pad to  allow SAP Security Pop

3.How to Login to SAP System when the BOT has to be executed in  Unattended mode.

Steps to follow:

 

How to convert File Upload Windows pop to SAP GUI File Upload Pop up

 

The File Upload pop-up shown below is WIndows Pop-up. This pop-up has to be captured with UI AUtomation.This window pop-up appears when we are executing a GUI screen that has input fields that requests a File Upload.

During the execution of the BOT, it needs to shift the technology from SAP GUI to UI Automation to recognize the pop-up. Since there is a shift in technology, there is a slight delay in the recognition of the File Upload pop-up.

Hence the BEST PRACTICE is to convert this Windows File Upload pop up to a SAP GUI pop up with the below settings.

Note: You can still go ahead and build the BOT with Widnows Pop up using UI Automation.

1.Switch on the Record and playback option from More -> SAP GUI settings and action -> Script Recording and Playback.

 

2.Click on the Record button

3.Now click on the Input field or F4 which would request for the file to be uploaded.

 

4.Close the Record and Playback dialog. There is no busy indicator on the SAPGUI screen. Navigate to cloud studio and do the capture.

5.Click on OK Button in the File Upload Pop-up.

6. You would receive a Security pop-up as shown below.

How to do the settings in SAP Logon Pad to  allow SAP Security Pop

7.The popup can be avoided  through the below settings in the SAP LogonPad. or You can click on Remember My Decision then Allow to not have this popup show again.

 

 

Refer to the below video to capture the SAP GUI Pop up.

How to Login to SAP System when the BOT has to be executed in  Unattended mode.

 

9.BEST PRACTICE  to log in to SAP System by avoiding multiple clicks/mouse click in Unattended mode .

Use the Activity Execute Command with the following parameters.

command:sapshcut.exe

params:-system=AAA -client=001 -user=ABCD

 

Final Result:

Showcasing execution of a BOT which includes execution of Uploading a file with SAP GUI pop(instead of Windows pop up) in unattended mode.

 

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Abir Cherif
      Abir Cherif

      Hello Priya ,

      Thank you for this nice tutorial.

      Author's profile photo Jaroslav Liska
      Jaroslav Liska

      Hi, is there any way how to capture this window in CloudStudio?

      Trying to capture it, it says: "This screen is not available for the technology SAP GUI. If I switch to WIN technology, then the window is captured but its not possible to declare the icons.

      If I choose UI Automation, then during the testing of the screen, its not recognized.

      Thank you.

      Author's profile photo Chaitanya Priya Puvvada
      Chaitanya Priya Puvvada
      Blog Post Author

       

      Please have a look at my video which explains a similar scenario on application capture

       

      Author's profile photo Indrajit Shah
      Indrajit Shah

      Chaitanya Priya Puvvada ,

      In my scenario, I have enabled the scripting but still I am getting windows dialog box for uploading file, where as I tried to capture the screens in both the ways(screen capture & Screen recording) but in screen recording its not capturing the windows dialog box instead it's capturing the SAP screen and with screen capture I manage to capture the desired screen and tested, but when merging the piece of code with my existing flow its unable to recognize the screens and activities.

       

      Do you have nay workaround or any solution?

       

       

       

      Author's profile photo Chaitanya Priya Puvvada
      Chaitanya Priya Puvvada
      Blog Post Author

      Indrajit Shah

      Can you check if you have unchecked the Show native Microsft Windows dialogs in the SAP Logon pad which  maybe not allowing to show the pop up 

      Author's profile photo Indrajit Shah
      Indrajit Shah

      Yes it is unchecked, but still the issue is same, I tried with capture + Hover with Untick the "hide advanced" filter option, but result is same.