Skip to Content
Former Member
Jan 27, 2010 at 07:07 PM

CSV file as an attachment is not in the recognizable format


Hi All,

I have a requirement to send a csv file as an e-mail attachment. For this, I am collecting the required data into the final internal table and converted this final internal table data into CSV format and then sending this in the mail as csv file attachment using the functiona module 'SO_NEW_DOCUMENT_ATT_SEND_API1'. Program is working fine and mail is coming to receiver's inbox.

Well.. Now the problem is, I am getting the message while opening the csv file as "The file is not in a recognizable format." and if we say OK... then it is opening. Now how can we avoid coming of this message while opening the file.

Please advice.

Thanks a lot in advance.