Professional Documents
Culture Documents
Header Data
Released On 10.10.2011 14:01:32
Release Status Released for Customer
Component BC-FES-GUI Graphical User Interface
Priority Correction with low priority
Category Advance development
Symptom
When the sapgui.exe delegates, it always starts SAP Logon, no matter wether SAP Logon Pad is already
running or not.
Other Terms
SAP GUI, SAPGUI, sapgui.exe, delegation, RFC with GUI, SAP Shortcut
[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPGUI]
"LaunchSaplogon"=dword:00000001
2. Neither of the following registry keys is set for SAP GUI 6.40 (or higher):
[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPGUI]
"StartSaplogon"=dword:00000000
[HKEY_CURRENT_USER\SOFTWARE\SAP\SAPGUI]
"StartSaplogon"=dword:00000000
Solution
Starting with patch 56 for SAP GUI for Windows 6.20 (and higher releases) sapgui.exe will not
automatically start SAP Logon. Instead the behaviour can be customized with the following registry
key:
[HKEY_CURRENT_USER\SOFTWARE\SAP\SAPGUI]
"DelegationMode"=dword:0000000?
[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPGUI]
"DelegationMode"=dword:0000000?
l 0:
This is the default behavior used if no registry key is set. In this case it is checked wether a
SAP Logon or a SAP Logon Pad is already being used. If only a SAP Logon Pad is currrently
running, sapgui.exe will delegate to SAP Logon Pad. If none of the above is running or SAP Logon
has been started, sapgui.exe will delegate to SAP Logon.
l 1:
If the DelegationMode is set to '1', sapgui.exe will always delegate to SAP Logon, i.e. even if
only SAP Logon Pad is running SAP Logon will be started and sapgui.exe will delegate to it.
l 2:
In this case SAP Logon Pad will always be used. This is the inverse to setting the mode to '1'.
l 3:
This is the inverse default behavior, i.e. if only SAP Logon is currently running, sapgui.exe
will delegate to SAP Logon. In all other cases SAP Logon Pad will be used.
Any other values will be ignored and the default behavior will be used.
The key in HKEY_CURRENT_USER takes precedence over the one in HKEY_LOCAL_MACHINE.
Note that on 64bit operating systems keys under HKEY_LOCAL_MACHINE have to be created in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\SAPGUI.
Delegation can be disabled via the command line using the command line option "/NoDelegate". When
this command line option is used, delegation will be disabled even when it is switched on via the
registry.
When using RfcOpenEx add the following registry entry to make use of the NoDelegate option:
[HKEY_LOCAL_MACHINE\SOFTWARE\SAP\SAPGUI]
"NoDelegate"=dword:00000001
Validity
Software Component From Rel. To Rel. And Subsequent
BC-FES-GUI 640 640
References
This document refers to:
SAP Notes
1156829 Important SAP notes for the SAP PLM interface