on 2024 Aug 21 11:40 AM
Hello experts,
My requirement is to download an internal table into excel file with extension '.xls'. I have tried the below 3 ways to do it.
With these methods, i can download the file successfully. But whenever i open it, i getting a pop up message "The file format and extension of 'File.xls' don't match. The file could be corrupted or unsafe. ".
We should not get this pop-up message as bot will use the file in further process.
NOTE: I can create the file with (.xlsx) or (.csv) extension and i don't face this issue. But our clients want only in .xls format. I can try to convice them to use any other extension, but before that i would like to if it is possible to create the excel file with '.xls' extension and open it without the popup message.
I have searched to my best in the community but i got no solution for this. I can't use abap2xlsx as well.
Any suggestions will be appreciated.
Request clarification before answering.
XLS is (was) a Microsoft proprietary format, nowadays most tools use XLSX that is actually some packed file with some XML in it, among other items.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @RaymondGiuseppi, Thanks for your response. Yes, i am able to create file with '.xlsx' but facing only for '.xls'. I explained them the issue is not with SAP and related to excel. Anyhow, I will try with the OLE method once.
User | Count |
---|---|
8 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.