Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

Ideal Time Set

Former Member
0 Likes
720

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.

5 REPLIES 5
Read only

PeterJonker
Active Contributor
0 Likes
672

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.

Read only

0 Likes
672

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.

Read only

0 Likes
672

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'.

Read only

0 Likes
672

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

Read only

former_member209120
Active Contributor
0 Likes
672

This message was moderated.