-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BIND_TABLE and autofilter #1184
Comments
Thanks for the detailed description. I'll check the issue tomorrow. For information, I'm using a ZIP comparison tool to compare the Excel file generated versus the same version after being repaired by Excel, and also to compare what exact xlsx change is done after any edit via Excel (e.g. adding filters to a table). |
Bad news, the filter feature is not implemented at all for Excel Tables (the type of tables created by
That would be great if you could implement the feature and propose a pull request. |
@sandraros |
Hello, some time ago i developed something corresponding in my ABAP2XLSX. The document contains 1 sheet- and 3 table-autofilters. You find the 3rd table if you remove the sheet autofilter in excel. Bernd |
Hi,
there is an existing report which creates an Excel file via ABAP2XLSX.
I received the requirement to add filter values when the Excel file is created.
It sounded doable as there is demo program
ZDEMO_EXCEL33
which demonstrates how to add an autofilter.The filtering was added and the Excel file created.
When opening the Excel file an error is shown.
Sorry I only have the screenshot from a system in German:
The Excel file from demo program ZDEMO_EXCEL33 could be opened without issues.
Thus I checked what differs between the reports.
I found the difference in how the data is added to the worksheet.
ZDEMO_EXCEL33 uses zcl_excel_converter->convert, the report which should be enhanced uses zcl_excel_worksheet->bind_table.
I could recreate the issue by modifying ZDEMO_EXCEL33:
When parameter nofilters is set to abap_false then an additional error is shown when opening the Excel file (Autofilter).
My assumption was that an autofilter could be added also when BIND_TABLE is used.
The errors shown when opening the Excel file point only to the XML files but unfortunately no further pointers.
I renamed the file extension to ZIP and had a look at the XML file from the error message.
But as I am no Excel XML expert I do not know how/where to look further.
Any feedback, workaround or solution are highly appreciated:-)
Best regards,
Thomas
The text was updated successfully, but these errors were encountered: