I am trying to extract a table from SAP transaction SE16N. The export to spreadsheet button can be selected when using SAP GUI Scripting recording. However, UiPath does not recognise the individual buttons when using the UI Explorer.
The selector from the SAP GUI Recording is: session.findById("wnd[0]/usr/cntlRESULT_LIST/shellcont/shell").pressToolbarContextButton "&MB_EXPORT"
the transaction SE16N works with an ABAP List Viewer Grid (ALV-Grid). This is a control which includes buttons with special functions and a list. I tried it with a test report.
In the hierarchy you can see it also. It is a shell with the subtype GridView.
That is the reason why you can’t detect the single buttons in the toolbar. And that is also the reason why the SAP GUI Scripting offers own methods to grant access to the toolbar buttons.
Maybe this could also be a field of use for UiPath Computer Vision.