Skip to Content
0
Former Member
Dec 03, 2008 at 03:55 PM

Webdynpro popup with event call when popup is closed

476 Views

Hi experts,

I am calling a popup (own component) from a wedynpro application. The popup contains a text edit and 2 buttons (Continue and Cancel).

The textedit from the popup is bound to a context attribut of the calling application via the component usage of the popup. The call of the popup, closing the popup window when clicking the 'continue' button and the context binding to the attribut of the caller webdynpro is working fine. This means the context attribut of the caller webdynpro is filled with the value of the text edit from the popup.

I am using method CREATE_WINDOW_FOR_CMP_USAGE from Interface IF_WD_WINDOW_MANAGER.

My problem is that I do not know how to call a event in the caller application when the user is clicking the 'continue' button on the popup. I need the same behavior we can find in method CREATE_POPUP_TO_CONFIRM. Here we can register e.g. the YES button to an event in the caller application. Please note: I cannot use CREATE_POPUP_TO_CONFIRM, because I need a text edit in my popup.

Is such a functionality anyhow available for CREATE_WINDOW_FOR_CMP_USAGE as well?

Thanks in advance for your help.

Tom