Skip to Content
Technical Articles
Author's profile photo Peter Engel

SAP Intelligent RPA 2.0 – How to capture SAP Logon pad and SAP GUI

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.

Step-by-step Instruction

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.

 

Screen capture

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:

  • Automations

    You can use a previously created automation from this cloud project, as a tool to include in the flow of another automation.

  • Screens

    An Application Screen is a capture of any application.

  • Activities

    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
    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:

Conclusion

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!

For more information on SAP Intelligent RPA

Assigned Tags

      25 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Srinivas Rao
      Srinivas Rao

      Hi Peter Engel - Thanks for the detailed explanation. The best thing for me is that the technology is auto detected while capturing the screens. Really eager to try it out ....

       

      Thanks & Regards,

      Srinivas Rao.

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      you can touch it beginning of December.

      Br,

      Peter

      Author's profile photo Basanth Swain
      Basanth Swain

      Hi Peter

      A quick question

      SAP RPA 1.0  has Desktop Studio, Cloud Factory and Desktop studio, however with SAP IRPA 2.0 there is a new component called the Cloud Studio. It is a new component to the existing ones?

       

      Thanks

      Basanth

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      yes the Cloud Studio is a new component targeting the Citizen Developer but also has all functions for a developer. The Desktop Studio will still supported for the next time. you will get  more details during TechEd.

      Br,

      Peter

      Author's profile photo Lalit Gandhi
      Lalit Gandhi

      Eagerly waiting for TechEd to see the new iRPA 2.0 and cloud studio. How do I get that in trial version?

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      it will be in trial on December 3, 2020. Nothing to do.

      Br,

      Peter

      Author's profile photo Kevin Allen
      Kevin Allen

      Hi Peter,

      How do it get the Desktop Agent 2.0.6 download, so that I can use IRPA 2.0?  I do now see it when I go to Software Downloads - Intelligent Robotic Process Automation.  In fact I see nothing...

      Vielen Dank im Voraus,

      Kevin

      Author's profile photo Werner Jacobs
      Werner Jacobs

      Hi Kevin

      You can find it in the below link. Scroll to the bottom of the page for Desktop components trial versions.

      https://tools.hana.ondemand.com/#cloud

      Werner

      Author's profile photo Kevin Allen
      Kevin Allen

      Danke Werner

      Author's profile photo Werner Jacobs
      Werner Jacobs

      The UI and the use of blocks for the elements makes me think of Scratch. 🙂

      Really enjoying Cloud Studio so far.

       

      Author's profile photo Kevin Allen
      Kevin Allen

      I cannot get the Cloud Studio to recognise any of the fields in the SAP Logon screen. Regardless of what I do, it won’t recognise the QuiOkCOdeField, Client, User or password fields.

      Any tips?

      Author's profile photo Werner Jacobs
      Werner Jacobs

      Hi Kevin

      Not sure if it is still a requirement, but did you enable scripting on the client and server side.

      https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/2541675418354c40966f46cd92252de8.html

       

      Werner

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      this seems like you have not activated scripting.

      Please activate scripting on server and client side as Werner mentioned in his comment.

      Br,

      Peter

      Author's profile photo Kevin Allen
      Kevin Allen

      Hi Peter/Werner,

      Scripting is already enabled on both sides.

      I must have added the screen as a sub page rather than a new screen, i.e., Add Capture to Current Screen, rather than Add Screen. All is working now.

      Thanks,

      Kevin

      Author's profile photo Kevin Allen
      Kevin Allen

      Hi Peter,

      I have this all working perfectly, which is great.

      I am in SE16N and have run the MARD table.  I now want to capture the dropdown under the export button.  However, when I click away from the GUI screen to Cloud Studio to capture the dropdown, the it disappears.  In the Desktop Studio, I could capture this by hovering the mouse over the screen and click CTRL or SHIFT.

      How do I capture the dropdown box in the Cloud Studio?

      Thanks,
      Kevin

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Kevin,

      unfortunately this is not possible with this release. We are working on a solution for capture on hover. As an alternative you could use SE16. This should work.

      Br,

      Peter

      Author's profile photo Kevin Allen
      Kevin Allen

      HI Peter,

      Thanks for the information.

      That is really surprising.  I think we will just keep using the Desktop Studio until the Cloud Studio is more mature.

      Thanks,
      Kevin

      Author's profile photo Mikhail Fedoruk
      Mikhail Fedoruk

      HI Peter,

      Thanks for your guides.

      But I have a question. When I try to capturing the page SAP GUI asking me an access to the scripts.

      Why is this happening?

       

      Thanks,

      MIkhail

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Mikhail,

      in the settings of the SAP Logon pad where you also activated the SAP script on client side is an option to deactivate this pop-up.

      Br,

      Peter

      Author's profile photo Mikhail Fedoruk
      Mikhail Fedoruk

      Hi Peter.

      Thank you for fast answer. Your advice helped me.Now my automation works correctly.

       

      Thanks,

      Miikhail.

      Author's profile photo Juan Rodriguez
      Juan Rodriguez

      Hi Peter, i have a problem. When i try to capture the logon screen, some advertisingtells me that there is an error capturing this window as it is sap gui. what could be happening?

       

      Thanks

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      is SAP Scripting enabled on client and server?

      Please provide also a screenshot.

      Br,

      Peter

      Author's profile photo Juan Rodriguez
      Juan Rodriguez

      Yes, Scripting is available on my SAPLogon

      But when ui choose the screen, i can't watch the preview, neither take the capture

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Please check this https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/001675913cc54719930aa8197478dcde.html?q=rz11

       

      Author's profile photo Cristian David Colonia Medina
      Cristian David Colonia Medina

      Hi Peter, I have a problem.

      After capturing the item from a screen in SAP GUI, the application test does not recognize me the  item and it is also not recognized when running the automation. I have tried several Captured Data options and it did not work for me.
      Thank you in advance!

      The area enclosed in blue refers to the "Tabla" element.