04-08-2009 8:53 AM
Dear Friends,
I need to write the program to logg off the system.
And this program should be run in Back grouond and should give popup like Unsaved data will be lost .
Do you want to continue or not?
if user presses YES it has to be terminated if no it still remains same screen.
But program should be run in back ground because we will set the time to logoff.
I am not getting popup when I run back goround.
Please give solution.
Regards,
Praveen.
04-08-2009 9:24 AM
Hi,
A prog in b/g mode will not give any popup / messages to the UI. It runs on application server and has no relation with UI.
-RJ
04-08-2009 10:01 AM
Thanks for giving reply..But how can logoff the system ofter some time...with out giving popup.
04-08-2009 11:47 AM
Hi Praveen,
You cannot have user interaction in the background mode. So, you cannot request user.
As you are passing the time, try to write small application by comparing the time you passed with the system time sy-uzeit. If the difference reaches 0, then you can use CALL 'SYST_LOGOFF' to log off from the window.
Hope this is a good pointer
Thanks,
Babu Kilari
04-08-2009 10:44 AM