Skip to Content
Former Member
May 29, 2007 at 02:41 AM



Hello Friends.

As soon as a new data record is commited to table MSEG and MKPF, i.e. a goods receipt for purchase order is posted in the table. I need to send an automatic mail having the data of the newly added rows of MSEG.

Please tell me where I can write the code for this.

Is there any automatic event triggered after the MSEG is updated.

Currently I have written my code in the user exit.(CALL CUSTOMER-FUNCTION '001'). But if the user presses exit, without saving the document than the goods receipt mail will be already sent for that PO, where as that data is not updated in the MSEG.

Please help