cancel
Showing results for 
Search instead for 
Did you mean: 

Exit plug - Error when tyring to close application

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Morten,

There are certain restrictions or certain conditions to be considered before using the CLOSE_WINDOW parameter in the exit plug, you may find them here.

http://help.sap.com/saphelp_nw70/helpdata/en/45/1bc575ba064574e10000000a114a6b/frameset.htm

Regards,

Runal