Generate your professional Excel spreadsheet from ABAP
Go to file
Rüdiger Plantiko 976bedb120 Reader Refact & INCOMPATIBLE remove CAN_READ_FILE
1. Removed interface method ZOF_EXCEL_READER~CAN_READ_FILE
As was suggested in the comments, the method ZIF_EXCEL_READER~CAN_READ_FILE is superfluous, as the exception ZCX_EXCEL in LOAD( ) / LOAD_FILE( ) already gives this information. 

This is an incompatible change! But it's unlikely that this method is used by many clients, as it didn't to anything useful. Also, the demo programs don't use it.

2. Switched the zip archive reader creation from the former "on demand" creation to a one-time creation in the LOAD method. Necessary for the next point:

3. Removed private attribute EXCEL2007 (which kept the input XSTRING): After generation of the zip archive, these data are not necessary any more.

4. Factored out Stefan Schmöcker's "alternate zip" concept into a local subclass: The object "zip" refers to a local class - which is either a proxy to CL_ABAP_ZIP, or creates a zip object of dynamic type and calls its GET method of a class dynamically (the "alternate zip" case).

Depending on the answer of my question 

https://github.com/ivanfemia/abap2xlsx/issues/232#issuecomment-42115340

this abstraction could be removed in a forthcoming commit as soon as it has been clarified that CL_ABAP_ZIP works as expected in all cases.

5. Further cleaning.- Removed some comments like "ToDo: Comment this" if necessary, and also some misleading comments which gave unwanted attention to a certain defect (issue 234) and the circumstances of that defect, thereby obfuscating the far more general nature of the commented code.
2014-05-07 15:19:00 +02:00
build New Daily Build 2014-03-18 10:43:04 -05:00
resources Adding test file for ZDEMO_EXCEL29 2014-01-02 11:20:08 -06:00
tools/OpenXMLValidator remove APIDoc 2013-12-26 15:20:22 -06:00
ZA2X Reader Refact & INCOMPATIBLE remove CAN_READ_FILE 2014-05-07 15:19:00 +02:00
LICENSE Add TOOLS and BUILD directories to the repository 2013-12-26 14:51:34 -06:00
README.md Update readme file 2014-02-21 11:04:49 -06:00

abap2xlsx

Generate your professional Excel spreadsheet from ABAP

For general information please refer to the blog series abap2xlsx - Generate your professional Excel spreadsheet from ABAP and the Wiki section. Please refer to the official wiki for the installation guide & F.A.Q..

Discussion Board is on SAP Community Network - Code Exchange space, once you create a new discussion please add the prefix [abap2xlsx] in the title and tag the discussion with abap2xlsx.

Bitdeli Badge