cancel
Showing results for 
Search instead for 
Did you mean: 

another window

Former Member
0 Kudos

On pressing a button I am trying to create a print friendly window/page from the parent window. This means that the new window is an external window. How can I do this in Web dynpro? External window seems to be asking for an URL and if I use

IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows(myWindow)

window.open();

the window is opening on the page itself overlaying the areas on the parent page.

Accepted Solutions (1)

Accepted Solutions (1)

arun_srinivasan
Contributor
0 Kudos

hi deepak,

Printing is not supported in WebDynpro.u refer this thread

hope this helps u,

Regards,

Arun

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Deepak,

I was trying to do something similar previously and finally ended up using Adobe Forms instead. It was too much work/hassle to print to the size that I wanted eg. A4 as the size of my table is dynamic and that resulted in improperly truncated print pages.

from

Kwok Wei

vijayakhanna_raman
Active Contributor
0 Kudos

Hi Deepak,

Check with this link to create a popup window and extenal window.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tu... on creating dialog boxes - 10.htm

Regards

Vijayakhanna Raman

Former Member
0 Kudos

Hi

In the onaction of the button give the below code.

{

IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow("<ur window's url >","",false);

window.open();

}

Regards,

Rathna