on 08-19-2011 12:37 PM
Hi,
I'm a total newbie in SAP script language.
Iu2019m looking for some solution to import txt file with btn[23]. Whole procedure should look like this:
006 click IMPORT FROM FILE u2013 btn[23]
007 paste into textbox filepath "C:\Program lojalnosciowy\klienci.txt" and click OPEN
008 click CONFIRM & LOAD - btn[8]
Recorder doesnu2019t record step 007. Do you know how to fix it? Iu2019ve tried to add this line but I assume that ctxtDY_FILENAME is the wrong textbox name:
007 MySession.findById("wnd[2]/usr/ctxtDY_FILENAME").text = "C:\Program lojalnosciowy\klienci.txt"
SAP SCRIPT CODE:
IsInput ID ScriptCode
START 001
002 MySession.findById("wnd[0]/tbar[0]/okcd").text = "ZFOVERDUE"
003 MySession.findById("wnd[0]").sendVKey 0
004 MySession.findById("wnd[0]/usr/btn%_DD_KUNNR_%_APP_%-VALU_PUSH").press
005 MySession.findById("wnd[1]/usr/tabsTAB_STRIP/tabpSIVA").select
006 MySession.findById("wnd[1]/tbar[0]/btn[23]").press
008 MySession.findById("wnd[1]/tbar[0]/btn[8]").press
Hi shyha777
are you trying to "Script - Record" a Windows-Dialog ?
greets
Thomas Br
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.