Skip to Content

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

Embedding a view to a windo in Java WD


I need to create a dialog box, that pops up on a button click.

This box should contain some text, a text box for entering input, and "ok,"cancel" buttons.

1. Is there some type of predefined window that I can use?

2. In case the answer for 1 is "no", I assume I should create a new window, and embed a view to it. Can you please explain me how it is done?

Best Regards,


Former Member replied


Below is the code for the same:

IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWnidows(<name of your window>);

// Remember the name should be exactly same keeping the case sensitivity in mind.

IWDWindow window = wdComponentAPI.getWindowManager().createWindow(windowInfo,true);




0 View this answer in context

Helpful Answer

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