cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt in Dynamic View Embedding

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.