Dear all
I am quite new by using Sapscripting and I hope somebody can help me.
I am just recorded the steps to assigning employee to WBS element, but the problem is that in the processes is apearing Three pop up windows : the first one I need to write the employee number and the second one I need to put a check mark and the third one I will save the assignment ( as in the pictures below) it is a normal process, but these steps has not been recorded. So, how do I get the line codes to these pop up windows?
Here just the codes I got
session.findById("wnd[0]/mbar/menu[1]/menu[7]/menu[6]").select
session.findById("wnd[0]/usr/lbl[8,3]").setFocus
session.findById("wnd[0]/usr/lbl[8,3]").caretPosition = 6
session.findById("wnd[0]/tbar[1]/btn[7]").press
session.findById("wnd[1]/usr/lbl[20,4]").setFocus
session.findById("wnd[1]/usr/lbl[20,4]").caretPosition = 1
session.findById("wnd[1]").sendVKey 2
Tthis is the ("wnd[1] but there is no line code to this
After I have typed the employee number, I will get det line codes below, but there is no line kode to this one as well
And this one
How do I get the line code to these windows?
Thanks