How the system automatically kills the process when I close the browser?

Hi everybody,
I have the following problem: I run a report on the web browser. Suppose the user want to detail on one of the characteristics of report. If this takes long time (there are many records in report) and the user closes the web browser, the SAP system still run the proccess (in SM50 I see the dialog process still working, althrough the user closes the browser). This didn't happen in Excel, means, if the user press the 'Cancel' button when he/she tried to detail on one characteristic, the corresponding process is killed too (I see in SM50 how the corresponding dialog process is removed).
How can I solve this ? Any idea about this?
Thanks in advance.
Florina

Florina,
there is a timeout set for the web session and the session would get automatically terminated after some time ..
Some options are :
1. Use Stateless Templates
2. There is a Web Template setting called "Automatic Session Management" which uses a page wrapper cookie and kills the session when the person navigates from the page.. - <b>have changed it from previous answer after seeing Anil's post - apologies</b>
3. If you are using EP  , you could implement DSM Terminator for the same.
All the above( except 3) will not be suitable for stateful templates , if you want export to excel capability , or printing capability or the capability to save the pages as HTML for local use , you have to use stateful templates.
First you would have to decide whether to use statefull or stateless templates and then depending on the choice made , go for any of the above. In case non of them work out for you , there is another option , but that would include a lot of javascript and using some command line parameters , update this post and I can tel you about the other if required..
Hope it helps..
Arun
Assign points if useful
Message was edited by: Arun Varadarajan

Similar Messages

Maybe you are looking for