cancel
Showing results for 
Search instead for 
Did you mean: 

sap script

Former Member
0 Kudos

Salve a tutti, ho la necessità di creare uno script per sap gui, ma quando immetto il seguente codice:

If Not IsObject(application) Then
   Set SapGuiAuto  = GetObject("SAPGUI")  
   Set application = SapGuiAuto.GetScriptingEngine.on
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

mi compare il seguente messaggio: Uno script tenta di collegarsi alla SAP GUI.

Come posso fare per eliminare questo messaggio?

Accepted Solutions (0)

Answers (1)

Answers (1)

script_man
Active Contributor
0 Kudos

Hi Fabio,

welcome to the forum. How nice that Google - Translator exists!

You could look at the following link:

Regards,

ScriptMan