Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CL_BCS is not sending email without attachment

former_member215917
Active Participant
0 Kudos

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.

2 REPLIES 2

matt
Active Contributor

I think you need to share your code. It seems the send method, in your context, is expecting an attachment and not finding one.

nabheetscn
Active Contributor
0 Kudos

Have a look at BCS* examples in SE38, it has email with attachment example & compare your code with it.