Skip to Content

How to exit from method if there is any Error message

Hi All,

I have one button (Retrieve) and on that button I am calling a method(OnRetrive) and in that method i am calling func module and in that i am getting some messages.

<b>Now If that FM gives Error message then i have to exit from that method without processing further code.</b>

How can i do this? Help!!!

Expecting your reply ASAP.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 10, 2007 at 05:44 AM

    Use the RETURN statement. It will get out of your method.

    Regards

    Nithya

    Add comment
    10|10000 characters needed characters exceeded