Skip to Content
1
Apr 14, 2020 at 02:20 PM

SAP iRPA - intelligent Robotic Process Automation automate SAP GUI Process (problem)

2176 Views

Hello together,

before I tell you the problem I want to describe step by step how I automate the process in SAP GUI Logon with SAP iRPA.

First of all I check to SAP GUI scripting is activated on client and server side.

(1) For Client side I select In SAP GUI Configuration under Scripting the following field:

(2) For Server side I check the value True in transaction RZ11 -> sapgui/user_scripting

After I have checked these criteria, I start by checking the authorization of my user account in transaction SU01 -> Profile

(3) My user account have SAP_ALL Profil rights on system

So know I start with Capturing and Declaration of the Process automation with SAP iRPA

(4) Create Project in Desktop Studio

(5) Activate SAP GUI connector under Edit Project/Libraries

(6) Capturing and Declaration of the SAP Logon

(6.1) To capture the SAP Logon under + Add Application with the Technology UIAutomation

(6.2) Capture SAP Logon 750 Window

Criteries for pWindowSAPLogon75: Tag, Value, ControlTpye

(6.3) Capture Page SAP

Criteries for pSAP: Type, Text, Deepness

(7) And know I create my workflow

(7.1) Steps on pWindowSAPLogon75:

  1. Click Connection selection
  2. Click Login

(7.2) Steps on pSAP:

  1. Wait until client exists
  2. Set value in the Client field
  3. Set value in the User filed
  4. Click on the Button Continue

(8) I saving my project I click on the “Build” icon to finally generate the code and build the executable scenario

(9) After the build process is finished I start the Debugger

Attachments

useraccount.png (10.5 kB)
createproject.png (22.1 kB)
libraries.png (29.3 kB)
addapplication.png (19.3 kB)
capturepage.png (59.8 kB)
workflowpsap.png (415.5 kB)
workflow.png (25.0 kB)