on 11-26-2014 12:56 PM
Dear Experts,
I do vba sap gui scripting to control SAP front end to accompolish activities. In the recent months i get Error while establishing 'SAP Connection' in line
Sub SAP_Connection() |
Set SAPGuiAuto = GetObject("SAPGUI") '~~>ERROR LINE (Invalid Syntax) |
Set Application = SAPGuiAuto.GetScriptingEngine |
Set Connection = Application.Children(0) |
Set Session = Connection.Children(0) |
End Sub |
This is the usual code with which i work. But Occassionally it gives me this ERROR and the same persist for hours together. Please advise what i should be doing to correct this.
Regards,
Kumar Santharam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am facing the same problem.please let me know if u HV resolved the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.