In one of BADI the for saving PO in SRM 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,