Skip to Content
0
Feb 11, 2011 at 03:23 AM

ME_PROCESS_PO_CUST - Badi error for ME21N

51 Views

Hi Experts,

I have used 'ME_PROCESS_PO_CUST' Badi to default and check some values in the item level for ME21N.

My issue is, i have coded the defaults in method 'PROCESS_ITEM' and the checking for error message in method 'CHECK'

when i do a testing the badi control doesn't go to the 'CHECK' method it just keep on looping between 'PROCESS_HEADER' and 'PROCESS_ITEM' , so ultimately the transaction is not executing it keeps on passing the control between these two methods and it gets struck forever.

please suggest me if there is any statement i need to use to pass the control to the method 'CHECK' so i can default the values and save the document.

useful will be rewarded.

Thanks in advance,

Kishore

Edited by: KISHORE S on Feb 11, 2011 8:53 AM