Skip to Content
author's profile photo Former Member
Former Member

Exit plug - Error when tyring to close application

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 27, 2009 at 05:55 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.