cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Datawindow SaveAs generates large Excel file

03-27-2017 4:21 PM
630 views 0 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello,

I have a datawindow which retrieves more than 500K rows. I need to save as an excel spreadsheet. I am calling the SaveAs function - dw_1.SaveAs (ls_file, xlsx!, true).

This works, but the resulting file has a size of about 600MB. If I open the file in Excel (version 10) and then save it as a new file, the new file has a size of about 37MB.

Anyone has any idea what I am missing here? My PB version is 12.5.2 [5609]

0 Likes
View Entire Topic
Former Member
0 Likes

Sorry... I meant to type Excel 2010 and not Excel 10. It looks like Excel 2010 uses some kind of compression. I ended up writing code to open the xlsx file in excel and then saving it once again.