2019 Aug 21 5:24 PM
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