Skip to Content
avatar image
Former Member

Stop standard process in user exit (or badi) for ME21N.

Hello,

I have implemented a user exit (and also a BADI) for transaction code ME21N.

The user exit is executed before saving the purchase order.

In my user exit, I just check data and if they are wrong, I just want to stop the process displaying an error message.

So, I've just used 'MESSAGE Exxx(xxxx)'.

The problem is that the standard process catch the error and treat it in stead of stopping. The standard process treats the error and proposes the user to chose if he(she) wants to continue or to stop (within a popup).

I just want to stop the process, displaying a error message.

If someone has a idea about how I can realise that, please let me know.

Giuseppe,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 14, 2008 at 04:38 PM

    Which Exit/Badi did you implement? And Error message should normally stop the process. Maybe you have implemented the wrong exit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2008 at 05:07 PM

    hello and thanks for your answer. I use the good user exit, I can see that in debug mode.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2008 at 05:07 PM

    hello and thanks for your answer. I use the good user exit, I can see that in debug mode.

    Add comment
    10|10000 characters needed characters exceeded