on 12-01-2006 10:57 PM
Hi,
I running with an issue like embedding the view dynamically.
The requirement look like, show the developed screen in popup window for easy to take print screen.
I developed the Webdynpro application in cProject enhacement say like ZTM_ALV_001.
Now users want to print the screen. But the problem is can't print the screen alone. It come inside the standard browser buttons and others.
So we have option like, if we show the whole developed webdynpro screen in the Popup window, They can get print screen easily (only that screen).
For that I developed another webdynpro application say ZTM_ALV, has push button to call the popup. What we have to do is, we need to integrate the main view of ZTM_ALV_001 into the pop up window.
How can I proceed?.
Regards,
Tamil.
Hi Tamil,
1. get the wd Framework API, using wiziard
data:
l_Api_Componentcontroller type ref to IF_WD_COMPONENT.
l_Api_Componentcontroller = wd_Comp_Controller->Wd_Get_Api( ).
2. Get the window manager ref from API
lr_window_mngr = l_Api_Componentcontroller ->get_window_manger( ).
3.Create window
see the various methods on interface IF_WD_WINDOW_MANAGER.
mostl likely CREATE_WINDOW_FOR_CMP_USAGE
is what you require.
lr_WINDOW = lr_window_mngr ->CREATE_WINDOW_FOR_CMP_USAGE(....)
4. Open the window
LR_WINDOW->OPEN( ).
Summary.
The WD framework API provides access to windows.
Use the API to access the window manager, create a window and then open and close it.
regards
Please always use the framework to access other WDA components.
Navigation / windows etc and not URL tricks.
regards
Phil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.