-
Notifications
You must be signed in to change notification settings - Fork 291
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
WRITER_2007 is not able to work with custom tables #1273
Comments
I'm not sure, it can be a problem to extend the tables of an existing workbook, abap2xlsx is better at creating from scratch. There are several ways to handle different kinds of tables. Are you using |
@sandraros thank you for your reply. Here is a sample code snippet from what I want: DATA: " Instantiates Excel reader object. " Loads data from provided xstring in /ALLEVO/CL_N_EXCEL format lo_worksheet = lo_excel->get_worksheet_by_index( iv_index = 1 ). lo_worksheet->set_table( " Save the changes to the Excel file
|
Hi @hamida-ashna, So do I get your request right:
As you mention the formatting is lost in the exported XLSX. Then you found a missing functionality in abap2xlsx. You're very welcome to contribute a fix for it. |
Hi @gregorwolf, |
Hello, everyone.
While working with WRITER_2007, I observed that it only supports built-in Excel tables and cannot handle custom tables.
Case: I worked with an Excel file that contained custom tables. After reading and modifying the data, I saved it back to the file, but noticed that all the custom table styles were removed by the writer.
Before writing the data:
After writing the data:
C_AUFNR_KSTAR_MAP3.xlsx
Does anyone have any advice?
Thanks in advance.
The text was updated successfully, but these errors were encountered: