08-19-2010 5:44 PM
Hi,
I am very new to SAP scripting. I have created simple scripts thru recording and playback.
I have a problem in retrieving a value of a single cell from a popup window. Here goes my issue:
putting a text on a blank field is easy using the command below:
session.findById("wnd[1]/usr/tblSAPLSUPRNORG_TC/ctxtT_STORG-LOW[1,0]").Text = tmpVariable
but i would like to put the value of:
session.findById("wnd[1]/usr/tblSAPLSUPRNORG_TC/ctxtT_STORG-LOW[0,0]")
in tmpVariable2.
what would be the correct syntax for this?
Your help is highly appreciated. Thanks.
Best regards,
Jaspher
08-19-2010 6:47 PM
Simple
by doing so:
tmpvalue2 = session.findById("wnd[1]/usr/tblSAPLSUPRNORG_TC/ctxtT_STORG-LOW[0,0]").text
greetings
Thomas Br
08-19-2010 6:47 PM
Simple
by doing so:
tmpvalue2 = session.findById("wnd[1]/usr/tblSAPLSUPRNORG_TC/ctxtT_STORG-LOW[0,0]").text
greetings
Thomas Br
08-19-2010 8:09 PM
I have tried this but it's not working in my first try. I will try again tomorrow. Thanks.
08-25-2010 6:34 PM