SAP Help Home SAP Intelligent RPA Help Portal SAP Intelligent RPA Community

Table of Contents

Core SDK
Automation Alerting
Base64 Encoding
Clipboard
Converters (JS, JSON, XML...)
Cryptography collection
Data Type Management
Diagnostics
SAP Document Management System (DMS) Module
Enumerations and Constants
Errors
File System (FS)
File Transfer Protocol (FTP)
Information
List Management
Monitoring
Mouse
Dialogs
Registry
HTTP Request
SAP GUI
Classes
Class GuiVComponent Get Icon Name (GUI Item) Custom Action (SAP GUI) Class GuiComponent Class GuiContainer Class GuiVContainer Class GuiItem Class GuiApplication Class GuiButtonMenu Class GuiScrollbar Class GuiConnection Class GuiSession Start Transaction (GUI Session) End Transaction (GUI Session) Create Session (GUI Session) Is Busy? (GUI Session) Get System Name (GUI Session) Get App Server Details (GUI Session) Get Client Name (GUI Session) Get User Name (GUI Session) Get Transaction Details (GUI Session) Get Programs Details (GUI Session) Get Screen Number (GUI Session) Get System Number (GUI Session) Get Session Number (GUI Session) Class GuiModalWindow Class GuiMessageWindow Class GuiTextEdit Class GuiHTMLViewer Class GuiCtrlToolbar Class GuiCheckBox Class GuiComboBox Get Key (GUI ComboBox) Set Key (GUI ComboBox) Get Value (GUI ComboBox) Set Value (GUI ComboBox) Class GuiCalendar Get Date (GUI Calendar) Select Date (GUI Calendar) Get Date Range (GUI Calendar) Select Date Range (GUI Calendar) Set Focus Date (GUI Calendar) Set Selection Interval (GUI Calendar) Set First Visible Date (GUI Calendar) Class GuiTree Get Selected Element (GUI Tree) Select/Deselect Element (GUI Tree) Expand Node (GUI Tree) Collapse Node (GUI Tree) Double Click Node (GUI Tree) Get Node Key by Text (GUI Tree) Get Node Key by Path (GUI Tree) Get Node Keys (GUI Tree) Get Sub Node Keys (GUI Tree) Get Column Names (GUI Tree) Is Column a Tree? (GUI Tree) Select Context Menu Element by Text (GUI Tree) Select Context Menu Element by Position (GUI Tree) Item Context Menu (GUI Tree) Context Menu (GUI Tree) Select Context Menu Item (GUI Tree) Select Context Menu Element by ID (GUI Tree) Select Node Element (GUI Tree) Select Node Item By Column Name (GUI Tree) Get Node Element Text (GUI Tree) Click Node Element Link (GUI Tree) Click Node Item Link by Column Name (GUI Tree) Click Node Element Button (GUI Tree) Click Node Item Button by Column Name (GUI Tree) Double Click Node Element (GUI Tree) Double Click Node Item (GUI Tree) Get Checkbox State (GUI Tree) Change Checkbox State (GUI Tree) Select Checkbox (GUI Tree) Unselect Checkbox (GUI Tree) Set Top Node (GUI Tree) Set Selected Node (GUI Tree) Class GuiFrameWindow Iconify (GUI Frame) Keystroke (GUI Frame) Take Screenshot (GUI Frame) Restore Window (GUI Frame) Minimize Window (GUI Frame) Maximize Window (GUI Frame) Close Window (GUI Frame) Custom Action (SAP GUI) Resize Working Pane (GUI Frame) Hold Session (GUI Frame) Release Session (GUI Frame) Set Automation Connection (GUI Frame) Set Busy Wait Time (GUI Frame) Reset Busy Wait Time (GUI Frame) Class GuiMainWindow Class GuiMenu Class GuiOkCodeField Class GuiStatusbar Get Message ID (GUI Status Bar) Get Message Number (GUI Status Bar) Get Message Type (GUI Status Bar) Class GuiTableControl Scroll Down (GUI Table) Scroll Up (GUI Table) Scroll To (GUI Table) Get Scroll Max (GUI Table) Get Scroll Position (GUI Table) Get Visible Rows (GUI Table) Get Row Data (GUI Table) Get Column Names (GUI Table) Scroll to Next Page (GUI Table) Scroll to Previous Page (GUI Table) Get Visible Rows Count (GUI Table) Select Row (GUI Table) Deselect Row (GUI Table) Select Visible Row (GUI Table) Deselect Visible Row (GUI Table) Select All Visible Row (GUI Table) Deselect All Visible Rows (GUI Table) Set Vertical Scroll Bar Position (GUI Table) Set Horizontal Scroll Bar Position (GUI Table) Class GuiTab Class GuiTabStrip Class GuiUserArea Scroll to Next Page (GUI User Area) Scroll to Previous Page (GUI User Area) Set Vertical Scroll Bar Position (GUI User Area) Set Horizontal Scroll Bar Position (GUI User Area) Class GuiCTextField Class GuiPasswordField Class GuiTextField Set Caret Position (GUI Text Field) Class GuiGridViewCheckBox Class GuiToolbarCheckBox Class GuiRadioButton Class GuiStatusPane Class GuiLabel Set Caret Position (GUI Label) Class GuiToolbarMenu Class GuiToolbarButtonAndMenu Class GuiToolbar Click Toolbar (GUI Toolbar) Press Context Button (GUI Toolbar) Select Context Menu Item (GUI Toolbar) Click Toolbar (GUI Toolbar) Select Toolbar MenuItem by Text (GUI Toolbar) Select Toolbar MenuItem by Position (GUI Toolbar) Select Toolbar MenuItem by ID (GUI Toolbar) Class GuiGridViewPane Class GuiGridViewMenu Class GuiGridViewButtonAndMenu Class GuiGridView Click Toolbar (GUI Grid) Press Toolbar Context Button (GUI Grid) Select Context Menu Item (GUI Grid) Get Toolbar (GUI Grid) Get Columns (GUI Grid) Get Row (GUI Grid) Get Rows Count (GUI Grid) Get Rows (GUI Grid) Get Visible Rows (GUI Grid) Get Columns Rows (GUI Grid) Select Cell (GUI Grid) Select Row (GUI Grid) Get Selected Row (GUI Grid) Get Selected Column (GUI Grid) Get Cell Value (GUI Grid) Set Cell Value (GUI Grid) Click Current Cell (GUI Grid) Click Cell (GUI Grid) Double Click Cell (GUI Grid) Select All Rows (GUI Grid) Deselect All Rows (GUI Grid) Click Current Cell Button (GUI Grid) Click Cell Button (GUI Grid) Click Context Menu Item - Text (GUI Grid) Click Context Menu Item - Position (GUI Grid) Context Menu (GUI Grid) Click Context Menu Item - ID (GUI Grid) Set First Visible Row (GUI Grid) Set Selected Rows (GUI Grid) Set Current Cell (GUI Grid) Set Current Cell Row (GUI Grid) Double Click Current Cell (GUI Grid) Set First Visible Column (GUI Grid) Click Toolbar (GUI Grid) Select Toolbar Menu Item - Text (GUI Grid) Select Toolbar Menu Item - Position (GUI Grid) Select Toolbar Menu Item - ID (GUI Grid) Class GuiGridViewButton Class GuiGridViewGroup Class GuiToolbarButton Class GuiToolbarGroup Class GuiButton Click Sync (GUI Button) Class GuiShell Class GuiCustomControl Class GuiContainerShell Class GuiDockShell Class GuiSimpleContainer Class GuiScrollContainer Class GuiSplitterContainer Class GuiTitlebar Class GuiMenubar Class GuiGOSShell Class GuiSplitterShell Class GuiDialogShell Class GuiContainerItem Class GuiBox Class GuiPicture Class GuiGridViewSeparator Class GuiGridViewToolBar Class GuiGridViewThumb Class GuiToolbarSeparator Class GuiToolbarToolBar Class GuiPane
SAP S/4HANA Cloud API Access Token Module
Security
UIAutomation
Variable Management
Local Agent Variables
Local Agent Credentials
WMI Client

