This page is no longer current.

Please visit the Worksoft Customer Portal for the latest content.

Articles

SAP GUI Default Install Settings

SAP Note 328723 - GUI default settings during installation

Symptom

This note concerns the SAP GUI default settings at the time of the installation.

Reason and Prerequisites


You can define specific settings of the SAP GUI at the time of the installation. Since these modifications are required by some customers only, no patch is available. You can manually modify the following installation databases:
           "SAPsetup.nid" (Release 6.10), or

           "GuiSetup.xml" (Release 6.40 or 6.20)

           "SAPsetup.xml" (only up to Release 6. 20, Compilation 1 or 2)

     However, we recommend that you execute a .reg file containing your adjusted values. For SAP GUI 7.10 and 7.20, this is the only possible option. We recommend that you include the command for importing a .reg file of this type in the logon script. Note that all your manual modifications may be reset each time you import a new front-end patch. Therefore, save all your changes.

We are currently developing a solution that changes these settings in SAP GUI 7.30 so that you can create default values in HKEY_LOCAL_MACHINE that can then be pre-defined using package scripting.

Solution


Make a backup copy of "Sapsetup.nid" and "GuiSetup.xml" (or "SAPsetup.xml") before you modify these files using the text editor.

Important note:
All SAPsetup XML databases end with "...setup.xml". Avoid file names that also end with "...setup.xml" when naming files that you have created. Otherwise, this may lead to ambiguities and crashes.

The following is a list of manual changes that you can make using registry keys:  In this list, the abbreviation HKCU stands for HKEY_CURRENT_USER. (Do not confuse this with HKEY_LOCAL_MACHINE)

    1. Dropdown lists:

Manual:
> > Options
> Tabstrip 'Expert'
> Activate check box 'Show keys in all dropdown lists'
Corresponding registry key
Key:  HKCU\Software\SAP\SAPGUI Front\ SAP Frontend Server\Customize
Name: Dropdown.ShowKey
Value: 1  (REG_DWORD)

    2. Dropdown lists: > Activate the "Sort Items by Key" checkbox

Relevant registry key:
Key: HKCU\Software\SAP\SAPGUI Front\ SAP Frontend Server\Customize
Name: Dropdown.SortKey
Value: 1  (REG_DWORD)

    3. OK field opened:

Key:  HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize
Name: ShowCmdLine (GUI <= 4.6D)
      HideCmdLinePermanently (GUI >= 6.20, Note 538214)
Value: 1  (REG_DWORD)

    4. Display status bar info:

Key:  HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize
Name: Statusbar.Layout
Value: 1  (REG_DWORD)

    5. Switch off history

Key:  HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\LocalData
Name: ShowMode
Value: 0  (REG_DWORD)

    6. Switch off logon video:

Key:  HKCU\Software\SAP\General\Appearance
Name: SplashIntro (GUI 6.40 or lower)
Value: 0  (REG_DWORD)

    7. Language setting (in SapLogon): for example German

Manual:
SAPLogon > Options > Language: DE
Relevant registry key:
Key:  HKCU\Software\SAP\General
Name: Language
Value: DE  (REG_SZ)

Note that the language entry is case-sensitive:
In other words: Enter 'DE' and not 'de'.  Other languages: Proceed accordingly.

    8. Options dialog > Options tab:

Quick info: Switch the quick info display to "fast".
(0 = fast, 1 = medium, 2 = slow):
Key: HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize
Name: BubbleDelay
Value: 0  (REG_DWORD)

    9. Options dialog > Options tab:

Messages: Activate the "Dialog box at error message" checkbox.
Key: HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize
Name: PopupError
Value: 1  (REG_DWORD)


Controlled by SAPsetup:

  1.  
      a) Required changes to "SAPsetup.nid" (Release 6.10):

Example for "REG_DWORD":
Search for the line that contains SAPOPTIO.OCX. At the beginning of the next line, add the following line:

RegModifyDWord('HKEY_CURRENT_USER\Software\SAP\SAPGUI Front \SAP Frontend Server\Customize','Dropdown.ShowKey','1',mrdwSet)/TS

Add this text without indentation and line break. Proceed in the same way for the other keys. Each key of type REG_DWORD requires a RegModifyDWord(...) line.

For a key of type REG_SZ, use a RegModify(...) line.
Example for "REG_SZ":
Search the following line:
RegisterAppPath('%SapDestDir%\SAPgui\saplgpad.exe','%SapSysDir%')/TS
At the beginning of the next line, add the following line:

RegModify('HKEY_CURRENT_USER\Software\SAP\General','Language','DE',
mrdwSet)/TS

Add this line without indentation and line break.

Note for "SAPsetup.nid":
           All lines in file "SAPsetup. nid" beginning with an exclamation mark (!) are comment lines.

           You must not arbitrarily use indentations and line breaks.

 

  1.  
      b) Required changes to "GuiSetup.xml":

First, import the current setup patch and then the GUI patch. (For more information, see Note 512040.)

Subsequently, open "GuiSetup.xml" (or "SAPsetup.xml") using a text editor, and in the xml element
<component guid="{E8C58B34-ADCB-4998-9077-FA1E57DCF08B}"...
name="$CustomerConfigFiles"...>
...
</component>
insert the following action elements. Set the values according to your requirements:
For example:
<action dst="HKEY_CURRENT_USER\Software\SAP\General" type="registry">
<entry name="Language">
  DE
</entry>
</action>
<action
dst="HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\Customize"
type="registry">
<entry name="Dropdown.ShowKey" type="int">
  1
</entry>
<entry name="Dropdown.SortKey" type="int">
  1
</entry>
<entry name="ShowCmdLine" type="int">
  1
</entry>
<entry name="Statusbar.Layout" type="int">
  1
</entry>
</action>
<action
dst="HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\LocalData"
type="registry">
<entry name="ShowMode" type="int">
  0
</entry>
</action>
<action dst="HKCU\Software\SAP\General\Appearance" type="registry">
<entry name="SplashIntro" type="int">
  0
</entry>
</action>

Check whether you correctly defined the "GuiSetup.xml" (or "SAPsetup.xml") that you modified. For example, you must be able to correctly display SAP GUI using the internet explorer.