Skip to Content
0
Former Member
May 26, 2009 at 01:09 PM

Exit plug - Error when tyring to close application

26 Views

Hi,

I get the following runtime error when trying to close my WD Application:

-> Parameters of exit plugs and suspend plugs must be of type STRING or TIHTTPNV

My outbound plug og type exit takes 1 parameter:

CLOSE_WINDOW of type Boolean.

My code for calling the exit plug:

DATA: l_ref_main_window TYPE REF TO ig_main_window .

data: l_close_window TYPE boolean.

l_close_window = 'X'.

l_ref_main_window = wd_this->get_main_window_ctr( ).

l_ref_main_window->fire_exit_plg( close_window = l_close_window ).

Thanks,

Morten