‎2013 Sep 27 2:47 PM
Hello experts,
I want to capture the auto log off time for the user.I cannot even debug the same since it is idle session time out.
If i get the code I can put some enhancement to capture the log off time.
Request you to please help me with auto log log off program.
Regards,
Gaurang
‎2013 Sep 27 2:55 PM
I think you just can ask your basis administrator what time did he set for auto log off in the system parameters.
‎2013 Sep 27 5:11 PM
Hello Gaurang,
Check the parameter rdisp/gui_auto_logout ,it displays the number of seconds the user can be inactive after which the user gets logged off automatically.
Regards,
Laxman
‎2013 Sep 27 6:15 PM
Hi Gaurang,
This behavior is controlled by rdisp/gui_auto_logout and it is the responsibility of dispatcher to remove idle sessions . What is the requirement for which you want to capture this ?
Regards,
Sourabh
‎2013 Sep 28 9:51 AM
Hi Sourabh,
I want to capture the log off time when the user logs off automatically.
Regards,
Gaurang
‎2013 Sep 28 10:46 AM
Hi Gaurang,
Will you please make it clear if you want the time between idle session and auto log off or the time when system was auto logged off?
Regards,
PS
‎2013 Sep 28 11:00 AM
Hi Purshotam,
I want the time Stamp when the user logs off either manually or automatically.
I have captured the time when user presses the exit button now I also want to capture the time stamp when the uses is logged of automatically because of Idle session.
Regards,
Gaurang
‎2013 Sep 28 11:11 AM
Hi Gaurang,
Please try following code.
DATA: lv_field(100).
CONSTANTS: parameter LIKE tpfet-parname
VALUE 'rdisp/gui_auto_logout'.
CALL 'C_SAPGPARAM' ID 'NAME' FIELD parameter
ID 'VALUE' FIELD lv_field.
IF sy-subrc EQ 0.
WRITE lv_field.
ENDIF.
Regards,
PS
‎2013 Sep 28 11:41 AM
Hi Purushottam,
I want to get the system time stamp when an User is automatically logged off and not set or get parameter rdisp/gui_auto_logout.
Is this feasible ?
Regards,
Gaurang
‎2013 Sep 28 9:35 PM
Gaurang, it is easier to handle this the Basis way. try this:
go to RZ10
rsau/enable: Set to 1 to activates audit logging
rsau/local/file: Name and location of the audit log file
rsau/max_diskspace/local: Max. space of the audit file.
If maximum size is reached auditing stops.
or Tcode ST03/ST03N --> Workload--> double click on Total(f u have more than one message server)--> Analysis View--->User and Settlement Statistic --> User Profile --> and double click on user name you want to analyze
Hope this helps.
~Vimal
‎2013 Sep 30 10:45 AM
Hello Gaurang,
If the Security audit is enabled in your system(parameter rsau/enable is equal to 1), then you can get the log in details and log off details of the user from the security audit logs(transaction SM20)
Regards,
Laxman
‎2013 Sep 28 10:55 PM
I doubt that there is an ABAP stack based exit point for this purpose. I remember that (auto) log offs are captured in the security audit log (if this is activated), maybe also in the system log or other places. I guess your best bet is to speak to the system administrator about where log off information is recorded, then you can look for ways to collect this information retrospectively.
Thomas