Quantcast
Channel: SCN: Message List - Code Exchange
Viewing all articles
Browse latest Browse all 269

Re: [abap2xlsx] Ways to Improve Performance (and Some Installation Issues)

$
0
0

Things are evolving!

 

My application which makes heavy use of ABA2XLSX is about to go life! I had to make some more additions to the code:

 

  1. Numerous changes were necessary to please the Code Inspector. This was a requirement from my customer and is still incomplete (see below).
  2. I added ZCL_EXCEL_WRITER_HUGE_FILE, an extension of ZCL_EXCEL_WRITER_2007. The new class supports only a subset of the original but it is much faster. For a sheet containing more than a million rows, time went down from some five hours to 15 minutes. The background: Calls to CL_XML are replaced by two simple transformations. CL_XML seems to have a massive performance problem when the XML gets huge.

 

There is still on open issue: The use of CL_OBJECT_COLLECTION. The class is hidden behind an access control list. I couldn't find a package interface that exposes it "legally". The result is that a package dependency check complains about the illegal use of the class. Since the class itself is trivial, I will probably replace it by a copy inside my ZEXCEL package.

 

I plan to give the changes back to the community but I need to figure out the best way to do so.


Viewing all articles
Browse latest Browse all 269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>