cancel
Showing results for 
Search instead for 
Did you mean: 

tab delimited XLS file attached to an email - 'recognizable format'

Former Member
0 Kudos

The customer wants a tab delimited XLS file attached to an email. I have used the classes cl_bcs,cl_document_bcs

cl_gbt_multirelated_services and function SO_DOCUMENT_SEND_API1 to send the XLS file. At this time, I am able to view the contents of the file. However, I keep on getting the message 'The file is not in a recognizable format' before opening the file in excel.Any suggestion?

Fyi.. This message occurs with all versions of excel.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chris,

There is an SAP Note that needs to be implemented to fix this error ( sorry I didn't have the note number at the moment ). But here is the solution...

Change the entry in the table TSCOPE for the entry FILE_EXT = XLS, the ASCII_TYPE for this entry should be X.

It worked for me

Regards,

Trikanth Basetty

Former Member
0 Kudos

Trikanth,

Thanks for the help... Your fix did it!!

Chris

0 Kudos

Hi Trikanth,

I am using ECC6. , there is no table called TSCOPE. where to fix it.

Thanks,

Balamurugan.R

0 Kudos

Hi Chris,

I am using ECC6. , there is no table called TSCOPE. How to fix the problem.

Thanks,

Balamurugan.R

Former Member
0 Kudos

Hi!

Check Note 1151258 - Error when sending Excel attachments

This will help!

Csaba

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you change the extention name the you will get the message.

Anil

markus_doehr2
Active Contributor
0 Kudos

Try to rename the file as "csv" and try again.

Markus