SAP Login Exception from HRESULT 0x80010105

How to solve SAP Login error HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) ?

On the Server Side

  1. Launch saplogon.exe, log in to your SAP server using your credentials. The SAP Easy Access window is displayed.
  2. Run transaction RZ11. Specify the parameter name sapgui/user_scripting and press Enter on the keyboard or Display in the SAP interface.

![](upload://1ThYkpXaPMiyt8fkB3Fo8KXaESm.png)![](upload://1ThYkpXaPMiyt8fkB3Fo8KXaESm.png)

![](upload://qAgKf9yxnVeE3GZf2TnEf8Nt0aj.png)![](upload://qAgKf9yxnVeE3GZf2TnEf8Nt0aj.png)

  1. In the Display Profile Parameter Attributes window, click the Change Value button on the toolbar and set the New value of sapgui/user_scripting to TRUE. Save the changes.

![](upload://dKOlkAbEC78DCQOdSd3lMeTu4Yz.png)![](upload://dKOlkAbEC78DCQOdSd3lMeTu4Yz.png)

📘

Note:

In case your organisation is using more than 1 instance of an SAP system, do not forget to activate the checkbox “Switch on all servers” to ensure a proper activation of SAP scripting across all servers.

Depending on the SAP server version, the following parameters may be set to TRUE by default. In this case, change their value to FALSE.

  • sapgui/nwbc_scripting
  • sapgui/user_scripting_disable_recording
  • sapgui/user_scripting_force_notification
  • sapgui/user_scripting_per_user
  • sapgui/user_scripting_set_readonly

📘

Note:

All changes to parameters in transaction RZ11 are applied with immediate effect and are lost when the system restarts. For changes to be permanent, please contact your SAP System Administrator and use transaction RZ10.

  1. Log off and back on again for the changes to take effect.

On the Client Side

  1. Access the Options menu from the Main SAP Logon window.
  2. Go to Accessibility & Scripting and click on Scripting.
  3. Check the Enable scripting option.
  4. Clear the checkboxes for the following options:
  • Notify when a script attaches to SAP GUI
    • Notify when a script opens a connection
  1. Save the changes by clicking OK. The SAP WinGUI scripting is now enabled.

![](upload://p5seqqZQg95qUVNMAjN4fOb0R14.png)

Authorization Rights

The authorization rights verification or settings need to be performed only if the sapgui/user_scripting_per_user parameter is set to True.

SAP GUI Scripting is only available for those users that have the authorization for the Execute(16) action of the authorization object S_SCR in class BC_A.

Please speak to your SAP System Administrator and ensure that the user has appropriate authorization rights.

1 Like