Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need information message when I open PO in Change Mode(ME22n)

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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