In this blog post you will get a first introduction in the new Cloud Studio of SAP Intelligent RPA 2.0 and learn how to start with the automation of SAP GUI screens.
One of the first steps in SAP software automation is the logon to a SAP system. In this blog post I describe how to build an Automation using SAP logon pad and SAP GUI in SAP Intelligent RPA 2.0. For those who are familiar with SAP Intelligent RPA 1.0 an Automation in 2.0 is similar to a Scenario in 1.0.
Create a new project in the Cloud Factory
With SAP Intelligent RPA 2.0 we start bot building directly in the cloud. The new environment is fully browser enabled. First step after the log on to the Cloud Factory is the creation of a Project:
To create a project click on the ‘New Project’ button in the upper right corner. Insert project name and description into the fields of the pop-up and click on create.
The click on save creates the project and redirect you to the Cloud Studio, the new design environment.
First we will start with capturing the screens. Therefor click on ‘+ Capture application’ to start the process. on the left side of the next screen you can see a list with the available screens.
Capturing and Declaration of the SAP Logon Pad
Click on ‘SAP Logon 760’ and the SAP Logon Pad appears.
Click on ‘Capture’ in the left lower corner to start capturing the screen. The screen will be captured and you can immediately declare items on the screen. Click on the system and declare the element. No additional action needed. Then do the same with the ‘Log on’ button and save the results.
In comparison to the Desktop Studio you need less clicks to achieve the same result in the Cloud Studio. You do not need to know which technology to use or which criteria are the right ones. The new Cloud Studio does it for you!
Capturing and Declaration of the SAP GUI
Now you have to capture the SAP logon screen to enter user name and password. Therefore click on the three dots behind the application name and choose ‘Add Screen’
Select SAP Logon and click on capture to start the process. Same here you have not to select a technology to capture the page, the Cloud studio selects the technology automatically.
After capturing the page you declare the fields User, Password and the Enter button by activating the items and clicking on declare. Don’t forget to save the results.
Building the Automation
An automation is composed of a succession of steps you build in the Cloud Studio with the automation designer. An automation can orchestrate multiple activities on different applications and screens that are available on a specific computer. An automation is executed on the Desktop Agent of your local machine.
The creation starts with a pop-up where the Cloud Studio automatically detect the version of your installed Desktop Agent to ensure compatibility between the Cloud Agent and the used SDKs in the Cloud Studio.
Click on ‘Confirm’ to move to the next pop-up to create the automation. Here you enter the Name and the Description of the automation. The Identifier will be generated automatically, but you can edit the ID.
On the next screen you see the automation designer with the following features:
You can use a previously created automation from this cloud project, as a tool to include in the flow of another automation.
An Application Screen is a capture of any application.
Activities are used to build the workflow of your automation. They come from the SDK packages imported in the Cloud Studio the first time you create an automation.
- Data Types
A data type is a complex data used to describe a data structure. It can be defined as an input or an output and used throughout your automation.
Controls allow you to add tools such as conditions, loops, and scripts to your automation.
To build your automation you use the captured screens and the related activities. The final automation should look like this example:
To learn how to use the screens and activities view this video:
Now you are able to build an automation with SAP Intelligent RPA 2.0 which is using the SAP Logon Pad and the SAP logon screen to get access to a SAP system. You learned that the new Cloud Studio is more intuitiv and supports you with additional functions to make your daily work easier.
Stay curious for further blog post on SAP Intelligent RPA 2.0! Happy bot building!