Session.findById("wnd/usr/chkS017").selected = true Session.findById("wnd/usr/chkS005").selected = true Session.findById("wnd/usr/chkP_DBAGG").setFocus Session.findById("wnd/usr/ctxtP_DTA").text = "DB" Session.findById("wnd/usr/chkP_DBAGG").selected = true Session.findById("wnd/tbar/okcd").text = "ZL" Set application = SapGuiAuto.GetScriptingEngine This is my SAP GUI Script : If Not IsObject(application) Then I already created the SAP script but I didn’t understand how to use that in VBA macro. I am trying to create a Excel macro which executes the SAP GUI Script.
0 Comments
Leave a Reply. |