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: 

SAP Download to Excel2007 .Error occurs: file format is not valid

Former Member
0 Kudos

We met a problem when use BAPI EXCEL_OLE_STANDAED_DAT to generate local Microsoft excel 2007 file.

When open the generated excel 2007 file, Error occurs: file format is not valid. We do not know how to solve this trouble

3 REPLIES 3

Former Member
0 Kudos

what file extension you have used? xls should work..

0 Kudos

File extension is xls

0 Kudos

what kind of data are you going for so that you have to use this specific FM?

i mean try using other FMs if its simple data...

one more thing is check what data is being downloaded, keeping a breakpoint just before downloading.