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: 

Attaching Text file and sending mail

Former Member
0 Kudos

Hi all,

I am trying to attach a text file (ASCII file) and send using mail.

I am not able to get proper data in attachement.Can anyone suggest me which type should i use

to get the data in proper format.

i was using RAW file. I found we dont have specific Text format.

Its possible for XLS format, i need only text file to be attached.

Thanks,

Rajesh

Edited by: rajesh pattnaik on Apr 16, 2009 3:03 PM

1 REPLY 1

Former Member
0 Kudos

Hi,

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...

I did this object and it was working fine using that function module.

Hope it helps

Regrds

Mansi