Skip to Content

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

How to setonclose for a ModalWindow/confirmationDialog


I'm looking for help here about How can I popup a confirmation dialog or modal window with a close icon on top right?

I've tried codes as following:

IWDConfirmationDialog dialog = wdThis.wdGetAPI().getComponent().getWindowManager().createConfirmationWindow(dialogText, actOk, delete);


dialog.addChoice(actCancel, cancel);


dialog.setWindowSize(400, 100);



I was able to see the close icon, but when clicked, dump occurs.

I'm developing on ce 7.11

version details:

SAP NetWeaver Developer Studio

SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.1 SP01 PAT0000

Build id: 200811082206

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