i found another case were we repeatedly forced to use Hardware events instead of simulate: frequently we need to click (= select a row [with red rectangle]) or double click on a cell or row (column 0) in a SAPGui Table or Grid. While a normal simulate click do not set the red rectangle which indicates the focus of the cell, the double click has no ability to use simulate. According to the SAP Gui Scripting API GuiGridView Object | SAP Help Portal there is a function to double click a cell.
@LevKushnir , @raduc: you please extend the SAP Activities to be able to double click on a cell in a table or grid?
Currently we use “invoke vbs” to workaround the missing function:
Thanks, @raduc i guess the setfocus fix may not work in a table, because the “set focus” Api function is derived by GuiVComponent Object | SAP Help Portal GuiVComponent Object, which is the whole table not the cell