on 06-15-2010 4:25 AM
I create an external window from my web dynpro component. How to make sure the new window is created on top, not in the back? My web dynpro component is accessed via sapgui and browser.
Thank you
Edited by: Vincent Cao on Jun 15, 2010 5:25 AM
Hi,
I guess by default, external windows are created on top of the application window by which they are created.
Is it opened in the background in your case? If so, please post the code snippet which you are using to create external window.
Regards,
Srilatha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, by default it should be on top.But mine is displayed in the background.
Logic is:
1 Window A (or SAPGUI A) has a pop window PA with a button "OK"
2 Press "OK" button, PA window is closed. And fire an event to window A
3 A get the event, refresh itself and create an external window.
Part of codes:
window = lo_window_manager->create_external_window(
url = i_url
title = title
modal = modal " abap_false
has_menubar = has_menubar "abap_true
is_resizable = is_resizable "abap_true
has_scrollbars = has_scrollbars "abap_true
has_statusbar = has_statusbar "abap_true
has_toolbar = has_toolbar "abap_true
has_location = has_location ). "abap_true
IF width IS NOT INITIAL AND height IS NOT INITIAL.
window->set_window_size( width = width height = height ).
ENDIF.
window->open( ).
It is different in my case:
When I press the "OK" button, I see that the original window A's title bar become grey. At the same time the external window is being created . Soon, window A come to the front with the title bar in color blue.
I feel that it seems something in window A grasp the focus again. But I cannot find it out.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.