10-05-2006 11:34 AM
Hi,
I need to display a pop-up message if the PO has attachments, when it is opened in Change Mode (ME22N).
Please let me know if any User Exit / BADI exists to solve the problem.
Thanks in advance.
10-05-2006 2:27 PM
Hi Veera,
Try using BADI "ME_PROCESS_PO_CUST" and the method "OPEN".
There is a parameter "IM_TRTYP" that will indicate which processing mode(Create, Change, Display) you are in. To access data from the Purchase Order, use the parameter "IM_HEADER" which is an object reference.
There are also other methods that are called when processing each section(header, item, etc...) of the document.
Hope this helps,
Jerrod