Module - SAP GUI

Collection of activities related to SAP GUI for Windows. SAP GUI is the Windows full client frontend for accessing SAP ECC. The following activities are designed to work seamlessly with the SAP GUI objects such as fields, buttons...

Class GuiVComponent



Activities :

Get Icon Name (GUI Item)

Retrieve the name of an icon within a SAP GUI Frame Window.


Technical Name Type Minimal Agent Version
getIconName asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
iconName string Returns the icon name.

Sample Code:

const name = await SAPLogon750App.pSAPEasyAccess.oItem.getIconName();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Custom Action (SAP GUI)

Execute a custom action from SAP GUI Scripting API documentation


Technical Name Type Minimal Agent Version
custom asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
actionName string Provide an SAP GUI action name (Eg. exec_Press, set_Text, etc).
paramA string optional Parameter 1 for Custom Action.
paramB string optional Parameter 2 for Custom Action.
paramC string optional Parameter 3 for Custom Action.
paramD string optional Parameter 4 for Custom Action.

Output Parameters:

Name Type Description
result string Result of the action.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.custom("set_Text", "APOR");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Class GuiComponent



No specific activities for this class.

Class GuiContainer



No specific activities for this class.

Class GuiVContainer



No specific activities for this class.

Class GuiItem



No specific activities for this class.

Class GuiApplication

Extends Technologies of the class
irpa_core.core.Application SAPGUI


No specific activities for this class.

Class GuiButtonMenu



No specific activities for this class.

Class GuiScrollbar

Extends Technologies of the class
irpa_core.core.ScrollBar SAPGUI


No specific activities for this class.

Class GuiConnection



No specific activities for this class.

Class GuiSession

Subset of activities related to SAP GUI Session. Use to Start or End a transaction or simply create a Session. Retrieve contextual information related to the User Session which can be useful when designing an automation.
Extends Technologies of the class
irpa_core.core.Screen SAPGUI


Activities :

Start Transaction (GUI Session)

Start a transaction by moving to a new screen.


Technical Name Type Minimal Agent Version
startTransaction asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
transactionCode string Code of the transaction.

Output Parameters:

Name Type Description
result boolean Returns true if the transaction starts by moving to a new screen, false if it does not.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.startTransaction(transactionId);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.
InvalidArgument irpa_core InvalidArgument provide value for parameter transactionCode.


End Transaction (GUI Session)

End a transaction by coming back to the previous screen.


Technical Name Type Minimal Agent Version
endTransaction asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if the transaction ends by coming back to a previous screen, false if it does not.

Sample Code:

await SAPLogon750App.pDisplaySalesDocument.endTransaction();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Create Session (GUI Session)

Create a new SAP GUI Session (it will trigger a new main window).


Technical Name Type Minimal Agent Version
createSession asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if the new session is created, false if not.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.createSession();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Is Busy? (GUI Session)

Check whether SAP GUI is busy or not. Use this function before performing an action. This function is available at a screen and at an element level.


Technical Name Type Minimal Agent Version
isSAPGuiBusy asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if SAP GUI is busy, false if not.

Sample Code:

var sH = await SAPLogon750.pTCURRDisplayOfEnt.isSAPGuiBusy(); var sW = await SAPLogon750.pTCURRDisplayOfEnt.btExit.isSAPGuiBusy();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get System Name (GUI Session)

Retrieve the system name from a SessionInfo.


Technical Name Type Minimal Agent Version
getSystemName asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
systemName string Returns the system name of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getSystemName(); await SAPLogon750App.pSAPEasyAccess.oItem.getSystemName();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get App Server Details (GUI Session)

Retrieve details of an application server from a SessionInfo.


Technical Name Type Minimal Agent Version
getApplicationServer asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
server string Returns the application server details of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getApplicationServer(); await SAPLogon750App.pSAPEasyAccess.oItem.getApplicationServer();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get Client Name (GUI Session)

Retrieve a client name from a SessionInfo.


Technical Name Type Minimal Agent Version
getClientName asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
clientName string Returns the client name of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getClientName(); await SAPLogon750App.pSAPEasyAccess.oItem.getClientName();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get User Name (GUI Session)

Retrieve a user name from a SessionInfo.


Technical Name Type Minimal Agent Version
getUserName asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
userName string Returns the user name of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getUserName(); await SAPLogon750App.pSAPEasyAccess.oItem.getUserName();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get Transaction Details (GUI Session)

Retrieve the details of a transaction from a SessionInfo.


Technical Name Type Minimal Agent Version
getTransaction asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
transaction string Returns the current transaction of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getTransaction(); await SAPLogon750App.pSAPEasyAccess.oItem.getTransaction();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get Programs Details (GUI Session)

Retrieve a list of installed programs from a SessionInfo. The activity collects the list of installed programs (as listed in the 'Programs and Features' Control Panel) and stores it in the 'programs' attribute of the object provided in the argument.


Technical Name Type Minimal Agent Version
getProgram asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
program string Returns the list of installed programs of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getProgram(); await SAPLogon750App.pSAPEasyAccess.oItem.getProgram();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get Screen Number (GUI Session)

Retrieve a screen number from a SessionInfo.


Technical Name Type Minimal Agent Version
getScreenNumber asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
screenNumber string Returns the screen number of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getScreenNumber(); await SAPLogon750App.pSAPEasyAccess.oItem.getScreenNumber();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get System Number (GUI Session)

Retrieve a system number from a SessionInfo.


Technical Name Type Minimal Agent Version
getSystemNumber asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
systemNumber string Returns the system number of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getSystemNumber(); await SAPLogon750App.pSAPEasyAccess.oItem.getSystemNumber();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Get Session Number (GUI Session)

Retrieve a session number from a SessionInfo.


Technical Name Type Minimal Agent Version
getSessionNumber asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
sessionNumber string Returns the session number of SAP GUI session.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.getSessionNumber(); await SAPLogon750App.pSAPEasyAccess.oItem.getSessionNumber();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Class GuiModalWindow

Extends Technologies of the class
irpa_core.SAPScripting.GuiFrameWindow SAPGUI


No specific activities for this class.

Class GuiMessageWindow

Extends Technologies of the class
irpa_core.core.Screen SAPGUI


No specific activities for this class.

Class GuiTextEdit

