SAP table: if element exists, then click on value in SAP table. But the values always change position

Is there a way to double click in a SAP transaction on “123” when “456” exists? The two values are always in the same row position (4) but in different columns. But row 4 can change, sometimes the two values are in row 4, then in row 1, row 3, etc.
I tried it with “Element Exists” and if Condition: I assigned element exists to the 456 and then if 456 exists the click 123. However, the click only workes when the 123 and 456 stay in row 4 but this is unfortunately not the case.

1 Col A Col B Col C Col D Col E
2 xx xx xxx xxx xxx
3 xx xx xxx xx xxx
4 xx 123 xxx 456

Can somebody help me with this issue?

Hello @Agnetha

Please provide the screenshot of SAP Windows with Table and SAP Transaction, then it will be much easier to find the answer

Thanks, Lev

Hi @LevKushnir,
I had to black out some information, I hope it is still possible to understand.
The SAP transaction is COOIS. I want to double click on the value “130” in column Auftrag when in column “Text mit 30 Charactern” the text “Einplanen in Auftragszentrum” exists. But the 2 condition are not always in row 3.

Thank you so much for quick responding!

For example, now the 2 values are in row 1

HI @Agnetha

Please find below the solution :slight_smile: Our UiPath certified solution allows to understand and work with all SAP WinGUI Elements.

The use case: I want to find in which row is text 403 and then double-click the column material.

On the video.

Step 1: I am changing the identification of element 403 from RowNumber to real text value
Step 2: with GetAttribute I want to understand in which Row is this text available and store it in variable
Step 3: using Table Cell Scope with the column I need and real row, what I got from previous step.

See the different filtering. I am able always to find the right row and double click

Please confirm, that it works for you

Best regards, Lev



Excellent Lev :+1:

1 Like

Hi @LevKushnir,
it works perfectly, thank you so much! :slightly_smiling_face:


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.