Application Development and Automation 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: 
Read only

E-mail attachment

Former Member
0 Likes
409

Hi,

I have changed a report in which email attchment functionality is coded using SO_NEW_DOCUMENT_ATT_SEND_API1 FM.

I have attached some more columns in the objbin which is passed to the email attachment FM, but in the email attachment the first two lines are fine. First line is the header line and second line is data line. In the third line all the other data lines are coming in concatenated way,which it shouldnt be.

Please help me in this regard.

Thanks in advance,

Kranthi.

Edited by: Kranthi Kumar on Mar 16, 2009 7:28 AM

Hi,

I have changed a report in which email attchment functionality is coded using SO_NEW_DOCUMENT_ATT_SEND_API1 FM.

I have attached some more columns in the objbin which is passed to the email attachment FM, but in the email attachment the first two lines are fine. First line is the header line and second line is data line. In the third line all the other data lines are coming in concatenated way,which it shouldnt be.

Please help me in this regard.

Thanks in advance,

Kranthi.

Edited by: Kranthi Kumar on Mar 16, 2009 7:28 AM

2 REPLIES 2
Read only

Former Member
0 Likes
388

Hi Kranthi,

After bringing your final alv data in the final internal table,

go through this link , i also had an same requirement to send data after converting to excel file and

send it as an attachment to mail id outside Sap,

https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/to%252bsend%252b2%252bint%252btables%252bdat...

Hope it helps

Regrds

Mansi

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
388

Hi,

Refer this blog:

/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher

Hope this helps you.

Regards,

Tarun