SAP Intelligent RPA 2.0 - Recorder for SAP WinGUI ...
Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
This blog post explains how to automate the workflows easily using the Recorder in Cloud Studio.
Introduction
The Recorder supports SAP Windows GUI and SAP Web GUI applications. The Recorder records the steps you perform across the screens of an application. Screens, elements, and their underlying metadata are automatically captured and properly declared. Then you can export the recording to the automation designer of the Cloud Studio where a workflow is built automatically. The exported recording steps include automatically recorded application screens, elements, metadata, and automation with a workflow made up of activities. If required, you can manually edit the captured screens and elements or edit the automation to update the Step Details.
You can even append new activities to the generated automation.
Pre-requisites
To use the recorder with SAP WinGUI, SAP scripting and Recording must be enabled in the SAP WIN GUI system.
1.By default the recording option is enabled in your system, if it is not enabled, follow the below steps to enable the recording/
Navigate to the transaction RZ11
Enter the paramter sapgui/user_scripting_disable_recording.
If the parameter is maintained as TRUE, change the value to FALSE.
2.The recording is enabled by default in the SAP WebGUI application. If the recording is not enabled, ask your admin to add the S_WEBGUI authorization Object to your role.
If the recording option is enabled while recording the application you would see the little bulb icon in SAP WebGUI applications.
Automate SAP WinGUI application.
1.Create a project in Cloud Studio.
2.Create an application.
3.Select the WinGUI application which has to be recorded.
4.Select the screen and the Record button would appear instead of the capture button.
Based on the action by the BOT developer based on your action as a bot developer, the Recorder has recorded a series of interactions consisting of various steps across the screens such as:
Entering data,
Mouse clicks and movements
Keystrokes with object controls including input fields, tables, menus, button
3.Select the SAP WebGUI application which has to be recorded.
Note: SAP WebGUI applications that are embedded as an IFRAME in the S/4 HANA cloud instance cannot be recorded as of now. This is planned for future releases. We can record only the standalone SAP WebGUI applications.
4.Select the screen and the Record button would appear instead of the capture button.
I have set all the parameters in RZ11 as you described:
sapgui/user_scripting = TRUE
sapgui/user_scripting_disable_recording = FALSE
Scripting is also enabled for SAPGUI in the options
When I want to capture and record SAPGUI page in the cloud factory every time Technology "UI Automation" is selected and I cannot change to SAPGUI. SDK Version is 1.20.63.
Hi chaitanyapriya.puvvada - Here is the screenshot of the problem that I was mentioning. Could you please let me know if I am missing on any pre-requisites ?
Hi chaitanyapriya.puvvada - Right. When I have "Hide Advanced" checked, SAPGUI screen is identified with UI Automation technology. When I have "Hide Advanced" and "SAPGUI" checked, then SAP screen is NOT even identified for screen capture. It just does not come up in the list of screens.
Looking at all of your messages, I see that you have already done the Pre-requisites mentioned in the blog post but still are facing the issues of Technology showing as UI automation instead of SAP GUI.
I request all of you do a cross-check if the recording is working or not in your SAP GUI.
Refer to the blog post and record one step for testing purposes.
If you are not able to see the recording steps in your VB script, then it is an issue at the SAP GUI system where recording is not enabled.Hence you are not able to see the screen when you fliter with SAP GUI in SAP Intelligent RPA ,instead you are able to see as UI automation.
Yes, I can record everything. But the problem is in the testing. When I click test, it is not executing anything, I could wait for hours and it would still load something. If I record another application as for example excel or so it is working fine and I can test. So I cant test anything in SAP GUI and I dont know exactly the problem. I have also raised another question in the community, where I describe it analytically. You can find it here: Unable Testing SAP GUI with SAP IRPA | SAP Community
I also tried to go in my SAP GUI and make a recording from there, but i cant select thsi option as seen in the screenshot.
Thanks for every tip and help. I highly appreciate that!
I am trying to record VA01 using Web Gui but the Record button is not appearing.I am getting only Capture button. We have added S_WEBGUI role also to my ID.
Developers with the S_WEBGUI permission can activate the WebguiConnector interface in the WebGUI Settings dialog by setting the checkbox Enable WebguiConnector Interface (S_WEBGUI Permission required)*
Test with a user that has permissions for S_WEBGUI that the WebguiConnector interface is successfully exposed. This can be done by adding the parameter &sap-remote-plugin=demo to the WebGUI URL. After WebGUI is started a popup should appear Access to WebguiConnector requested, Allow or Deny access? Once the user allows access to WebguiConnector a small icon appears in the upper left corner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.