cancel
Showing results for 
Search instead for 
Did you mean: 

Close popup-window

former_member94854
Participant
0 Kudos

Hi there,

just a simple question. I have implemented an own value help component. The basic function is working but i have no idea how to close this window after selecting an entrie of the table with the value help data.

Kind regards,

Albert

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Hi Albert,

You open popup like this:


final IWDWindowManager manager = wdComponentAPI.getWindowManager();
_window = manager.createWindow(_windowInfo, true);
_window.open();         

Store instance of IWDWindow (_window) in context attribute and in table leadSelection action handler put something like:


    _window.close();
    _window.destroy();

Best regards, Maksim Rashchynski.

former_member94854
Participant
0 Kudos

Hi Maksim,

I'm sorry but i forgot to tell thats WebDynpro for ABAP!

Kind regards,

Albert

former_member182372
Active Contributor
0 Kudos

Hi Albert,

Check this than

http://help.sap.com/saphelp_nw04s/helpdata/en/43/035be8dc7e22f4e10000000a1553f7/content.htm

best regards, Maksim Rashchynksi.