![]() ![]() ![]() Output #Visual Basic Script Exported by Recording Tool If Not IsObject(application) Then Set SapGuiAuto = GetObject("SAPGUI") Set application = SapGuiAuto.GetScriptingEngine End If If Not IsObject(connection) Then Set connection = application.Children(0) End If If Not IsObject(session) Then Set session = connection.Children(0) End If If IsObject(WScript) Then WScript.ConnectObject session, "on" WScript.ConnectObject application, "on" End If session.findById("wnd").maximize session.findById("wnd/usr/ctxtRMMW1-MATNR").text = "100607255" session.findById("wnd/usr/ctxtRMMW1-EKORG").text = "WXYZ" session.findById("wnd/usr/ctxtRMMW1-MATNR").setFocus session.findById("wnd/usr/ctxtRMMW1-MATNR").caretPosition = 9 session.findById("wnd").sendVKey 0 session.findById("wnd/usr/ctxtRMMW1-MATNR").caretPosition = 9 session.findById("wnd").sendVKey 0
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |