Skip to Content
0
Dec 22, 2011 at 11:11 AM

BADi BOM_UPDATE cannot trigger mail as FM giving dump

74 Views

Hi Experts,

I have a requirement to send mail at BOM change. I am using BADI BOM_UPDATE~CHANGE_BEFORE_UPDATE method for that.

Here I am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail. But when i am using COMMIT = 'X' in the FM it is giving dump COMMIT_IN_PERFORM_ON_COMMIT. But without using commit the mail is not getting fired. So can anyone give me a solution? Please suggest me.

Regards,

SURYA