Click

Estimated reading: 4 minutes

The SAP Click activity performs click operations on SAP user interface elements identified using Spy. It uses the captured element information to locate and interact with controls such as buttons, links, tabs, menu items, checkboxes, and radio buttons. The activity supports single and double clicks using the selected mouse button.

Prerequisites

Execute the SAP Logon activity to establish or access an SAP session before using SAP Click to interact with SAP UI elements.

Activity Canvas

The activity canvas allows you to identify an SAP UI element using Spy and configure the click operation.

Select Element: Allows you to identify and capture an SAP UI element using Spy. The captured element information is used to locate the target control during workflow execution.

Click Type: Specifies the type of click to perform on the selected element.
Single: Performs a single click on the target element.
Double: Performs a double click on the target element.

Mouse Button: Specifies the mouse button used for the click operation.
Left: Performs the click using the left mouse button.
Right: Performs the click using the right mouse button.

Properties

Input

Action By: Specifies the method used to identify or interact with the target SAP element.

Click Type: Specifies the click action to perform on the selected element (Single or Double).

Mouse Button: Specifies the mouse button to use for the click operation (Left or Right).

Execution

Delay Before: Specifies the delay, in milliseconds, before initiating the click operation. The default value is 200 milliseconds.

Delay After: Specifies the delay, in milliseconds, after completing the click operation. The default value is 300 milliseconds.

Offset X: Specifies the horizontal offset from the center of the selected element. Positive values move the click position to the right, while negative values move it to the left.

Offset Y: Specifies the vertical offset from the center of the selected element. Positive values move the click position downward, while negative values move it upward.

Use Anchor: Determines whether an anchor is used to help identify the target SAP element.
Checked: Uses the configured anchor for element identification.
Unchecked: Identifies the target element without using an anchor.

Wait Time: Specifies the maximum time, in milliseconds, to wait for the target SAP element to become available before timing out. Confirm the default value in the activity configuration.

MISC

DisplayName: Specifies the activity’s display name. Customize it to identify the activity in the workflow.

SkipOnError: Specifies whether workflow execution continues when the activity encounters an error.
True: Continues workflow execution when an error occurs.
False: Stops workflow execution when an error occurs.
None: Uses the default value, False.

Version: Displays the current version of the activity.

OUTPUT

Result: Returns a Boolean value indicating the activity’s execution status.
True: The activity executed successfully.
False: The activity failed due to an unexpected error.

SAP

SAP Id: Displays the SAP session identifier associated with the session in which the activity executes. This value is populated automatically.

TREE

Node Key: Represents the unique key assigned to the target node in the SAP tree control. The value is populated automatically when the node is captured using Spy.

Node Text: Represents the visible label of the target node in the SAP tree control. The value is populated automatically when the node is captured using Spy.

How It Works

1. Execute the SAP Logon activity to establish or access an SAP session.
2. Use Spy to identify and capture the required SAP UI element.
3. Configure the click operation and the required properties.
4. During execution, the activity uses the captured element information to locate the target control.
5. The activity waits for the target element according to the configured Wait Time.
6. It performs the specified click operation using the selected mouse button and configured offsets, if applicable.
7. The activity handles execution errors according to its configured error-handling behavior.

Example

To open a transaction from the SAP navigation menu:

1. Use Spy to capture the required menu item.
2. Set Click Type to Single.
3. Set Mouse Button to Left.

During execution, SAP Click locates the captured menu item and performs the click, allowing the workflow to proceed to the next step.

Share this Doc

Click

Or copy link

CONTENTS
Robility Chatbot
Robility Assistant
Online