10-14-2008 5:02 PM
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,
10-14-2008 5:38 PM
Which Exit/Badi did you implement? And Error message should normally stop the process. Maybe you have implemented the wrong exit.
10-14-2008 6:07 PM
hello and thanks for your answer. I use the good user exit, I can see that in debug mode.
10-14-2008 6:07 PM
hello and thanks for your answer. I use the good user exit, I can see that in debug mode.