Skip to Content
0
Former Member
Sep 23, 2005 at 05:50 PM

Executing ABAP on Navigating away from BSP

17 Views

Hi All,

I would like to know if it's possible to execute a piece of ABAP code when the user navigates away from a BSP page.

I have the necessary ABAP clean-up code that I need to execute if the user decides to quit the BSP page (that includes closing the browser window, going to another website like cnn.com, or hitting the "Back" button).

Can anyone think of a possible solution? I tried to use javascript function on page "unload" property, but it appears it is not possible to restrict ABAP statements by enclosing them in javascript tags.

Thanks in advance!

Roman D.