* Convert fields with date
Ignore decimals when converting to date and ignore integer when converting to time
Fix#1132
* New ip_exact parameter of excel_string_to_date
- I'm not comfortable about changing the logic in `excel_string_to_date`, in case other people have implemented a "-1 day" fix after the call, so I added a parameter `ip_exact` to keep an ascending compatibility.
- I reused the old structure of unit tests to simplify the diff
- fix#1205 (I added this time issue that you fixed, the original issue mentioned only the date issue)
---------
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Fix#1145
* Convert currency amount to external format
Fetching currency reference field from ALV and use the value from this field convert the value to external format
* Missing field catalog update
* Little changes proposed
* Code best positioned, delete unused declaration
Latest changes proposed by darnoc312
* add column_name to fcat and link cell to table
add column_name char 255 to table fieldcat - this is used as table name and cell value
link cell to table and fieldcat
* update fieldcat by cell value change
* fix linter errors
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
* fix linter errors
* fix linter errors
* undo PP
* undo PP
* undo PP
* fix colname for totals functions
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
* first draft
must check cloning vs uuid assignment, it works but I'm not convinced this is correct
* remove unused class attribute
* fixed unrelated typo
* fixed linter complaints and revised changes
* Delete zexcel_t_sheet_style.ttyp.xml
* Delete zexcel_s_sheet_style.tabl.xml
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
* Refactor headings logic in BIND_TABLE
to help proposing a change for #764
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
* change REFRESH to CLEAR
and remve REFRESH if the variable is always empty
* more refresh
* enable REFRESH obsolete rule
* another
* last two
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Detect commented code
* Update abaplint.json
Co-authored-by: Lars Hvam <larshp@hotmail.com>
* first batch of modifications
* Last batch of modifications
* Last batch of modifications (again)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
* Fix: after BIND_TABLE no columns in object
* fix 4 methods get_{rows|columns}[_iterator]
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: John Doe <sandra.rossi@accenture.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
* + change_area_style
New method change_area_style as combination of change_cell_style and set_area_style
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
* Add exeption handling
* Lint fixes
* Revert back keywords -> upper case
(test classes of zcl_excel_worksheet)
* revert pretty print->diff shows only excp handl
proposing to create a different pull request with only pretty print
* proposing tiny fixes
1) a few alignment fixes
2) ls_message renamed to lv_message
3) message ... type 'E' -> message ... type 'I' display like 'E' to avoid short dumps
Co-authored-by: John Doe <sandra.rossi@accenture.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Final modifications - All good
* Lint 7.02 + reader huge was forgotten
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: sandraros <sandraros@gmail.com>
These lines are added to method SET_CELL of ZCL_EXCEL_WORKSHEET:
IF lv_value CS '_x'.
" Issue #761 value "_x0041_" rendered as "A".
" "_x...._", where "." is 0-9 a-f or A-F (case insensitive), is an internal value in sharedStrings.xml
" that Excel uses to store special characters, it's interpreted like Unicode character U+....
" for instance "_x0041_" is U+0041 which is "A".
" To not interpret such text, the first underscore is replaced with "_x005f_".
" The value "_x0041_" is to be stored internally "_x005f_x0041_" so that it's rendered like "_x0041_".
" Note that REGEX is time consuming, it's why "CS" is used above to improve the performance.
REPLACE ALL OCCURRENCES OF REGEX '_(x[0-9a-fA-F]{4}_)' IN lv_value WITH '_x005f_$1' RESPECTING CASE.
ENDIF.
Co-authored-by: sandraros <sandra.rossi@gmail.com>