Skip to Content

'SAP_CONVERT_XLS_FORMAT' generates a spreadsheet with invalid format with Excel 2016


When using the FM 'SAP_CONVERT_XLS_FORMAT' to generate an excel, it works only if we are using Office 2013 or an older version.

When we tested on a workstation that has Office 2016, the excel generated has an invalid format and contains special characters only. The excel file is not readable by all Excel editions in this case.

Does 'SAP_CONVERT_XLS_FORMAT' use a local config of the current office version to generate an excel?

P.S : We replaced the 'SAP_CONVERT_XLS_FORMAT' by 'GUI_UPLOAD'. But since we use 'SAP_CONVERT_XLS_FORMAT' in so many programs, we would like to fix it instead of replacing it.


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 10, 2019 at 06:49 AM


    Please refer SAP KBA on it 2655595 - Usage of SAP_CONVERT_TO_XLS_FORMAT

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Hello @rupesh.brahmankar3,

      Thank you for sharing the SAP Note. We have made the changes specified in the KBA for the current program. However we would like to continue using this functional module since we are using in lots of programs.

      Best regards,


  • Posted on Oct 09, 2019 at 09:01 AM

    Hi Amine.

    Is it MS office 2016 64 bit? If it is yes then try to use the 32 bit of MS office 2016



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.