05-04-2018 8:12 PM
Hello,
I used CL_BCS class methods to send email with attachment but noticed that when there is no attachment, class is not sending emails. CL_BCS->SEND calls another class CL_SEND_REQUEST_BCS->RELEASE which raises exception if no document is found as attachment.
Is there any OSS note which fixes this issue? Or is there alternative method which can be used?
Thank you.
05-04-2018 8:34 PM
I think you need to share your code. It seems the send method, in your context, is expecting an attachment and not finding one.
05-06-2018 5:21 AM
Have a look at BCS* examples in SE38, it has email with attachment example & compare your code with it.