11-22-2006 11:41 AM
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
11-22-2006 11:48 AM
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.
11-22-2006 11:55 AM
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
11-22-2006 12:06 PM
probably you can use FM 'SAPGUI_PROGRESS_INDICATOR' which will keep your session alive.
11-22-2006 12:11 PM
Hi,
use wait command
WAIT UNTIL logexp UP TO time SECONDS.
.
or FM
RZL_SLEEP
ENQUE_SLEEP
REgards
Amole