‎2008 Sep 22 9:10 PM
Hi,
In MB31 when we do a goods receipt, a material document gets created in MKPF. My requirement is some where inside this MB31(may be in a User-Exit), I would like to trigger an event if material document was created successfully. There are some User-Exits avaialble for MB31 but not sure which one to use as I am not sure at what point the material document is being created in MB31. Any help appreciated. Thanks.
‎2008 Sep 22 9:39 PM
Hi,
Try using the BADI MB_DOCUMENT_BADI and use the method MB_DOCUMENT_UPDATE
OR the user exit.EXIT_SAPLMBMB_001..
Both are called in the FM MB_POST_DOCUMENT..You will have the material document number available ...
Thanks
Naren
‎2008 Sep 22 9:39 PM
Hi,
Try using the BADI MB_DOCUMENT_BADI and use the method MB_DOCUMENT_UPDATE
OR the user exit.EXIT_SAPLMBMB_001..
Both are called in the FM MB_POST_DOCUMENT..You will have the material document number available ...
Thanks
Naren
‎2008 Sep 22 9:44 PM
They make sense. I will give them a try and give full points. Thanks.