Skip to Content
Author's profile photo Raj Kishor

SAPGUI logged out automatically after certain time, Auto log-out

SAPGUI logged out automatically after certain time, Auto log-out

Hi All,

Normally the purpose of this parameter is suppose if a user is logged in to the system and is inactive from the time specified in the parameter then it will automatically log that user out from the system to save the resources which cab be utilized by other active users.

Kindly check whether the user is really running the report or not. If you do not want to set this parameter then you can put the value as 0.

1. Login to SAP System.

Go to RZ11


Enter the Parameter : rdisp/gui_auto_logout and click on -> Display


Click on -> Change


Enter new value(in ms) and click on -> Save.


click on -> Continue…


Note: This will change the value and it will be effective with new value only until next restart of the instance. Once the instance is restarted it will revert back to old value and this is called dynamically changing parameter. Also, check the parameter rdisp/max_wprun_time if report is running for long time than value specified and throwing time out. Check in ST22 for any Time out dumps.



Also, you can change the parameter temporarily or permanently like if you want to change the value permanently then change the value in instance profile and restart the instance to take effect.

Check and Set the INSTANCE profile parameter as below:

rdisp/gui_auto_logout = <Auto_logout_time>

You can also delete or set as below to disable the auto logout time.

rdisp/gui_auto_logout = 0

You will need to restart the SAP after changing profile parameter.

1. Goto your Instance profile Parameter




Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Matt Fraser
      Matt Fraser

      Hi Raj,

      When modifying the instance profile of an ABAP system, it is better to do it via RZ10 rather than by directly editing the file at the operating system level. There are more checks built in to help prevent typographical errors, etc. Also, a copy of the profile is maintained within the database this way. If you change the profile at the OS level, you will need to import the profile after restarting the system in order to achieve the same thing.



      Author's profile photo Raj Kishor
      Raj Kishor
      Blog Post Author

      Yes Matt, you are right.

      So i have provided both the way. First through RZ10 and next, OS level.



      Author's profile photo Steve Rumsby
      Steve Rumsby

      Actually, you have shown how to change the value temporarily via RZ11, and permanently by editing the profile file at OS level. As Matt said, the permanent change should really be made in RZ10. Not only are there checks made in RZ10 that you won't get by manually editing the file, but if somebody later comes along and makes another change the proper way, in RZ10, then your manual change will be wiped out. Unless you do the import that Matt also mentioned.

      Manually editing the OS-level profile file is almost always the wrong thing to do...

      Author's profile photo Eli Gomez
      Eli Gomez

      Would this be possible for SAP Gui logout?

      Is there is a global if/else exception setting available in the default profile which might look like the following:

      If user ID not equal to xup*, set Auto_logout = 90 minutes

      Else set auto_logout = 5 minutes.

      I’m not aware of how to set a system auto_logout by a site since the SAP systems are unaware of sites.

      Is there a way to look at the SAPGUI settings to see if there is a feature in the thick client to set an auto_logout to override the system setting.