cancel
Showing results for 
Search instead for 
Did you mean: 

Modal window in SAP - how to retrieve the correct position?

aleksandra-0601
Explorer
0 Kudos

Hello!

I try to manage modal window in SAP:

aleksandra0601_0-1712779205918.png

I noticed that in the code the indexes are very different, moreover they depend also on number of hits

 

session.findById("wnd[1]/usr/sub/1[0,0]/sub/1/2[0,0]/lbl[37,1]").setFocus

session.findById("wnd[1]/usr/sub/1[0,0]/sub/1/3[0,1]/lbl[1,2]").setFocus

 

Can someone explain what is what in these codes? (Both are from almost the same modal window, the one from the case with one record found, and the second from the case above, with two records found)modal

Accepted Solutions (0)

Answers (0)