SAP package
- Updated: 2024/06/27
SAP package
The SAP package contains actions to automate tasks and processes on a SAP application.
- Reduce the time required to combine data from disparate systems.
- Eliminate human error and increase efficiency.
- Increase the number of transactions processed.
- Deliver real-time information to various stakeholders.
- Enhance decision-making through comprehensive reports. Note: In SAP Connect action, the Session name field cannot be shared with Task Bots or any other bots.
Prerequisites
- Log in to the SAP GUI before capturing objects because the SAP Logon screen is not supported for object capture.
- Enable GUI scripting and accessibility.
See Enabling Scripting on the Client Side, Enabling Scripting on the Server Side, and Enabling Accessibility settings.
- Ensure that one of the following SAP GUI for Windows
is installed on the devices that you use to automate SAP-related tasks and to run these tasks:
- SAP GUI 800 with patch 4
- SAP GUI 770 with patch 6
- SAP GUI 760 with patch 5
- SAP GUI 760 with patch 1
- SAP GUI 760 with patch 0
- SAP GUI 750 with patch 9
Note: The SAP package supports SAP GUI versions with different patches, including the certified version.Note: If SAP GUI 760 with patch 0 is installed on your device, you cannot use the SAP Grid view control Set Table cell text and Get Table Cell Text actions because of an issue with SAP GUI 760 with patch 0. - Install a Scripting Tracker or a similar tool to retrieve the field path of the SAP object.
Before you start
- Multiple
sessions are supported in the SAP. However, ensure that while
creating a bot that uses multiple sessions, you enter the exact or
complete name of the session that you intend to use in the Control
field path.
For example, /app/con[0]/ses[0]/userid.
- Perform the following actions within the
SAP
package as part of using the set of available actions:
- Establish a connection with the SAP application using
the Connect
action.
Log in to the SAP application using the SAP GUI application. Then use the Connect action from the SAP package to use this connection and assign a session name. Use this same session name for the other actions.
- Use the actions to automate a task.
- After you have automated all the SAP-related tasks, terminate the connection to the SAP application using the Disconnect action.
- Establish a connection with the SAP application using
the Connect
action.
Actions in the SAP package
Action | Description |
---|---|
Check/uncheck checkbox | |
Click | |
Click menu | |
Connect | Using Connect action for SAP. |
Disconnect | |
Double click | |
Expand | |
Export table | Using Export table action. |
Get cell count | |
Get children name | |
Get children text | |
Get column count | |
Get row count | |
Get selected item | |
Get status | |
Get table cell index | |
Get table cell text | |
Get text | |
Get item count | |
Left click | |
Right click | |
Select item | |
Select radio option | |
Send virtual key | |
Set table cell text | Set table cell text. |
Set text |