on 01-04-2011 3:05 AM
Hi,
I am facing an issue in displaying a window as popup. Following is the detailed scenario.
I have a view which has a table control in it. This view has been embedded in a window.
I am calling this window as popup using window manager.
The functionality works perfect. However when I scroll down or lead select, the popup window adjust itself and displays again.
In otherwords, it tries to shrink and comes to original position.
Is there anyway to avoid this happening? I want the window to be behaved static.
Regards,
G.N
hi, from your description, i think there are 2 places where you can check, hope it can help a little.
1. Check whether the table-control is fixed or not.
This setting is important when you wanna your table is not changed when the data/content is changed.
Setting point: In design, set the checkbox "Fixed Layout" of your table UI element
2. Set your Pop-up non-resizeable
can use the following example:
*. No Resizable
CALL METHOD lo_wait_window->SET_IS_RESIZABLE
EXPORTING
IS_RESIZABLE = abap_false
hope it can help a little.
Best wishes.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Many thanks for the inputs.
1. I am using Create_window. I cannot use External_window as per requirement
2. The issue is not with resizing. The current functionality takes care of resizing.
3. I have tried all the possible stuffs. Like fixed table layout, transparent container, scroll pane. Nothing worked.
4. I am using IE.
It seems like the window manager itself tries to adjust the window for every scroll or lead select. The weird thing is, if have multiple tabs, on clicking the tabs, the window doesn't resizes. The issue happens only when scrolling or during lead select.
Steps to replicate the issue.
1. Create a view with table control. in WDDOINIT method fill the table with entries. Create a window for this view.
2. Create a view with button. On click of this button, call the above window using window manager. Create a window for this view and application.
On executing the webdynpro application, click on the button, it will show the popup. Try to scroll down or lead select.
Observe the title bar of the window.
Regards,
G.N
>The weird thing is, if have multiple tabs, on clicking the tabs, the window doesn't resizes. The issue happens only when scrolling or during lead select.
Are you sure that the dialog window isn't been called again? Are you making the call to open the popup from within the WDDOMODIFYVIEW of the parent view? It seems like any server event is causing the popup window to re-initialize. The change of tab is a client side event only. The other events you listed are server side. The WDDOMODIFYVIEW of the parent view still fires whenever a server event occurs in the popup.
hello,
Please check IF_WD_WINDOW_MANAGER, there is a method CREATE_EXTERNAL_WINDOW with parameter IS_RESIZABLE.
Best regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
According to the SAP note 1003826 it is not possible to set the size of the popup, you can set the size by inner content ie use transparent container with calculated size so that if the screen shrinks or expands the transparent container will take care of it.
Regards
Arun.P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
recently i created one popup having table and action on lead select but i have not faced any such scenarios.
are you using IE as browser or something else. and what is the window tyep you are creating.
In my case i created with
lo_window_manager->create_window
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.