11-22-2007 10:40 AM
when PO is created, I have to collect the error message similar to Standard SAP does for certain condition (based on the quantity entered in the Service line items ) ,
Please let me know how to do this within the BADI. Im using post method of ME_PROCESS_PO_CUST
11-27-2007 12:52 AM
You can use the macro MMPUR_MESSAGE_FORCED in method CHECK (since your requirement is at the very end if I understand you correctly). To see some examples, take a look at the method PROCESS_ITEM in the sample code of the BAdI.
Don't forget to:
INCLUDE mm_messages_mac. "useful macros for message handling
11-27-2007 10:00 AM
Hi Tamas ,
Thanks for the info
I'm doing exactly same. but not in 'Check' but in 'Post'. But not working . Why can't I use in the post method.
11-27-2007 4:31 PM
My guess would be that the CHECK method is the proper processing point to do plausibility checks and issue error messages. The POST may be too late for that.