Extends Technologies of the class
irpa_core.core.Edit SAPGUI


No specific activities for this class.

Class GuiHTMLViewer

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiCtrlToolbar

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiCheckBox

Extends Technologies of the class
irpa_core.core.CheckBox SAPGUI


No specific activities for this class.

Class GuiComboBox

Subset of activities related to SAP GUI ComboBox UI element. Use to retrieve or define the keys (or values) from this component.
Extends Technologies of the class
irpa_core.core.ComboBox SAPGUI


Activities :

Get Key (GUI ComboBox)

Retrieve the key for a selected element in SAP GUI ComboBox.


Technical Name Type Minimal Agent Version
getKey synchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
key string Returns the key of a selected element in the ComboBox.

Sample Code:

await SAPLogon750.oPage.oComboBox.getKey();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Set Key (GUI ComboBox)

Set a key for a selected element in SAP GUI ComboBox.


Technical Name Type Minimal Agent Version
setKey synchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
key string Key for an element which will be set in the ComboBox.

Sample Code:

await SAPLogon750.oPage.oComboBox.setKey(key);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter key.


Get Value (GUI ComboBox)

Retrieve the value of a selected element in SAP GUI ComboBox.


Technical Name Type Minimal Agent Version
getValue synchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
value string Returns the value of a selected element in the ComboBox.

Sample Code:

await SAPLogon750.oPage.oComboBox.getValue();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Set Value (GUI ComboBox)

Set a value for a selected element in SAP GUI ComboBox.


Technical Name Type Minimal Agent Version
setValue synchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
value string Value to be set for a selected element in the ComboBox.

Sample Code:

await SAPLogon750.oPage.oComboBox.setValue(value);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter value.


Class GuiCalendar

Subset of activities related to SAP GUI Calendar.
Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


Activities :

Get Date (GUI Calendar)

Retrieve a specified date in YYYYMMDD format.


Technical Name Type Minimal Agent Version
getDate asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
selectedDate string Returns the specified date in YYYYMMDD format.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.getDate();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select Date (GUI Calendar)

Select a specified date in YYYYMMDD format.


Technical Name Type Minimal Agent Version
selectDate asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
date string Date in YYYYMMDD format.

Sample Code:

Selects date given in 'YYYYMMDD' format await SAPLogon750App.pSAPEasyAccess.oItem.selectDate();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter date.


Get Date Range (GUI Calendar)

Retrieve a specified date range in YYYYMMDD format separated by a comma.


Technical Name Type Minimal Agent Version
getDateRange asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
selectedDateRange string Returns the selected date range in YYYYMMDD format separated by a comma.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.getDateRange();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select Date Range (GUI Calendar)

Select a specified date range in YYYYMMDD format.


Technical Name Type Minimal Agent Version
selectDateRange asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
fromDate string 'From' date in YYYYMMDD format.
toDate string 'To' date in YYYYMMDD format.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.selectDateRange();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters fromDate, toDate.


Set Focus Date (GUI Calendar)

Focus a specified date in the GUI Calendar.


Technical Name Type Minimal Agent Version
setFocusDate asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
date string Date in YYYYMMDD format.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.setFocusDate();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter date.


Set Selection Interval (GUI Calendar)

Set the selected interval of given 2 dates in YYYYMMDD format in GUI Calendar.


Technical Name Type Minimal Agent Version
setSelectionInterval asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
combinedDate string Provide concatenated date strings separated by a comma eg.("20210412,20210415").

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.setSelectionInterval();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter date.


Set First Visible Date (GUI Calendar)

Focus on the earliest date visible in the calendar control in the YYYYMMDD format.


Technical Name Type Minimal Agent Version
setFirstVisibleDate asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
date string Date in YYYYMMDD format.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.setFirstVisibleDate();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter date.


Class GuiTree

Subset of activities related to SAP GUI Tree.
Extends Technologies of the class
irpa_core.core.Tree SAPGUI


Activities :

Get Selected Element (GUI Tree)

Retrieve a selected element. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
selected asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result string Returns selected node key.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.selected();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select/Deselect Element (GUI Tree)

Select or deselect a specified element. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
select asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
isSelected boolean Set to true if the element is to be selected, false if it is to be deselected.
key string Node key.

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

const sNodeKey = '0000000004'; await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.select(true, sNodeKey);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter isSelected and key.


Expand Node (GUI Tree)

Expand a node. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
expand asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
key string Node key.

Sample Code:

const sNodeKey = '0000000004'; await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.expand(sNodeKey);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter key.


Collapse Node (GUI Tree)

Collapse a node. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
collapse asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
key string Node key.

Sample Code:

const sNodeKey = '0000000004'; await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.collapse(sNodeKey);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter key.


Double Click Node (GUI Tree)

Execute a double click on a node. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
clickDoubleNode asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
key string Node key.

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

const sNodeKey = '0000000004'; await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.clickDoubleNode(sNodeKey);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter key.


Get Node Key by Text (GUI Tree)

Retrieve a node key using node text. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
getNodeKeyByText asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
inputText string Text to use to get node key.

Output Parameters:

Name Type Description
key string Returns a node key.

Sample Code:

const sNodeText = 'SAP Menu'; await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.getNodeKeyByText(sNodeText);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter inputText.


Get Node Key by Path (GUI Tree)

Retrieve a node key using node path. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
getNodeKeyByPath asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
inputPath string Node path to use to get node key. A node path consists of indexes separated by "/". The index starts from 1 in GUI Tree.

Output Parameters:

Name Type Description
key string Returns a node key.

Sample Code:

const sNodePath = '2/1/2'; await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.getNodeKeyByPath(sNodePath);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter inputPath.


Get Node Keys (GUI Tree)

Return a collection of the node keys for all top nodes in a GUI tree. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
getNodesCol asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
Returns Array. Collection of node keys.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.getNodesCol();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Sub Node Keys (GUI Tree)

Return a collection of all the sub nodes keys for a node specified by a given node key. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
getSubNodesCol asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
inputKey string Node key to provide to get sub nodes keys.

Output Parameters:

Name Type Description
Returns Array. Collection of sub node keys.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.getSubNodesCol(key);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Column Names (GUI Tree)

Retrieve the column names. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
getColumnNames asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
columns Array. Returns an array of column names.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.getColumnNames();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Is Column a Tree? (GUI Tree)

Check whether a column is a tree or not. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
isColumnTree asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if the column is a tree, false if not.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.isColumnTree();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select Context Menu Element by Text (GUI Tree)

Retrieve a context menu element using a text element. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
selectContextMenuItemByText asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
itemText string Text of the context menu element.
columnPos number Position of the column as number from left (0 by default).

Output Parameters:

Name Type Description
selected boolean Returns true if a context menu element of a cell or row is selected using its text, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.selectContextMenuItemByText('Logistics', 'Open folder', 0)

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, itemText, columnPos.


Select Context Menu Element by Position (GUI Tree)

Select a Context menu element using an element position. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
selectContextMenuItemByPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
itemPosition string Position of the context menu element.
columnPos number Position of the column as number from left (0 by default).

Output Parameters:

