Skip to Content
avatar image
Former Member

Call a view by the controller in a new browser window

Dear All,

I have developped a MVC application, I want call a view in a new browser window from the controller.

Now when a call this view, it's displaying in the same window of the first page.

This view is for a search-help of final customer (KUNNR).

It's very difficult to create search-helps with the BSP, you know ?

Thank you in advance for your solutions.

BEst Regards,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 04, 2004 at 11:27 AM

    Dear Hughs,

    Usually search helps are implemented showing list value in the same page (as done by ITS WebGUI).

    If you want the browser to open a new window, you can do the following:

    - by clicking on your value request button, in the do_handle_data method, assign 'X' to a model->show_search_help_1 variable (or something else);

    - on view layout, IF model->show_search_help_1 EQ 'X', write a JavaScript statement which opens a new window calling the URL you want.

    Of course, you can pass data between applications by context or session data retention, or, moreover, by using server side cookies.

    If I woke up your curiosity, I can post some example... 😉

    Dany 😊

    Add comment
    10|10000 characters needed characters exceeded