Enhancements to add custom message log in purchase order
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,
Martin Voros replied
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.