I am using BADI 'BBP_DOC_SAVE_BADI' with business object '2201' for sending email.
I am using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1' for sending email.
When I debug the code FM is returning sy-subrc ZERO. But after some time system display message as 'Update was terminated by <b>USER NAME'</b>
Could you please help me out in this issue ?
Thanks and Regards,