Commit Graph

939 Commits

Author SHA1 Message Date
Lars Hvam
1c2607f655
move ZEXCEL_TR_DOCPROPS_CORE to demos (#1165) 2023-12-24 20:28:06 +01:00
Lars Hvam
a6176d7f17
replace use of REFFIELD (#1154) 2023-11-05 11:21:52 +01:00
Lars Hvam
bcec07b41a
fix syntax warning (#1155) 2023-11-05 11:18:36 +01:00
larsip
c1a20e870b
Convert currency amount to external format (#1147)
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
2023-11-04 17:09:11 +01:00
Arno
ccda3a0aa8
read all header/footer (odd/even) elements (#1144)
Previously only the "oddFooter" was read and stored. Read the missing elements as well.
2023-10-29 19:09:30 +01:00
Daniel Wegner
cf8bb2c501
add iv_end_row to convert_to_table (#1148)
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2023-10-29 18:29:51 +01:00
sandraros
d30855345c
XML I18N_LANGS/DD02_TEXTS - ZEXCEL_S_FIELDCATALOG (#1149)
New XML added by abapGit while serializing the DDIC structure ZEXCEL_S_FIELDCATALOG:
  <I18N_LANGS>
    <LANGU>1</LANGU>
    ...
  </I18N_LANGS>
  <DD02_TEXTS>
    <item>
     <DDLANGUAGE>1</DDLANGUAGE>
     <DDTEXT>Fieldcatalog for Table Binding</DDTEXT>
    </item>
    ...
  </DD02_TEXTS>
2023-10-29 18:11:02 +01:00
Lars Hvam
2f970b82a1
abaplint: update msag_consistency rule settings (#1142)
to not require numeric parameters
2023-10-01 17:33:07 +02:00
Matthias
4d33c4e20e
Fix CSV Export with date and time in excel format (#1140)
* solving issue #1134
* changes after testing
* CSV export - Dateretention of cellstyles - fix issue #1134
* undo previous changes for issue #1134
2023-09-30 14:07:30 +02:00
sandraros
ec32e7ade4
ZCX_EXCEL diff <SOTS_USE> due to new abapGit (#1141)
Pull of latest abap2xlsx via latest abapGit still shows a diff on ZCX_EXCEL. The abapGit serialization adds an extra <SOTS_USE> block.
2023-09-30 11:17:07 +02:00
Domi Bigl
c28162d1d1
add escape of - (#1128)
* add escape of -

* add untitests

* replace inline data declaration
2023-08-04 14:57:02 +02:00
Lars Hvam
425b6a2b7d
add basic unit test for style changer (#1123)
* add basic unit test for style changer

* xml

* revert
2023-07-28 07:02:16 +02:00
Lars Hvam
ac78cd87d2
split unit test delete_merge (#1121)
* split unit test delete_merge

into one unit test per test

* add unit test get_rows_iterator
2023-07-28 07:00:11 +02:00
Matthias
1fe298d5be
Update zcl_excel_converter_salv_table.clas.abap (#1120)
fix issue #1119
2023-07-10 14:07:26 +02:00
Domi Bigl
2b01655cab
do not use NO-ZERO for none numeric cell values (#1100) 2023-05-26 07:47:59 +02:00
sandraros
829529cf6a
don't run SALV get_metadata if not displayed yet (#1109)
fix #1097

* don't run SALV get_metadata if not displayed yet

---------

Co-authored-by: Sandra Rossi <sandraros@gmail.com>
2023-05-08 20:18:18 +02:00
sandraros
869dc52e40
Escape/unescape control characters in writer/reader (#1099)
* Escape/unescape control characters

Fix #1098

---------

Co-authored-by: sandraros <sandra.rossi@gmail.com>
2023-04-21 17:51:25 +02:00
Lars Hvam
04b143ca2e
zcl_excel_theme_fmt_scheme, replace use of cl_xml_document (#1046)
* zcl_excel_theme_fmt_scheme, add unit test

* replace use of cl_xml_document

---------

Co-authored-by: Abo <andrea@borgia.bo.it>
2023-04-08 16:36:04 +02:00
Abo
530d9e207a
replace quit-no with older name for constant (#1088)
ABAP Unit parameter Quit constant for "no" valid in versions 7.31+ is IF_AUNIT_CONSTANTS=>NO
2023-02-04 17:18:33 +01:00
Abo
e0c4fade08
fix code template generation to work on 731 (#1086)
* Update zexcel_template_get_types.prog.abap: fix code template generation to work on 731

* Update README.md: added minimum version support
2023-02-04 16:52:29 +01:00
Enno
8b729bb01a
link for demos (#1084) 2023-02-04 15:24:32 +01:00
Rüdiger Plantiko
bd8105f800
Update zcl_excel_worksheet.clas.testclasses.abap (#1082)
Replacing IF_ABAP_UNIT_CONSTANT by IF_AUNIT_CONSTANTS, as proposed by @sandraros
2023-01-28 21:18:04 +01:00
Domi Bigl
34a8ed4865
use INSERT for sorted ITab (#1066) 2023-01-14 12:18:30 +01:00
Domi Bigl
684c8f71e0
get INT8 typekind dynamic (#1065) 2022-11-20 20:44:47 +01:00
Rahul Dwivedi
df9db3d55c
zcl_excel_writer- create_xl_sheet Refactor1 (#1069) 2022-10-27 20:10:38 +02:00
sandraros
d9f557ea75
XML changes after latest abapGit (#1071)
Latest abapGit version did a cleanup of useless elements /DESCRIPTIONS/SEOCOMPOTX/CLSNAME because it's duplicate information.

<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_CLAS" serializer_version="v1.0.0">
 <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
  <asx:values>
   <VSEOCLASS>
    <CLSNAME>ZCL_EXCEL_WRITER_2007</CLSNAME>
    <LANGU>E</LANGU>
    <DESCRIPT>Excel writer 2007</DESCRIPT>
    <STATE>1</STATE>
    <CLSCCINCL>X</CLSCCINCL>
    <FIXPT>X</FIXPT>
    <UNICODE>X</UNICODE>
    <WITH_UNIT_TESTS>X</WITH_UNIT_TESTS>
   </VSEOCLASS>
   <DESCRIPTIONS>
    <SEOCOMPOTX>
     <CLSNAME>ZCL_EXCEL_WRITER_2007</CLSNAME>  <============= Removed
     <CMPNAME>ADD_FURTHER_DATA_TO_ZIP</CMPNAME>
     <LANGU>E</LANGU>
     <DESCRIPT>Add further data to zip ( used by child-classes )</DESCRIPT>

Co-authored-by: sandraros <sandra.rossi@gmail.com>
2022-10-23 21:22:30 +02:00
Derby
90981b21c5
add METHOD convert_to_table. (#999)
* added METHOD convert_to_table.

Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Domi Bigl <dominik.bigl@cadaxo.com>
2022-08-29 18:04:16 +02:00
Abo
eb7d8da540
Update publishing-a-new-release.md (#1057)
ideally we shoudl run ZDEMO_EXCEL_CHECKER during the review process of each PR for both the main library and the demos, but as a safety net also before releasing a new version
2022-08-22 10:18:28 +02:00
Abo
4f3d113a43
Update guidelines for demos (#1055) 2022-08-15 18:02:03 +02:00
Abo
9d318a1bc2
Update publishing-a-new-release.md (#1054)
* Update publishing-a-new-release.md

- noted that tags should be created when working from upstream repository (they do not come via PR from outside, only from local branches apparently)
- added note regarding previous tag for auto-generation of release notes

* Remaining occurrence 15 → 16

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-08-15 11:11:58 +02:00
Abo
ef47a724e7
Release 7.16.0 (#1053)
* location and name of version tag

* bump version to 7.16.0
2022-08-13 12:53:35 +02:00
Domi Bigl
bca6db91c3
enable 255 cell header with table binding (#1051)
* 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>
2022-08-07 15:56:26 +02:00
Abo
c6e5ad6ee6
adopt default style when setting format for date / time (#1025)
* 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>
2022-07-16 19:38:46 +02:00
sandraros
4ab5bbe961
ZABAPGIT_STANDALONE instea of ZABAPGIT_FULL (#1047)
[abapGit instructions](https://docs.abapgit.org/guide-install.html) say `create a new report named ZABAPGIT_STANDALONE (formerly ZABAPGIT_FULL)`
2022-07-15 09:33:39 +02:00
sandraros
11b47ec222
endless loop in bind_table (#1044)
Fix #1043

* endless loop in bind_table
* Handle more than 100 identical texts
* correct typos in comments

Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-07-13 20:28:07 +02:00
Domi Bigl
000b7cf797
fixe column freeze error (#1042)
use lv_freeze_cell_column to column freeze instead of lv_freeze_cell_row
2022-07-02 10:39:46 +02:00
Lars Hvam
09c1eb027b
replace use of TABFDPOS (#1034)
uses LIKE instead

Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-06-16 11:34:38 +02:00
Lars Hvam
a0f28d9f54
update abaplint configuration (#1033)
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-06-16 11:18:47 +02:00
Lars Hvam
d161a757a7
replace use of DTEL FIELDNAME (#1035)
adds new custom DTEL ZEXCEL_FIELDNAME

Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-06-16 11:17:23 +02:00
Lars Hvam
b04f6d3c17
replace use of ixml_iid_element (#1036)
use of typegroup IXML is not permitted in Steampunk

#632
2022-06-16 11:15:01 +02:00
Abo
781edaf1d6
Remove apack (#1029)
* remove ZCL_EXCEL_APACK

* remove changelog.txt

* remove .apack-manifest.xml

* Update publishing-a-new-release.md
2022-05-28 12:41:58 +02:00
sandraros
e4141e977b
Create publishing-a-new-release.md (#966)
* Create publishing-a-new-release.md

Co-authored-by: Abo <andrea@borgia.bo.it>
2022-05-21 12:37:50 +02:00
pksingh78
ffbc9153bb
ReplacePass by value with reference-1 (#1028)
#1012-1
2022-05-19 13:25:48 +02:00
pksingh78
b669bdf893
Replace Pass by value with reference (#1027)
#1012
2022-05-19 11:47:35 +02:00
Lars Hvam
a1053e84e1
add steampunk linting setup (#925)
* add steampunk linting setup

* Update abaplint-app.json

* update to 2202 api

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-05-16 08:35:27 +02:00
Abo
387d8b103c
remove unused subpackage definition (#1024)
( hopefully last cleanup for #861 )
2022-05-09 08:55:53 +02:00
Tom Schmelzer
d2a1301329
docs: add missing full stop (#1023) 2022-04-28 11:27:24 +02:00
Gregor Wolf
177f30326c
replace pass by value with pass by reference (#1022) 2022-04-27 11:56:37 +02:00
Gregor Wolf
7b7984373c
Fix #1011 exception ZCX_EXCEL is not caught (#1016)
* Fix #1011 exception ZCX_EXCEL is not caught

* fix uncaught exception in test class

* activate uncaught_exception check

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-04-23 13:33:56 +02:00
Abo
46e234cd94
finish moving demo-related files (delete from old) (#1009) 2022-04-20 20:32:34 +02:00