ā2013 Aug 21 9:27 AM
Hi Experts.
we are Looking for Set Ideal Time for particular Program. We are create some Zxyz program for User.
Some Users are you this program but don't Terminate form Zxyz program. So We want to create ideal time.
When my Zxyz program is Ideal then automatically terminate Program/User Id.
The said enhancement is like :
1 ) Terminate user ID if Zxyz program is Ideal.
or
1) Terminate Program if user Ideal.
2) Enhancement looking for ABAP program.
Regards.
Pradip.
ā2013 Aug 21 10:50 AM
I do not understand your requirement. What do you mean exactly with Ideal Time. I suppose you mean Idle time ?
Do you mean that you want to stop a z-program once a user has logged off (that happens automatically already !! ) and that you want to log off a user when he leaves a program ?
Please elaborate.
ā2013 Aug 21 10:57 AM
Dear Peter.
I want log off User when My Zxyz Program is Ideal means(not use) on user screen.
Said Enhancement use for Particular Program.
Regards.
Pradip.
ā2013 Aug 21 1:21 PM
Dear Pradip,
You can use ABAP command CALL 'SYST_LOGOFF'. to delete the user sessions (all sessions of the user) and you can use in combination with CL_GUI_TIMER class (example code see link)
http://aaabap.blogspot.com/2011/02/abap-timer-part-3.html
Implement the timer class and in your method handle_finished you call CALL 'SYST_LOGOFF'.
ā2013 Aug 21 1:29 PM
Hi Pradip,
To add to the information provided,basis setting are usually done to check for idle users and log them off in normal cases.
Please check the following on the basis setting details.
http://basishowto.blogspot.com/2012/04/sap-idle-session-time-out-logging-off.html
Regards
Byju
ā2013 Aug 21 10:57 AM