Technical Articles
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
- Exchange knowledge: SAP Community | Q&A | Blog
- Learn more: Webinars | Help Portal | openSAP |
- Explore: Product Information | Successful Use Cases
- Try SAP Intelligent RPA for Free: Trial Version | Pre-built Bots
- Follow us on: LinkedIn, Twitter and YouTube
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.
Hi,
you can touch it beginning of December.
Br,
Peter
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
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
Eagerly waiting for TechEd to see the new iRPA 2.0 and cloud studio. How do I get that in trial version?
Hi,
it will be in trial on December 3, 2020. Nothing to do.
Br,
Peter
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
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
Danke Werner
The UI and the use of blocks for the elements makes me think of Scratch. 🙂
Really enjoying Cloud Studio so far.
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?
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
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
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
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
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
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
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
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
Hi Peter.
Thank you for fast answer. Your advice helped me.Now my automation works correctly.
Thanks,
Miikhail.
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
Hi,
is SAP Scripting enabled on client and server?
Please provide also a screenshot.
Br,
Peter
Yes, Scripting is available on my SAPLogon
But when ui choose the screen, i can't watch the preview, neither take the capture
Please check this https://help.sap.com/viewer/8ecea00c1f854fd0a433c4aef5da1ea2/Cloud/en-US/001675913cc54719930aa8197478dcde.html?q=rz11
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.
I am facing the following issue.
When I am trying to let my rpa log in I can't declare user, password....
The reason of this, is that the capturing only sees it as a pane and not different elements.
Can someone help me?
Hi Arthur,
is SAP scripting enabled? Both on server and client side?
Do you use Cloud Studio? If not please move to Cloud Studio and use the recorder to capture the screen.
Also you can check the store. All bots with publisher SAP Intelligent RPA will have a log on procedure at the beginning. There you can see how it should look like and what are potential differences.
Br,
Peter
Hi
thx for your response.
scripting is enabled on server side but I don't know how to check it on client side.
Im using cloud studio and I also tried it wit record to capture.
Hi,
please check here SAP Scripting
Also check if you are on the latest Desktop Agent version.
Br,
Peter
The problem is, is that it is not only with sap but it does the same when im trying to do a screen capture from a website or fiori launchpad ect.
What’s the version of your desktop agent and of the browser add-in?
This is the version of my desktop agent 2.0.21.103
and for my browser add-in is it 2.0.23.16
I have updatet my desktop agent to the newest version and it still does not work. Should I try a lower version Peter Engel ?
Hi Arthur,
I followed you now. Please send me a private message, so we can have a direct conversation on this topic.
Br,
Peter
Hi,
I have same issues with sap recording to enter username and password screen, elements are not capturing as it is not picking technology as sap gui, it only picks ui automation.
thanks
Gurdeep Kumar