Skip to Content
-1

CL_BCS is not sending email without attachment

May 04 at 07:12 PM

55

avatar image

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.

10 |10000 characters needed characters left characters exceeded

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

2
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Nabheet Madan May 06 at 04:21 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded