cancel
Showing results for 
Search instead for 
Did you mean: 

Ending a user transaction after idle time

Former Member
0 Kudos

Hi guru's,

We have a customer transaction used by a lot of endusers that may block some pernrs.

I'd really like to end the transaction after say like 5 minutes of idle time so the pernrs are no longer blocked by a certain enduser.

Using the time out of the system so the enduser loses his session or messing with the en- or dequeue commands is not an option.

Any ideas or approaches? Useful responses will be rewarded

Kind regards,

Jonathan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi Jonathan,

I have a report that loops at pernr (get pernr).

after start of selection, but before get pernr, I have:

time = sy-uzeit. **start time of the program

right before end-of-selection (the end of the pernr loop) i have

time2 = sy-uzeit.

then:

if time2 - time1 > 300.***(Seconds)

***if the prgram has been running longer than 5 mins, exit

write: / 'time exceeded'.

exit.

endif.

hope this helps.

Warren

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you check with your Basis Person. I think they should know some setting for the idle time in the system. Please check & let us know whether it is possible or not.

Former Member
0 Kudos

Hi Sarika,

I will verify.

For the moment we have played with the system time-out parameter: this ends a users session after a certain amount of time. The enduser then needs to log on again.

It would be nicer if instead of ending the session, it just closes the transaction and the enduser is back in his easy access menu.

I'll get back when i hear from my colleague.

Kr,

Jonathan

Former Member
0 Kudos

Still no usefull system parameters found...

We have looked at the rdisp/gui_auto_logout parameter. But this cancels the whole session and so they need to log on again. We'd just like it if they return to their easy access startmenu.

Any suggestions how to do this? (a system parameter? repair of TMW? job that ends idle gui's?) I'll reward any usefull suggestion

Kr,

Jonathan