Skip to Content

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

Enhancements to add custom message log in purchase order

Hi All,

I need to add a new custom error message using ME_PROCESS_PO_CUST in the application log of purchase order.

How can i access the applcation log data of the purchase order to add a new message.

Thanks and Regards,


Former Member


have you tried to use any macro from include mm_messages_mac? If you go to SE18 and enter your BADI, then you can display Sample code (Goto -> Sample Code -> Display). Unfortunately the method check is empty but if you check method process_item you can see there how to populate message into log using macros from include mm_messages_mac. I am not sure but these macros may work in CHECK method as well. Just give a try and test it.


0 View this answer in context

Helpful Answer

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