on 04-03-2013 12:37 AM
SAPGUI 730 allows users to store their own version of saplogon.ini in their appdata folder. (also applies to SAPGUI720)
C:\Users\nkeithwalker\AppData\Roaming\SAP\Common\saplogon.ini
A new user logging onto the laptop for the first time will be presented with a blank saplogon screen, there are no connection details.
The IT staff will not have access to this folder as anyone receiving a replacement laptop will not want to divulge their network password. We have found the solution to this is to place the standard saplogon.ini in the default folder, so that it wil be copied over when the new user logs on for the first time.
C:\Users\default\AppData\Roaming\SAP\Common\saplogon.ini
However I want to introduce the Corbu themed design. It will become part of the Standard Operating Environment image. This is easily set up in the SAPGUI options, but is not stored in the SAPLOGON.INI.
Does anyone know where it is stored?
' ---[ Create C:\DIR\SAP directory ]--- NwEngine.Context.Log.Write "Event: Creating Custom c:\DIR\SAP folder" strDstFolder = "C:\DIR\SAP\" NwEngine.Shell.CreateDirectory strDstFolder ' ---[ Copy contents of WHOLE server directory (E:\SAPGUI Inst Server\CustomerFiles) strSrcFolder = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles") strDstFolder = "C:\DIR\SAP" NwEngine.Shell.CopyDirectoryEx strSrcFolder, strDstFolder, vbTrue ' ---[ Copy SAPLOGONTREE <-- ENGLISH strSrcFile = NwEngine.Variables.ResolveString("C:\DIR\SAP\SapLogonTree_EN.xml") strDstFile = NwEngine.Variables.ResolveString("C:\DIR\SAP\SapLogonTree.xml") If NwEngine.Shell.FileExist( strSrcFile ) Then NwEngine.Shell.CopyFile strSrcFile, strDstFile End If 'SAPLOGON_INI_FILE Variable - ENGLISH -[HKCU]- NwEngine.Shell.SetRegValue "HKCU\Environment\SAPLOGON_INI_FILE", "REG_SZ", "c:\RPMBSG\SAP\saplogon_en.ini" NwEngine.Shell.SetRegValue "HKCU\SYSTEM\ControlSet001\Control\Session Manager\Environment\SAPLOGON_INI_FILE", "REG_SZ", "c:\DIR\SAP\saplogon_en.ini" NwEngine.Shell.SetRegValue "HKCU\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\SAPLOGON_INI_FILE", "REG_SZ", "c:\DIR\SAP\saplogon_en.ini" NwEngine.Shell.SetRegValue "HKCU\Software\SAP\General\Language", "REG_SZ", "EN" NwEngine.Shell.SetRegValue "HKCU\Software\Wow6432Node\SAP\General\Language", "REG_SZ", "EN"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are coding into the logon script, a change to the registry for the Corbu icon. The SAPGUI 730 doco is sixty pages long, and is not designed for anyone starting out in SAP. It would be nice to see SAP pay some attention to simplifying matters. I wil update this discussion after we have had some feedback from the first batch of laptops. There will be fifty replacements over the next three weeks, I should be getting an i7 with 8GB and a solid state disk!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have just read the doc linked. Very interesting. We have been discussing why the Corbu design is registered in the HKEY_CURRENT_USER and not in HKEY_LOCAL_MACHINE. Would it not make sense for the corporate world to set up the corporate default look? We are considering entering this in the logon script. Does anyone know of a better method?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nigel,
There is another method to set the themes i.e. using profile parameter sapgui/theme
I don't know the exact value for Corbu design. However you can checkout the below note for other themes.
Note 1640960 - New profile parameter sapgui/signature_color (kernel part)
Note 610274 - New sapgui/theme profile value
Regards,
Rajkumar
Hi Nigel,
These settings are stored in Registry entries.
Registry Values:
Theme [HKEY_CURRENT_USER\Software\SAP\General\Appearance] “SelectedTheme” (REG_DWORD) [Default: “1”] Possible Values (Invalid Value ? SAP Signature Design will be used):
0x1 = SAP Signature Design
0x2 = Enjoy Theme (Enjoy Design)
0x4 = System Dependent Theme (Enjoy Design)
0x8 = Streamline Theme (Enjoy Design)
0x10 = Tradeshow Theme (Enjoy Design)
0x20 = Classic Design 0x40 = Corbu Design
Restricting entries in “Theme” combobox:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\General\Appearance\Themes]
[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\General\Appearance\Themes] (32 bit OS)
“SelectableThemes” (REG_DWORD) [Default: “0x7F”] (for restricting entries in “Theme” combobox):
0x1 = SAP Signature Design
0x2 = Enjoy Theme (Enjoy Design)
0x4 = System Dependent Theme (Enjoy Design)
0x8 = Streamline Theme (Enjoy Design)
0x10 = Tradeshow Theme (Enjoy Design)
0x20 = Classic Design
0x40 = Corbu Design
Please see the below document i.e SAP GUI administration. It's described very clearly.
http://scn.sap.com/docs/DOC-29257
Hope this helps.
Regards,
Rajkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HKCU\Software\SAP\General\Appearance\SelectedTheme
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, After your suggestion I had a look in the registry for HKEY_CURRENT_USER. Under software/sap/general/appearance I do not have selected theme but I do have Systems, Themes, Applications Under themes I have Enjoy, High Contrast theme, Streamline and Tradeshow.
Surely the registry is independent of the user. So my HKCU wil be different from the new user's HKCU? Maybe I am missing something here. I need to set up the new user's theme for them as the company default.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.