on 08-11-2014 8:01 PM
I am trying to insert a variable into a place that usually hold text.
session.findById("wnd[0]/usr/tblSAPLCOVGTCTRL_2850/ctxtMLSTD-EDATU[7,5]").text = "MyDate3Months"
I would like to say
session.findById("wnd[0]/usr/tblSAPLCOVGTCTRL_2850/ctxtMLSTD-EDATU[7,5]").value = MyVariable
I seem to be able to do some things but other things in SAP seem unfriendly to my overtures.
I have been recording and altering SAP scripts. Is there a guide or a book on scripting? Do not have rights to the debuging features.
Thanks
Sherry
Hello.
Dim MyVariable as String
MyVariable = "MyDate3Months"
session.findById("wnd[0]/usr/tblSAPLCOVGTCTRL_2850/ctxtMLSTD-EDATU[7,5]").Text = MyVariable
That should work as expected.
Best regards,
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.