Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error while creating popup window

Hi  Experts,

I am trying to create popup window in webdynpro java i am getting error (IWDWINDOW CANNOT BE NULL)

Code is:

1.

IWDWindowinfo info=wdComponentAPI.getComponentInfo().findInWindows("Win2");

IWDWindow window=wdComponentAPI.getwindowManager().createModalWindow(info);

window.setWindowSize(100,100);

window.show();

2.

IWDWindowinfo info=wdComponentAPI.getComponentInfo().findInWindows("Win2");

IWDWindow window=wdComponentAPI.getwindowManager().createModalWindow(info);         

window.setWindowSize(100,100);

window.show();

    wdContext.currentNodeElement.setAtt(window);                                 (Here node is the value node,att is the value ttribute of type IWDWindow) 

Let me know where am i doing mistake please

IN the above scenario i write createwindow() also still i am getting problem

Please help me ,

Thanks in advance,

Khaja sk.

Former Member
Not what you were looking for? View more on this topic or Ask a question