Skip to Content
avatar image
Former Member

Close browser window using FPM

Hi all,

My requirement is to close the browser window on click of a button in the webdynpro component.

I have triggered FPM event gc_event_close in after action of that view.

The window gets closed perfectly if I execute the application from SE80.

But the window is not getting closed when I run the application from portal, instead I get a message saying' The application is closed, you can now close the window'

Any pointers on closing the browser window when the application is run from portal would be of great help.

Thanks in advance.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 19, 2011 at 08:21 AM

    I can confirm this behavior. You can change this behavior by adding code in process_event method.

    1. Fire a portal event with

    "urn:com.sapportals:navigation", "CloseWindow", ""


    1. Fire a Exit plug with close_window = abap_true


    Add comment
    10|10000 characters needed characters exceeded