Skip to Content
avatar image
Former Member

Close Main Window directly on action on Pop up window

Hi All,

I am calling a pop-up window on th emain window and on Action 'OK' on the Pop-up window I want to close the main window.

Please let me know how can I achieve the same.

Thanks

Deb

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 31, 2009 at 01:00 PM

    I have an application where I do this. I create an exit output plug in the my main window. From the popup view, you can access the parent window and trigger this exit plug:

    data lo_w_main type ref to ig_w_main .
      lo_w_main =   wd_this->get_w_main_ctr( ).
    
      lo_w_main->fire_exitapp_plg(
        url =  lv_exit_url  ).

    Add comment
    10|10000 characters needed characters exceeded