SAP WinGUI 800 Auto-scroll issue in SE16N

One of my customers is upgrading to S4/HANA and also updating their SAP WinGUI to 800 (it was 550 before iirc). We have a workflow that extracts data from SE16N and needs to enter filters for some fields. The approach I used is to find the correct technical name in the table with Get Attribute, extract the tableRow, then enter the data into that row by baking it into the selector. This works fine with the old WinGUI.

With the 800 version, the Get Attribute fails to find technical names further down the list. It tries to scroll a few times but scrolls back to the top every time it scrolls, so it doesn’t get very far. Other activities as well as UiExplorer also fail to find the element, in UiExplorer it doesn’t even find it when I click on “Validate” if I manually scroll to the correct location beforehand.

This is the selector for version 800. Again, it works for fields close to the top of the list

I will probably switch to a work-around with Extract Data Table, but this is not always possible, so I’m wondering if this is a bug or someone else got it to work

@Stefan_Reutter,

Check if the row numbers are getting reset on every scroll. This happens on some T codes.

The row numbers seem fine (the field I’m looking for is 179), but the scrolling fails. Searching by table row seems to work, but searching by text doesn’t.

Stefan, let me also investigate this behavior… Greetings, Lev

1 Like

Hi Stafan!
Thanks for pointing this out. It seems it’s a bug. Currently working on a fix.
In the meantime I can suggest two workarounds you can try:

  1. Try splitting the selector like so:
<sap id='usr/tblSAPLSE16NSELFIELDS_TC' />
<sap colTooltip='Medium Field Label' text='DME indicator' />
  1. Try using a Table cell scopeactivity like so:
    image

Let me know if these work for you as a temporary (or maybe permanent :slight_smile:) solution.

1 Like

Hi Radu, ok, good to know that it’s a bug.

Thanks for the suggestions, I’ll keep them in mind in case I run into the same problem elsewhere. For our use case, I switched to a different approach using Extract Data Table to grab the row numbers for all field names into a dictionary with a single pass through the whole table and then use that to look up all the fields, which is faster for us on average anyways.

Hi Lev, good to see you. How are you doing? Still going strong with SAP automation?

Yes, @Stefan_Reutter I am still the man behind the whole SAP Automation at UiPath :slight_smile: So many cool things are coming. Hope to see you at Forward conference in Las Vegas :piñata: