11-09-2006 3:26 PM
We are working on a BADI for transaction ME22N
Here we need to display error message if the length of header text is greater than 20.
We have explored all options and are using BADI Definition ME_PROCESS_PO_CUST for our purpose.
But here we are facing problem as when we try to display the error message it is getting displayed at item level and the item gets marked as errored.
We tried using Macro mmpur_message to display error message.
<b>We want to display the error message at header level.</b>
11-09-2006 4:15 PM
Hi,
Can you use INVALIDATE() method of the IF_PURCHASE_ORDER_MM interface to throw an error.
Srini
11-10-2006 6:28 AM
Hi Srini,
I tried using that method. but still the error gets displayed at the item level.
Do I need to use any other method for my purpose,
Presently I am using <b>check</b> method of <b>if_ex_me_process_po_cust</b> interface.
Kaushal
11-10-2006 6:48 AM
Hi Kaushal,
Try using Process_header Method where you can write your code and raise error messages.
Think this would help you.
Thanks,
Prashanth