Installation

On any client PC, SAP GUI Scripting is only available if it has been installed. The SAP GUI Scripting support is included in the SAP GUI installation per default. However, an administrator can prevent SAP GUI Scripting from being installed. Using NWSAPSetupAdmin.exe, the administrator can create an installation package without Scripting and then prevent users from selecting components manually. Installation packages can be assigned to single users or to a group of users so that an administrator can easily define who will be able to use SAP GUI Scripting and who will not.

If a user has the right to select components, he or she can exclude SAP GUI Scripting by not selecting the entry in the list of components.

Local administrator privileges are required to run the SAP GUI installation, unless a central installation server is used. A non-admin user can therefore not enable SAP GUI Scripting even if he or she has access to a SAP GUI installation medium.

It is possible for the administrator to disable SAP GUI Scripting on certain client machines even after it has been installed. All that needs to be done is to set the registry key

HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPGUI Front\SAP Frontend Server\Security\UserScripting

to 0. This will disable SAP GUI Scripting and cannot be overridden by users who do not have access to the HKEY_LOCAL_MACHINE branch of the Windows registry.

Please note, that on 64bit operating systems the value mentioned above needs to be created under

HKEY_LOCAL_MACHINE\software\Wow6432Node\sap\SAPGUI Front\SAP Frontend Server\Scripting.

SAP GUI Scripting makes use of an ActiveX object called sapfewse.ocx. Even though SAP applies strict security policies ActiveX objects may be vulnerable to attacks. Therefore, SAP has decided to set the so-called “killbit” for the SAP GUI Scripting ActiveX object (see SAP Note 1261706 Information published on SAP site for more information). Setting the killbit does not have any effect on SAP GUI Scripting at all except for scenarios where sapfewse.ocx is called directly from a web page.Such scenarios are not required for running SAP GUI Scripting with SAP GUI for Windows and are not supported by SAP.