Skip to Content
avatar image
Former Member

How to close pop up and open new window?

Hi experts,

I have created popup window for user login . and embeded a view which accept user name and pwd also contains a submit button.

  in submit method action handler i am verifying user and then opening interface view of another component.

  Till verification i able to do but  i am not geting how to close the pop up window and open the window of interface view.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 11, 2012 at 10:10 AM

    Hi Vishal,

    1. wherever you are opening popup window, there do assign the window reference means, let create a IF_WD_WINDOW reference at Component Controller/Assistance class level and assign the popup window reference like below.

    eg. wd_comp_controller->lr_window = lo_window.

    2. on Logon popup in Submit action just use close method like below.

         wd_comp_controller->lr_window->close( ).

    3. now you can navigate to required window/view.

    thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 14, 2012 at 05:07 AM

    Hi vishal for ur requirement u hav to  subscribe a button for opning a new window ..

    for opening a new window u hav to go for create external window..

    i think this will be usefull..

    Thanks And Regards ..

    Lokesh

    Add comment
    10|10000 characters needed characters exceeded