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: 

Error when sending excel as email attachment

Former Member
0 Kudos

Hi All,

I am sending excel document as email attachment through F.M. SO_DOCUMENT_SEND_API1. I am getting the attachment but when i open it, it is giving error "The file is not in recognizable format....."

Please let me know how can i solve this problem.

Regards,

Saba

4 REPLIES 4

Former Member
0 Kudos

Hi,

Try this

[https://forums.sdn.sap.com/click.jspa?searchID=16885359&messageID=6180006]

Regards,

Surinder

0 Kudos

Hi Surinder,

Thanks for the link but the problem mentioned in the above link is different from the one I am facing.

I am getting the complete data but the only thing is whnever i open that file it gives the msg "The file is not in recognizable format..." and whn i click 'OK' I could see the data in it.

Could u pls tell how can we get rid of that error?

Regards,

Saba

Former Member
0 Kudos

Hi Saba,

Check this link I think will surely help.

[http://www.sap-img.com/abap/sending-email-with-attachment.htm]

Regards,

Amit.

0 Kudos

Hi Amit,

The file is already created just that I get error whenever i open the excel file.

How to get rid of that msg...any idea???

Regards,

Saba