cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to run a SAPscript without seeing SAP working??

Former Member
0 Kudos

I've prepared a SAP script and I would like to know If it is possible to not see in SAP what the scrip is doing.

In VBA excel it can be done with:

Application.ScreenUpdating = False

Thanks!!

Accepted Solutions (0)

Answers (1)

Answers (1)

script_man
Active Contributor
0 Kudos

Hi carlossanta,

welcome to the forum. I know of no way to hide a VB script as in VBA. However, there is the possibility of a SAP script to send to the taskbar.

for example:


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 [0]"). iconify

And I would eliminate the command session.findById("wnd [0]").maximize.

Regards,

ScriptMan