This task describes configure and verify the SAP environment for use with
VuGen.
VuGen support for the SAPGUI for Windows client, is based on SAP's
Scripting API. This API allows Vusers to interact with the SAPGUI client,
receive notifications, and perform operations.
The Scripting API is only available in recent versions of the SAP Kernel. In
kernel versions that support scripting, the option is disabled by default. In
order to use VuGen, first make sure that the SAP servers support the
Scripting API, and enable the API on both the server and clients. For more
information and to download patches, see the SAP OSS note #480149.
VuGen provides a utility that checks if your system supports scripting. The
utility, VerifyScript.exe, is located on DVD in the Additional
Components\SAP_Tools\VerifySAPGUI folder. For more information, see
the file VerifyScripting.htm provided with this utility.
Checking the SAPGUI for Windows client patch level
You can check the patch level of your SAPGUI for Windows client from the
About box. The lowest patch level supported is version 6.20 patch 32.
To check the patch level:
1 Open the SAPGUI logon window. Click the top left corner of the SAP
Logon dialog box and select About SAP Logon from the menu.
2 The SAP version information dialog box opens. Verify that the Patch
Level entry is 32 or higher.
Check the kernel patch level
1 Log in to the SAP system
2 Select System > Status
3 Click the Other kernel information button.
4 In the Kernel Information section, check the value of the Sup. Pkg. lvl.
The level must be greater than the level listed in the following chart
depending on the SAP version you are using.
Check the R/3 support packages
1 Log on to the SAP system and run the SPAM transaction.
2 In the Directory section, select All Support Packages, and click the Display button.
3 Verify that the correct package is installed for your version of SAP according to the table below
If the correct version is installed, a green circle appears in the Status
column.
If you do not have the OCS package installed, download it the from the
www.sap.com Web site and install it. For more information, see the SAP OSS
note #480149.
Enable scripting on the SAP application server:
A user with administrative permissions enables scripting by setting the
sapgui/user_scripting profile parameter to TRUE on the application server.
To enable scripting for all users, set this parameter on all application servers.
To enable scripting for a specific group of users, only set the parameter on
application servers with the desired access restrictions.
To change the profile parameter:
1 Open transaction rz11. Specify the parameter name sapgui/user_scripting
and click Display. The Display Profile Parameter Attributes window opens.
If Parameter name is unknown appears in the status bar, this indicates
that you are missing the current Support Package. Import the Support
Package that corresponds to the SAP BASIS and kernel versions of the
application server, as described in the steps above.
2 If Profile Val is FALSE, you need to modify its value. Click the Change
value button in the toolbar. The Change Parameter Value window opens.
Enter TRUE in the ProfileVal box and click the Save button.
When you save the change, the window closes and ProfileVal is set to
TRUE.
3 Restart the application server, since this change only takes effect when
you log onto the system.
If the updated ProfileVal did not change, even after restarting the server,
then the kernel of the application server is outdated. Import the required
kernel patch, as specified in the steps above.
Note that the Profile Value may be dynamically activated in the following
kernel versions, using transaction rz11, without having to restart the
application server.
Enable scripting on SAPGUI 6.20 client:
To allow VuGen to run scripts, you must also enable scripting on the
SAPGUI client. You should also configure the client not to display certain
messages, such as when a connection is established, or when a script is
attached to the GUI process.
To configure the SAPGUI client to work with VuGen:
1 During installation. While installing the SAPGUI client, enable the SAP
GUI Scripting option.
2 After installation. Suppress warning messages. Open the Options dialog
box in the SAPGUI client. Select the Scripting tab and clear the following
options:
- Notify when a script attaches to a running GUI
-Notify when a script opens a connection
You can also prevent these messages from popping up by setting the
values WarnOnAttach and WarnOnConnection in the following
registry key to 0:
HKCU\SOFTWARE\SAP\SAPGUI Front\SAP Frontend Server\Security
No comments:
Post a Comment