Skip to Content
Jan 14, 2021 at 02:37 PM

Issue in ABAP Excel

1124 Views Last edit Jan 14, 2021 at 02:42 PM 2 rev

Hello Friends,

I am creating an excel file through ABAP program. I am getting a pop up - "The File format and extension of <filename>.xls don't match. The file could be corrupted or unsafe. Do you want to open it anyway?"

I an using ABAP transformation for creating excel content.

I analyzed the issue and came to know that the pop up is coming because the file format coming from excel transformation is in XML and the file is created in .XLS. But I am not able to convert XML content to XLS.

Can anyone help me in converting the XML content coming from transformation to XLS to avoid the pop up.