Skip to Content
avatar image
Former Member

Query in Message statement!!!

Hi all,

I have a requirement that when I click the SAVE button a Pop Up Message should come and the order should not be saved .

The Badi name is ORDER_SAVE.

I wrote the following statement

MESSAGE 'ZTEST_MESSAGE' TYPE I NUMBER-000.

RAISE DO_NOT_SAVE.

The Pop Up appears successfully.

But after I click the tick mark in the Pop Up the mesage comes again as a Warning Message at the status bar.

Please tell me how to supress the WARNING message from getting displayed.

Please guide me on how to achieve the above

.

Regards,

Vijay

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Sep 04, 2008 at 11:34 AM

    Message's will react diferently depending upon the EVENT's were it is written , can you place your code.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 11:43 AM

    Try using Catch commang to avoid your problem.

    Murthy

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi ,

      Thanks for your reply.

      Can you please explain me on how to use the CATCH please.

      As I am not catching any exception I do not understand your reply.

      Please elaborate.

      Regards,

      Vijay

  • avatar image
    Former Member
    Sep 04, 2008 at 12:07 PM

    Hi Bala,

    Check this link

    Query in Message statement!!!!

    Thanks.

    Best Regards,

    Arun Sankar.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 10, 2008 at 11:39 AM

    Hi all,

    Thanks for your replies. When the message comes in the Pop Up the messgae also comes a a warning at the bottom.

    Thanks for all your replies once again.

    Regards,

    Vijay

    Add comment
    10|10000 characters needed characters exceeded