Skip to Content
Jan 13, 2020 at 12:12 PM

Sending Email to different receiver using cl_bcs with csv attachment


Hello Everyone,

I am new in ABAP world and I am trying to create a program with cl_bcs.

I have a report with 6 columns on screen.

My requirement is to send an email to different receivers according to their email id. I have created a program to send an email with an attachment to one predefined receiver (here receiver i have hard coded). Now i want to send an email to different departments according to their email id. How can i acheive this. I am stucked!!

PS: I am completely new in programming, with no previous hand on experience in ABAP. I am expecting to get an explaination with code example for a beginner level!!! :)

I thank you in advance for your response and help.