Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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,

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question