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.