Application Development 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: 

How to keep session alive irrespective of system termination time

Former Member
0 Kudos

Hi,

In the system we have auto log off time set to 45 min. after 45 min all idle sessions will be terminated. But we are developing a custom transaction where in user will make entry and keep session remain open and after certain time (it can be more than 45 min) again he will make some entry and save the application.

We would like to keep this session active programmatically so that system should not terminate this session in which custom program is running.

Could some one let me know is there anyway to keep session active.

Thanks

4 REPLIES 4

Former Member
0 Kudos

When program is running, it will time-out not due to idle system but due to maximum time taken to run your program. If this is set as 10 min then it will automatically time-out. You need to increase that time.

0 Kudos

This is an online transaction program which will not take much time.

User will make some entry in the screen designed and will keep that screen open and after certain time he will go back and make some more entry and save the application. time gap between first and second entry could be more than auto log off time.

our requirement is during this time gap system should not terminate this session.

Thanks

0 Kudos

probably you can use FM 'SAPGUI_PROGRESS_INDICATOR' which will keep your session alive.

Former Member
0 Kudos

Hi,

use wait command

WAIT UNTIL logexp UP TO time SECONDS.

.

or FM

RZL_SLEEP

ENQUE_SLEEP

REgards

Amole