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.

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 BEST PRACTICE is to avoid the Security pop-up through the below settings in the SAP LogonPad.

 

 

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.

 

 

Randa Khaled

Randa Khaled

Author Since: November 19, 2020

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x