Name Type Description
selected boolean Returns true if a context menu element of a cell or row is selected using its position, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.selectContextMenuItemByPosition('logistics', 0,0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, itemPosition, columnPos.


Item Context Menu (GUI Tree)

Open the tree item's context menu in a Tree View Control.


Technical Name Type Minimal Agent Version
itemContextMenu asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
colName string Provides a column name.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.itemContextMenu("00000001")

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, itemID, columnPos


Context Menu (GUI Tree)

Open the context menu of a tree node in a Tree View Control.


Technical Name Type Minimal Agent Version
contextMenu asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.contextMenu("00000001")

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey


Select Context Menu Item (GUI Tree)

Select a context menu element using an element ID. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
selectContextMenuItem asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
itemID string Provides a context menu item ID.

Output Parameters:

Name Type Description
selected string Returns true if a context menu item of a cell or row is selected using its ID, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.selectContextMenuItem("XXEXPD")

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, itemID, columnPos


Select Context Menu Element by ID (GUI Tree)

Select a Context menu element using an element ID. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
selectContextMenuItemByID asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
itemID string ID of the context menu element.
columnPos number Position of the column as number from left (0 by default).

Output Parameters:

Name Type Description
selected boolean Returns true if a context menu element of a cell or row is selected using its ID, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.selectContextMenuItemByID("Logistics", "XXEXPD", 0)

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, itemID, columnPos.


Select Node Element (GUI Tree)

Select a node element. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
selectNodeItem asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if the node element is selected, false if not.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.selectNodeItem('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Select Node Item By Column Name (GUI Tree)

Select the node Item in a Tree View Control.


Technical Name Type Minimal Agent Version
selectNodeItemByColName asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Provides the node key.
colName string Provides the column name.

Output Parameters:

Name Type Description
result boolean Returns true if the node element is selected, false if not.

Sample Code:

await SAPLogon750.pSAPEasyAccess.oSAPTableTreeControl.selectNodeItemByColName('000000001', 'logistics');

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, columnPos


Get Node Element Text (GUI Tree)

Retrieve the text from different elements of a node in a column of type tree. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
getNodeItemText asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
text string Returns a text element.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.getNodeItemText('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Click the link of a node element. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
clickNodeItemLink asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.clickNodeItemLink('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Click Node Item Link by Column Name (GUI Tree)

Click the link of a node item in a Tree View Control.


Technical Name Type Minimal Agent Version
clickNodeItemLinkByColName asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Provides the node key.
colName string Provides a column name.

Output Parameters:

Name Type Description
result boolean Returns True if successful, False if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.clickNodeItemLinkByColName('00000001', logistics');

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, columnPos


Click Node Element Button (GUI Tree)

Click the button of a node element. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
pressNodeItemButton asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await APLogon760.pSAPEasyAccess.oSAPTableTreeControl.pressNodeItemButton('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Click Node Item Button by Column Name (GUI Tree)

Click the button of a node Item in a Tree View Control.


Technical Name Type Minimal Agent Version
pressNodeItemButtonByColName asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Provides the node key.
colName string Provides a column name.

Output Parameters:

Name Type Description
result boolean Returns True if successful, False if not.

Sample Code:

await APLogon760.pSAPEasyAccess.oSAPTableTreeControl.pressNodeItemButtonByColName('00000001', 'logistics');

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, columnPos


Double Click Node Element (GUI Tree)

Double-click a node element in a column tree. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
doubleClickNodeItem asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if successful false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.doubleClickNodeItem('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Double Click Node Item (GUI Tree)

Double-click the node item in a column tree. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
doubleClickNodeItemByColName asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Provides the node key.
colName string Provides a column name.

Output Parameters:

Name Type Description
result boolean Returns True if successful, False if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.doubleClickNodeItemByColName('00000001', 'logistics');

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, columnPos


Get Checkbox State (GUI Tree)

Retrieve the state of a Checkbox. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
checked asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.checked('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Change Checkbox State (GUI Tree)

Check a checkbox in a tree node. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
changeCheck asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Provides the node key.
colName string Position of the column as number from left (starts with 0).
value number Provides 0 or 1 for the value.

Output Parameters:

Name Type Description
result boolean Returns True if successful, False if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.changeCheck('00000001', 'logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey, colName


Select Checkbox (GUI Tree)

Check a Checkbox. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
check asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.check('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Unselect Checkbox (GUI Tree)

Uncheck a Checkbox. This activity is available for the Tree View Control.


Technical Name Type Minimal Agent Version
unCheck asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Node key.
columnPos number Position of the column as number from left (starts with 0).

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.unCheck('logistics', 0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters nodeKey, columnPos.


Set Top Node (GUI Tree)

Set the top node in a GUI Tree.


Technical Name Type Minimal Agent Version
setTopNode asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Key of the node.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.setTopNode('logistics');

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey


Set Selected Node (GUI Tree)

Set the selected node in a GUI Tree.


Technical Name Type Minimal Agent Version
setSelectedNode asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
nodeKey string Key of the node.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oSAPTableTreeControl.setSelectedNode('logistics');

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters nodeKey


Class GuiFrameWindow

Subset of activities related to SAP GUI Frame Window.
Extends Technologies of the class
irpa_core.SAPScripting.GuiSession SAPGUI


Activities :

Iconify (GUI Frame)

Minimize a frame window in the background. This function is available in any window.


Technical Name Type Minimal Agent Version
iconify asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.iconify();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Keystroke (GUI Frame)

Send a sequence of keys or text using a predefined list.


Technical Name Type Minimal Agent Version
keyStroke asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
command irpa_core.enums.SAPScripting.key Command key sequence or text to be sent (see irpa_core.enums.SAPScripting.key).
timer number optional Delay after key sequence (default is 100 ms).

Output Parameters:

Name Type Description
result boolean Returns true if a sequence of keys is sent, false if not.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.keyStroke(ctx.enums.key.Enter);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.
InvalidArgument irpa_core InvalidArgument provide value for parameter command.


Take Screenshot (GUI Frame)

Create a screenshot of a window in PNG format.


Technical Name Type Minimal Agent Version
screenshot asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
filename string Name of the file to be created.

Output Parameters:

Name Type Description
result any Returns the generated file name.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.screenshot();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.
InvalidArgument irpa_core InvalidArgument provide value for parameter filename.


Restore Window (GUI Frame)

Restore a window from its iconified state. This function is available in any window.


Technical Name Type Minimal Agent Version
restore asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750App.pSAPEasyAccess.restore();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Minimize Window (GUI Frame)

Minimize a frame window in the background. This function is available in any window.


Technical Name Type Minimal Agent Version
minimize asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750App.pSAPEasyAccess.minimize();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Maximize Window (GUI Frame)

Maximize a frame window in the background. This function is available in any window.


Technical Name Type Minimal Agent Version
maximize asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750App.pSAPEasyAccess.maximize();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Close Window (GUI Frame)

Close an opened window.


Technical Name Type Minimal Agent Version
close asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await APLogon750App.pSAPEasyAccess.close();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Custom Action (SAP GUI)

Execute a custom action from SAP GUI Scripting API documentation


Technical Name Type Minimal Agent Version
custom asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
actionName string Provide an SAP GUI action name (Eg. exec_Press, set_Text, etc).
paramA string optional Parameter 1 for Custom Action.
paramB string optional Parameter 2 for Custom Action.
paramC string optional Parameter 3 for Custom Action.
paramD string optional Parameter 4 for Custom Action.

Output Parameters:

Name Type Description
result string Result of the action.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.custom("set_Text", "APOR");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Resize Working Pane (GUI Frame)

Resize the working area based on width and height parameters.


Technical Name Type Minimal Agent Version
resizeWorkingPane asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
width number Width parameter of the working area.
height number Height parameter of the working area.
throwOnFail boolean Parameter for success or failure.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.resizeWorkingPane(10,20,false);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.
InvalidArgument irpa_core InvalidArgument provide value for parameter .


Hold Session (GUI Frame)

Holds the SAPGui Session. In IRPA, after each SAPGui action, the scripting access is released and obtained while performing the next action. If uninterrupted scripting access is needed for a few set of actions, encapsulate those actions with Hold Session and Release Session activities. Example Scenario: It is used while opening a file dialog to always get the SAPGui Popup.


Technical Name Type Minimal Agent Version
holdSession asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750App.pSAPEasyAccess.holdSession(); await SAPLogon750App.pSAPEasyAccess.openPopup.Click(); await SAPLogon750App.pSAPEasyAccess.releaseSession();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Release Session (GUI Frame)

Releases the SAPGui Session. Use only if Hold Session activity is added in the automation.


Technical Name Type Minimal Agent Version
releaseSession asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750App.pSAPEasyAccess.holdSession(); await SAPLogon750App.pSAPEasyAccess.openPopup.Click(); await SAPLogon750App.pSAPEasyAccess.releaseSession();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Set Automation Connection (GUI Frame)

Limit an automation to the current screen connection only.


Technical Name Type Minimal Agent Version
setAutomationConnection asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

SAPLogon750.pSAP.wait(function(ev) { await SAPLogon750.pSAP.setAutomationConnection(); await SAPLogon750.pSAP.edMandant.set(rootData.SAPLogon750Data.pSAPData.edMandant); await SAPLogon750.pSAP.edUtilisateur.set(rootData.SAPLogon750Data.pSAPData.edUtilisateur); await SAPLogon750.pSAP.oMotPasse.set(rootData.SAPLogon750Data.pSAPData.oMotPasse); await SAPLogon750.pSAP.edLangueDeTravail.set(rootData.SAPLogon750Data.pSAPData.edLangueDeTravail); await SAPLogon750.pSAP.keyStroke(ctx.enums.SAPScripting.key._Enter_); sc.endStep(); // end Scenario return; });

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Set Busy Wait Time (GUI Frame)

Set a maximum wait time before an action when a session is busy.


Technical Name Type Minimal Agent Version
setBusyWaitTime asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
busyTimeOut number Timeout value in milliseconds.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.setBusyWaitTime(2000);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Reset Busy Wait Time (GUI Frame)

Reset the maximum wait time to the default value.


Technical Name Type Minimal Agent Version
resetBusyWaitTime asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.resetBusyWaitTime();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the screen.


Class GuiMainWindow

Extends Technologies of the class
irpa_core.SAPScripting.GuiFrameWindow SAPGUI


No specific activities for this class.

Class GuiMenu

Extends Technologies of the class
irpa_core.core.Button SAPGUI


No specific activities for this class.

Class GuiOkCodeField

Extends Technologies of the class
irpa_core.core.Edit SAPGUI


No specific activities for this class.

Class GuiStatusbar

Subset of activities related to SAP GUI Status Bar.
Extends Technologies of the class
irpa_core.core.Element SAPGUI


Activities :

Get Message ID (GUI Status Bar)

Retrieve the name of the message class used in an ABAP message call.


Technical Name Type Minimal Agent Version
getMessageId asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
messageId string Returns the name of the message class used in the ABAP message call.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.getMessageId();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Message Number (GUI Status Bar)

Retrieve the number of the message used in an ABAP message call. This is usually a number not enforced by the system.


Technical Name Type Minimal Agent Version
getMessageNumber asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
messageNumber string Returns the number of the message used in the ABAP message call.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.getMessageNumber();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Message Type (GUI Status Bar)

Retrieve a message type such as, Success, Warning, Error, Abort, and Information.


Technical Name Type Minimal Agent Version
getMessageType asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
messageType string Returns the message type: Success, Warning, Error, Abort, or Information.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.oItem.getMessageType();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Class GuiTableControl

Subset of activities related to SAP GUI Table Control.
Extends Technologies of the class
irpa_core.core.Table SAPGUI


Activities :

Scroll Down (GUI Table)

Scroll down one row at a time and a new row appears in the lower part of the table.


Technical Name Type Minimal Agent Version
scrollDownByOneRow asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if scrolled down by one row, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.scrollDownByOneRow();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Scroll Up (GUI Table)

Scroll up by one row.


Technical Name Type Minimal Agent Version
scrollUpByOneRow asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if scrolled up by one row, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.scrollUpByOneRow();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Scroll To (GUI Table)

Scroll to a defined position.


Technical Name Type Minimal Agent Version
scrollToPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
position number Scroll position as a number.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.scrollToPosition(1);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter position.


Get Scroll Max (GUI Table)

Retrieve the maximum value up to which scrolling is possible within a table.


Technical Name Type Minimal Agent Version
getVerticalScrollMax asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result number Returns the maximum value up to which scrolling is possible within the table.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.getVerticalScrollMax();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Scroll Position (GUI Table)

Retrieve the current position of a scrollbar.


Technical Name Type Minimal Agent Version
getVerticalScrollPosition asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result number Returns the current position of the scrollbar.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.getVerticalScrollPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Visible Rows (GUI Table)

Retrieve all the visible rows present in a table.


Technical Name Type Minimal Agent Version
getVisibleRows asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
rows Array. Returns all the visible rows present in the table.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.getVisibleRows();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Row Data (GUI Table)

Retrieve data of a specified row.


Technical Name Type Minimal Agent Version
getRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Row index of which you want to get the values.

Output Parameters:

Name Type Description
row Array. Returns an array containing all the values present in the given row.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.getRow(7);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter rowNumber.


Get Column Names (GUI Table)

Retrieve the column names present in a table.


Technical Name Type Minimal Agent Version
getColumnNames asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
columnNames Array. Returns an array containing all the column names present in the table.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.getColumnNames();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Scroll to Next Page (GUI Table)

Scroll to the next set of visible rows present in a table.


Technical Name Type Minimal Agent Version
scrollToNextPage asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if scrolled to the next page, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.scrollToNextPage();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Scroll to Previous Page (GUI Table)

Scroll to the previous set of visible rows present in a table.


Technical Name Type Minimal Agent Version
scrollToPreviousPage asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if scrolled to the previous page, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.scrollToPreviousPage();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Visible Rows Count (GUI Table)

Retrieve the number of visible rows in a table.


Technical Name Type Minimal Agent Version
getVisibleRowCount asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
count number Returns the number of visible rows in a table.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.getVisibleRowCount();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select Row (GUI Table)

Select a specified row.


Technical Name Type Minimal Agent Version
selectRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Number of the row you want to select.

Output Parameters:

Name Type Description
result boolean Returns true if the row is selected, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.selectRow(15);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter rowNumber.


Deselect Row (GUI Table)

Deselect a specified row.


Technical Name Type Minimal Agent Version
deSelectRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Number of the row you want to deselect.

Output Parameters:

Name Type Description
deselected boolean Returns true if the row is deselected, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.deSelectRow(15);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter rowNumber.


Select Visible Row (GUI Table)

Select a specified visible row.


Technical Name Type Minimal Agent Version
selectVisibleRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Number of the visible row you want to select.

Output Parameters:

Name Type Description
selected boolean Returns true if the row is selected, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.selectVisibleRow(5);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter rowNumber.


Deselect Visible Row (GUI Table)

Deselect a specified visible row.


Technical Name Type Minimal Agent Version
deSelectVisibleRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Number of the visible row you want to deselect.

Output Parameters:

Name Type Description
deselected boolean Returns true if the row is deselected, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.deSelectVisibleRow(5);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter rowNumber.


Select All Visible Row (GUI Table)

Select all visible rows.


Technical Name Type Minimal Agent Version
selectAllVisibleRows asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
selected boolean Returns true if the rows are selected, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.selectAllVisibleRows();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Deselect All Visible Rows (GUI Table)

Deselect all visible rows.


Technical Name Type Minimal Agent Version
deSelectAllVisibleRows asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
deselected boolean Returns true if the rows are deselected, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.deSelectAllVisibleRows();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Set Vertical Scroll Bar Position (GUI Table)

Set the position of the vertical scroll bar in a GuiTableControl.


Technical Name Type Minimal Agent Version
setVerticalScrollBarPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
positionValue number Provides the position value.

Output Parameters:

Name Type Description
result boolean Returns True if scrolling is successful, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.setVerticalScrollBarPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for Position parameter.


Set Horizontal Scroll Bar Position (GUI Table)

Set the position of the horizontal scroll bar in a GuiTableControl.


Technical Name Type Minimal Agent Version
setHorizontalScrollBarPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
positionValue number Provides the position value.

Output Parameters:

Name Type Description
result boolean Returns True if scrolling is successful, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiTableItem.setHorizontalScrollBarPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for Position parameter.


Class GuiTab

Extends Technologies of the class
irpa_core.core.Button SAPGUI


No specific activities for this class.

Class GuiTabStrip

Extends Technologies of the class
irpa_core.core.Button SAPGUI


No specific activities for this class.

Class GuiUserArea

Subset of activities related to SAP GUI User Area. Use to scroll down or up within this UI component.
Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


Activities :

Scroll to Next Page (GUI User Area)

Scroll to the next page. Scroll down through the content of a GuiUserArea component to bring into view content that is below the page level if there is a vertical scroll bar.


Technical Name Type Minimal Agent Version
scrollToNextPage asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if scrolled to the next page, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiUserArea.scrollToNextPage();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Scroll to Previous Page (GUI User Area)

Scroll to the previous page. Scroll up through the content of a GuiUserArea component to bring into view content that is above the page level if there is a vertical scroll bar.


Technical Name Type Minimal Agent Version
scrollToPreviousPage asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result boolean Returns true if scrolled to the previous page, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiUserArea.scrollToPreviousPage();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Set Vertical Scroll Bar Position (GUI User Area)

Set the position of the vertical scroll bar in a GuiUserArea.


Technical Name Type Minimal Agent Version
setVerticalScrollBarPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
positionValue number Provides the position value.

Output Parameters:

Name Type Description
result boolean Returns True if scrolling is successful, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiUserArea.setVerticalScrollBarPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for Position parameter.


Set Horizontal Scroll Bar Position (GUI User Area)

Set the position of the horizontal scroll bar in a GuiUserArea.


Technical Name Type Minimal Agent Version
setHorizontalScrollBarPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
positionValue number Provides the position value.

Output Parameters:

Name Type Description
result boolean Returns True if scrolling is successful, false if not.

Sample Code:

await SAPLogon750.oPage.oGuiUserArea.setHorizontalScrollBarPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for Position parameter.


Class GuiCTextField

Extends Technologies of the class
irpa_core.SAPScripting.GuiTextField SAPGUI


No specific activities for this class.

Class GuiPasswordField

Extends Technologies of the class
irpa_core.SAPScripting.GuiTextField SAPGUI


No specific activities for this class.

Class GuiTextField

Subset of activities related to SAP GUI Text Field.
Extends Technologies of the class
irpa_core.core.Edit SAPGUI


Activities :

Set Caret Position (GUI Text Field)

Set the caret position within a text field. This activity is available for the Text Field Control.


Technical Name Type Minimal Agent Version
setCaretPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
caretPosition number Caret position as number.

Sample Code:

await SAPLogon750.oPage.oTextBox.setCaretPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for caretPosition command


Class GuiGridViewCheckBox

Extends Technologies of the class
irpa_core.SAPScripting.GuiRadioButton SAPGUI


No specific activities for this class.

Class GuiToolbarCheckBox

Extends Technologies of the class
irpa_core.SAPScripting.GuiRadioButton SAPGUI


No specific activities for this class.

Class GuiRadioButton

Extends Technologies of the class
irpa_core.core.CheckBox SAPGUI


No specific activities for this class.

Class GuiStatusPane

Extends Technologies of the class
irpa_core.SAPScripting.GuiLabel SAPGUI


No specific activities for this class.

Class GuiLabel

Extends Technologies of the class
irpa_core.core.Text SAPGUI


Activities :

Set Caret Position (GUI Label)

Set the caret position within a GUI label.


Technical Name Type Minimal Agent Version
setCaretPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
caretPosition number Caret position as number.

Sample Code:

await SAPLogon750.oPage.oLabel.setCaretPosition(1);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for caretPosition command


Class GuiToolbarMenu

Extends Technologies of the class
irpa_core.SAPScripting.GuiToolbar SAPGUI


No specific activities for this class.

Class GuiToolbarButtonAndMenu

Extends Technologies of the class
irpa_core.SAPScripting.GuiToolbar SAPGUI


No specific activities for this class.

Class GuiToolbar

Subset of activities related to SAP GUI Toolbar.
Extends Technologies of the class
irpa_core.core.Element SAPGUI


Activities :

Click Toolbar (GUI Toolbar)

Click the toolbar button in a GUI Toolbar control.


Technical Name Type Minimal Agent Version
clickToolbar asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
buttonId string Provides the Button ID.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oGuiCtrlToolbar.clickToolbar("BTNID");

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters buttonId


Press Context Button (GUI Toolbar)

Press the toolbar context button in a GUI Toolbar Control.


Technical Name Type Minimal Agent Version
pressContextButton asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
buttonId string Provides the Button ID.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGuiCtrlToolbar1.pressContextButton("BTNID");

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters buttonId


Select Context Menu Item (GUI Toolbar)

Select the context menu item in a GUI Toolbar Control.


Technical Name Type Minimal Agent Version
selectContextMenuItem asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
functionCode string Provides the function code.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGuiCtrlToolbar1.selectContextMenuItem("BTNID");

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters buttonId


Click Toolbar (GUI Toolbar)

Click the toolbar element.


Technical Name Type Minimal Agent Version
click asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750.pCentralAccess.oToolBarMenu.click()

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select Toolbar MenuItem by Text (GUI Toolbar)

Select a toolbar menu item by text.


Technical Name Type Minimal Agent Version
selectToolbarMenuButtonByText asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
text string Menu item text.

Sample Code:

await SAPLogon750.pCentralAccess.oToolBarMenu.selectToolbarMenuButtonByText(text);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter text.


Select Toolbar MenuItem by Position (GUI Toolbar)

Select a toolbar menu item by position.


Technical Name Type Minimal Agent Version
selectToolbarMenuButtonByPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
position string Menu item position as a number.

Sample Code:

await SAPLogon750.pCentralAccess.oToolBarMenu.selectToolbarMenuButtonByPosition(2);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter position.


Select Toolbar MenuItem by ID (GUI Toolbar)

Select a toolbar menu item by ID.


Technical Name Type Minimal Agent Version
selectToolbarMenuButtonByFunCode asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
menuItemId string Menu item ID.

Sample Code:

await SAPLogon750.pCentralAccess.oToolBarMenu.selectToolbarMenuButtonByFunCode(menuItemId);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter menuItemId.


Class GuiGridViewPane

Extends Technologies of the class
irpa_core.SAPScripting.GuiGridView SAPGUI


No specific activities for this class.

Class GuiGridViewMenu

Extends Technologies of the class
irpa_core.SAPScripting.GuiGridView SAPGUI


No specific activities for this class.

Class GuiGridViewButtonAndMenu

Extends Technologies of the class
irpa_core.SAPScripting.GuiGridView SAPGUI


No specific activities for this class.

Class GuiGridView

Subset of activities related to SAP Grid View.
Extends Technologies of the class
irpa_core.core.Table SAPGUI


Activities :

Click Toolbar (GUI Grid)

Click a toolbar button in the Grid View Control.


Technical Name Type Minimal Agent Version
clickToolbar asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
buttonId string Provides the Button ID.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.clickToolbar("BTNID");

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters buttonId


Press Toolbar Context Button (GUI Grid)

Press the toolbar context button in a Grid View Control.


Technical Name Type Minimal Agent Version
pressToolbarContextButton asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
buttonId string Provides the Button ID.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.pressToolbarContextButton("BTNID");

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters buttonId


Select Context Menu Item (GUI Grid)

Select the context menu item in a Grid View Control.


Technical Name Type Minimal Agent Version
selectContextMenuItem asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
itemID string Provides the function code.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectContextMenuItem("BTNID");

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance
InvalidArgument irpa_core invalidArgument provide value for parameters buttonId


Get Toolbar (GUI Grid)

Retrieve a toolbar component. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getToolbar asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result Array. Returns an array of string containing toolbar information.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getToolbar();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Columns (GUI Grid)

Retrieve column keys. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getColumns asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result any Returns a list of columns.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getColumns();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Row (GUI Grid)

Retrieve row values. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
row number Row index.

Output Parameters:

Name Type Description
result Array. Returns an array containing values of the specified row.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getRow(2);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter row.


Get Rows Count (GUI Grid)

Retrieve the number of rows. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getRowCount asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result number Returns the number of rows.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getRowCount();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Rows (GUI Grid)

Retrieve a specified set of rows. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getRows asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
startRow number Starting row number (0 by default).
numRows number Number of rows to be returned (all by default).

Output Parameters:

Name Type Description
rows Array. Returns an array of rows.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.oPane.getRows(2, 10);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters startRow, numRows.


Get Visible Rows (GUI Grid)

Retrieve the rows that are currently visible on a screen. This activity is available in the Grid View Control.


Technical Name Type Minimal Agent Version
getVisibleRows asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
rows Array. Returns an array of rows.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getVisibleRows();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Columns Rows (GUI Grid)

Retrieve the values from a specified column in a subset of rows. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getRowsByColumn asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
columnId string Column ID.
startRow number Starting row number (0 by default).
numRows number Number of rows to be returned (all by default).

Output Parameters:

Name Type Description
rows Array. Returns an array of rows.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getRowsByColumn(columnId,2, 10);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters columnId, startRow, numRows.


Select Cell (GUI Grid)

Select a cell. This activity is available in the Grid View Control.


Technical Name Type Minimal Agent Version
selectCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Row index number.
columnKey string Column key.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectCell(2, 10);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters rowNumber, columnKey.


Select Row (GUI Grid)

Select a row. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
selectRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
row number Row index number.

Output Parameters:

Name Type Description
selected boolean Returns true if the row is selected, false if not.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectRow(2);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter row.


Get Selected Row (GUI Grid)

Retrieve the selected row. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
selectedRow asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result number Returns the index of the currently selected row.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectedRow();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Selected Column (GUI Grid)

Retrieve the selected column. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
selectedCol asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result string Returns the ID of the currently selected column.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectedCol();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Get Cell Value (GUI Grid)

Retrieve cell value. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
getCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Row index number.
columnKey string Column key.

Output Parameters:

Name Type Description
value string Returns the cell value.

Sample Code:

const aColumns = await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getColumns(); const nRow = 0; const sCol = aColumns[1]; await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getCell(nRow, sCol);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters rowNumber, columnKey.


Set Cell Value (GUI Grid)

Set a value on a cell. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
setCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
value string Value of the cell.
rowNumber number Row index number.
columnKey string Column key.

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.setCell(value, nRow, sCol);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters value, rowNumber, columnKey.


Click Current Cell (GUI Grid)

Execute a click on a cell in a Grid View Control.


Technical Name Type Minimal Agent Version
clickCurrentCell asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.clickCurrentCell();

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance


Click Cell (GUI Grid)

Execute a click on a cell. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
clickCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Row index number.
columnKey string Column key.

Sample Code:

const aColumns = await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getColumns(); const nRow = 0; const sCol = aColumns[1]; await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.clickCell(nRow, sCol);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters rowNumber, columnKey.


Double Click Cell (GUI Grid)

Execute a double click on a cell. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
clickDoubleCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Row index number.
columnKey string Column key.

Sample Code:

const aColumns = await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.getColumns(); const nRow = 0; const sCol = aColumns[1]; await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.clickDoubleCell(nRow, sCol);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters rowNumber, columnKey.


Select All Rows (GUI Grid)

Select all rows of a Grid View pane. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
selectAllRows asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectAllRows(); await SAPLogon750.pTCURRDisplayOfEnt.oPane.selectAllRows();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Deselect All Rows (GUI Grid)

Deselect all rows of a Grid View pane. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
deselectAllRows asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.deselectAllRows(); await SAPLogon750.pTCURRDisplayOfEnt.oPane.deselectAllRows();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Click Current Cell Button (GUI Grid)

Click the button in a cell in a Grid View Control.


Technical Name Type Minimal Agent Version
clickCurrentButtonCell asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.clickButtonCell();

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance


Click Cell Button (GUI Grid)

Click the button in a cell. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
clickButtonCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Row index number.
columnKey string Column key.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.clickButtonCell(); await SAPLogon750.pTCURRDisplayOfEnt.oPane.clickButtonCell();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameters rowNumber, columnKey.


Click Context Menu Item - Text (GUI Grid)

Select a Context Menu Item using its text. This activity is available for a Grid View row or cell.


Technical Name Type Minimal Agent Version
selectContextMenuItemByText asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
itemText string Text of the Context Menu Item.

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oPane.selectContextMenuItemByText("Logistics");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter itemText.


Click Context Menu Item - Position (GUI Grid)

Select the Context Menu Item using its position. This activity is available for a Grid View row or cell.


Technical Name Type Minimal Agent Version
selectContextMenuItemByPosition asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
itemPosition string Position of the Context Menu Item.

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oPane.selectContextMenuItemByPosition(0);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter itemPosition.


Context Menu (GUI Grid)

Open the context menu for a GuiGridView cell. This activity is available for the Grid View Control.


Technical Name Type Minimal Agent Version
contextMenu asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.contextMenu();

Errors:

Error Class Package Description
Timeout irpa_core timout reached waiting element appearance


Click Context Menu Item - ID (GUI Grid)

Select the Context Menu Item using the ID of the item. This activity is available for a Grid View Control row or cell.


Technical Name Type Minimal Agent Version
selectContextMenuItemByID asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
itemID string ID of the Context Menu Item.

Output Parameters:

Name Type Description
result boolean Returns true if successful, false if not.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oPane.selectContextMenuItemByID("&FIND");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter itemID.


Set First Visible Row (GUI Grid)

Set the first visible row using row index in a GuiGridView.


Technical Name Type Minimal Agent Version
setFirstVisibleRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowNumber number Provides a row index number.

Output Parameters:

Name Type Description
result string Returns an exception message in case of failure.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.setFirstVisibleRow("10");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter rowNumber.


Set Selected Rows (GUI Grid)

Set the selected rows using row index in a GuiGridView.


Technical Name Type Minimal Agent Version
setSelectedRows asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
indexes string Provide a comma separated row index number.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.setSelectedRows("1,2,4");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter index.


Set Current Cell (GUI Grid)

Set the current cell using row and column in a GuiGridView.


Technical Name Type Minimal Agent Version
setCurrentCell asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
rowValue number Provide a row value number.
colValue string Provide a column value.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.setCurrentCell(1,"2");

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter row and column.


Set Current Cell Row (GUI Grid)

Set the row of current cell using row index in a GuiGridView.


Technical Name Type Minimal Agent Version
setCurrentCellRow asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
index number Provide a row index number (starting from 0, -1 is for title row).

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.setCurrentCellRow();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter index.


Double Click Current Cell (GUI Grid)

Emulate a mouse double click on the current cell in a GuiGridView.


Technical Name Type Minimal Agent Version
doubleClickCurrentCell asynchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.doubleClickCurrentCell();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Set First Visible Column (GUI Grid)

Set the first visible column using index in a GuiGridView.


Technical Name Type Minimal Agent Version
setFirstVisibleColumn asynchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
index string Provide a column index number.

Sample Code:

await SAPLogon760.pSAPEasyAccess.oGridView.setFirstVisibleColumn();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter index.


Click Toolbar (GUI Grid)

Click Toolbar Menu Button. This activity is available for the Grid View and Toolbar controls.


Technical Name Type Minimal Agent Version
selectToolbar synchronous WIN-3.24 (WIN for Windows)

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectToolbar(); await SAPLogon750.pTCURRDisplayOfEnt.oPane.selectToolbar();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Select Toolbar Menu Item - Text (GUI Grid)

Select a toolbar menu item by text. This activity is available for the Grid View Button and Menu and controls.


Technical Name Type Minimal Agent Version
selectToolbarMenuButtonByText synchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
text string Menu item text.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectToolbarMenuButtonByText(text); await SAPLogon750.pTCURRDisplayOfEnt.oPane.selectToolbarMenuButtonByText(text);

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter text.


Select Toolbar Menu Item - Position (GUI Grid)

Select a toolbar menu item by position. This activity is available for the Grid View Button and Menu controls.


Technical Name Type Minimal Agent Version
selectToolbarMenuButtonByPosition synchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
position string Menu item position as a number.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectToolbarMenuButtonByPosition(position); await SAPLogon750.pTCURRDisplayOfEnt.oPane.selectToolbarMenuButtonByPosition();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter position.


Select Toolbar Menu Item - ID (GUI Grid)

Select a toolbar menu item by ID. This activity is available for the Grid View Button and Menu controls.


Technical Name Type Minimal Agent Version
selectToolbarMenuButtonByFunCode synchronous WIN-3.24 (WIN for Windows)

Input Parameters:

Name Type Attributes Description
menuItemId string Menu item ID.

Sample Code:

await SAPLogon750.pTCURRDisplayOfEnt.oSAPGUIGridViewCtrl1.selectToolbarMenuButtonByFunCode(menuItemId); await SAPLogon750.pTCURRDisplayOfEnt.oPane.selectToolbarMenuButtonByFunCode();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.
InvalidArgument irpa_core InvalidArgument provide value for parameter menuItemId.


Class GuiGridViewButton

Extends Technologies of the class
irpa_core.SAPScripting.GuiButton SAPGUI


No specific activities for this class.

Class GuiGridViewGroup

Extends Technologies of the class
irpa_core.SAPScripting.GuiButton SAPGUI


No specific activities for this class.

Class GuiToolbarButton

Extends Technologies of the class
irpa_core.SAPScripting.GuiButton SAPGUI


No specific activities for this class.

Class GuiToolbarGroup

Extends Technologies of the class
irpa_core.SAPScripting.GuiButton SAPGUI


No specific activities for this class.

Class GuiButton

Subset of activities related to SAP GUI Button.
Extends Technologies of the class
irpa_core.core.Button SAPGUI


Activities :

Click Sync (GUI Button)

Execute a synchronous click on an element.


Technical Name Type Minimal Agent Version
clickSync asynchronous WIN-3.24 (WIN for Windows)

Output Parameters:

Name Type Description
result any Result.

Sample Code:

await SAPLogon750App.pSAPEasyAccess.btExit.clickSync();

Errors:

Error Class Package Description
Timeout irpa_core Execution timeout while waiting for the element.


Class GuiShell

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiCustomControl

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiContainerShell

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiDockShell

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiSimpleContainer

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiScrollContainer

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiSplitterContainer

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiTitlebar

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiMenubar

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiGOSShell

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiSplitterShell

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiDialogShell

Extends Technologies of the class
irpa_core.SAPScripting.GuiContainerItem SAPGUI


No specific activities for this class.

Class GuiContainerItem

Extends Technologies of the class
irpa_core.core.Element SAPGUI


No specific activities for this class.

Class GuiBox

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiPicture

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiGridViewSeparator

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiGridViewToolBar

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiGridViewThumb

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiToolbarSeparator

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiToolbarToolBar

Extends Technologies of the class
irpa_core.SAPScripting.GuiPane SAPGUI


No specific activities for this class.

Class GuiPane

Extends Technologies of the class
irpa_core.core.Element SAPGUI


No specific activities for this class.