on 09-06-2007 4:15 PM
We are just starting to used SAP R/3 4.6C. Is SAPGUI Scripting an application/development add on to be installed in addition to the SAP GUI client ?. I try the script examples (....GetObject("SAPGUI")...etc) but Visual Basic raise the infamous "cannot create object error" which I understand that I dont have the ActiveX needed installed in my PC. (I check saplogon.exe and I dont have it on my PC). What do I need to installed and from where I can get it ?
Hello Victor,
SAP GUI Scripting is a subcomponent of the SAP GUI installation that you have to select during the installation process (or during the definition phase of your packages if you are using an installation server). It is part of SAP GUI as of release 6.20 so you need at least this release (but all the older releases are no longer supported anyway).
In the SAP system itself note 480149 has to be applied. You need a minimum level of SAP Kernel.
Here is the text of the note:
Symptom
The sapgui/user_scripting parameter is imported again. If this parameter
is set to TRUE, the scripting functions can be used with a GUI as of
version 6.20 on the front end.
The default value of the parameter is FALSE so that scripting to the
system is not possible.
Note that you must enter the values in upper case;
There are 2 options for setting the parameter: In transaction rz11 and
in the server profile. If the parameter is only set in rz11, the change
is lost when you restart the server.
Setting the parameter in the SAP system
===============================================
If possible, dynamic setting of the parameter is executed using
transaction rz11. Specify the parameter name sapgui/user_scripting and
select 'Display'.
Provided that the current value is set to FALSE, select the 'Change
value' button in the toolbar. A window now appears, in which you can
enter the new value TRUE. When you save the change, the window closes
and the current value of the parameter changes to TRUE. This change only
becomes effective when you log onto the system again.
If the parameter is not found, you must import the relevant Support
Package in accordance with the list below.
If the current value does not change accordingly after you have saved
the change, it means that the kernel is too old. In this case, import
the required kernel patch, as specified below.
Setting the parameter in the server profile
======================================
If you have not imported the Support Package, you can switch the
scripting on if you set the parameter in the profile file of the
application server with the following line:
sapgui/user_scripting = TRUE
This procedure only requires the specified kernel patch level, however,
you must restart the application server.
Other terms
Reason and Prerequisites
Solution
The parameter is delivered with the following kernel patches:
o 6.10: 360
o 4.6D: 948
o 4.5B: 753
o 4.0B: 903
o 3.1I: 650
The parameter can be dynamically activated in the following kernel
versions, that is, without having to restart the application server:
o 6.20 Release 6.20 and subsequent versions
o 6.10 Release 6.10 as of patch 391
o Release 4.6D as of patch 972
Best regards,
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
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.