Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Script error

0 Kudos
186

I had a VBA code that automated data collection for my team, within two weeks the code stopped working. In the past the code looked like fields in numbers like this:

After...


session.findById("wnd[0]/usr/tabsTABSTRIP_0115/tabpKOZE/ssub/1/2/txt[3]").Text

session.findById("wnd[0]/usr/tabsTABSTRIP_0115/tabpKOZE/ssub/1/2/txt[7]").Text

session.findById("wnd[0]/usr/ctxt[2]").Text M = session.findById("wnd[0]/usr/ctxt[1]").Text

Now they are appearing as SAP fields, does anyone know how I can fix this?

Now

session.findById("wnd[0]/usr/tabsTABSTRIP_0115/tabpKOZE/ssubSUBSCR_0115:SAPLCOKO1:0120/txtCAUFVD-GAMNG").Text

session.findById("wnd[0]/usr/ctxtCAUFVD-MATNR").text

session.findById("wnd[0]/usr/tabsTABSPR1/tabpSP17/ssubTABFRA1:SAPLMGMM:2000/subSUB1:SAPLMGD1:1001/txtMAKT-MAKTX").text

0 REPLIES 0