Skip to Content


Just two months ago I presented to SDN Community my open source project abap2xlsx – Generate your professional Excel spreadsheet from ABAP. With this blog I would like to announce you the release of xlsx2abap and abap2xlsx v2.0.

I’m very happy of the Community reaction to this project that gives me the power to quickly go on and extend my abap2xlsx and create the new xlsx2abap.

This cannot be real without the active contribution of some SDN community members: Gregor Wolf, Tomek Mackowski and Alvaro Tejada Galindo. Thank you guys!

So coming to the project what’s new?

Let’s start with xlsx2abap our first release of Excel xlsx file reader, it is capable to load an xlsx file and convert it into an ABAP object ready to be edited. The ABAP object is the same used by abap2xlsx so now you can read à edit à save your Excel file from ABAP. Is really cool!!!!

This first release limits the data load only to data, styles and other stuff will be included in next releases.

Many improvements are also done to the original project abap2xlsx in order to fulfill the community requests:

  • New automatic itab table binding, using the new Excel 2007 table style and field catalog
  • Cell horizontal alignment (center, normal, left, right)
  • Column merge
  • Column and row size
  • Column and row hiding
  • Support to different data type formatting (string, number, date and time)
  • OXML output compliant
  • Fix minor bugs and code improvements

And what’s next?

We are working hard in order to move our project into the new SDN Code Exchange (Public availability of Code Exchange for SAP TechEd 2010).

Currently we are looking for the next features to include in the next release such as:

  • Worksheet, Sheet and Cell protection
  • More style options (i.e. Rotation, Vertical alignment)
  • Sheet printing settings
  • Page layout settings
  • Hyperlinks
  • Pivot tables
  • Freezing panes
  • Locking columns and rows for scrolling
  • Read styles from an input file
  • …and…

A survey is active on this Wave,  your opinion is really appreciated.

Related post:

Follow #abap2xlsx news also on Twitter @IvanFemia

To report this post you need to login first.


You must be Logged on to comment or reply to a post.

  1. Chris Paine
    When I tell some of the people I work with that using these tools in combination with the Web Dynpro Office UI element it will allow them to display and edit SAP data in realtime in Excel, some of them are going to wet themselves with excitement!

    The possibilities that being able to both read and write to a commonly used and well formatted file format are huge.

    You guys have done amazingly well! Huge kudos!

    1. Gregor Wolf

      Dear Bernhard,

      SAP will migrate the 23 most active projects to a public repository. The active contributors will get a real developer license and I think we will put abap2xlsx under the Apache 2.0 license.

      Best regards


    1. Ivan Femia Post author


      watermarks are not yet available.

      You can implement this feature and propose it at in order to include it in the next release.


  2. Kenneth Moore

    Hello Ivan,

    Is it possible to copy a worksheet from several other spreadsheets and insert into another one?  For example, I have 5 spreadsheets with one worksheet each.  I want to create one large spreadsheet by copying those and inserting 5 new worksheets into one spreadsheet.

    1. Ivan Femia Post author

      HI Kenneth,

      yes it is possible. If you look at the demos you’ll figure out that it is pretty simple depending on the complexity of the workbooks.

  3. tom dupond


    The header and footer not correctly managed… Drawing a picture in the header not possible, loeading existing file does not take into account the header and footer…

    Best Reagards,


    1. Ivan Femia Post author

      This functionality, as already mentioned on GitHub, is not yet implemented.

      If you want you can open a request in GitHub, as proposed by Gregor, and request for it or, even better, fork the GitHub project and propose an implementation.



  4. Bruno Esperança

    Hi all,

    Maybe I’m going blind but I can’t find XLSX2ABAP anywhere?

    Just to be clear, I want to upload an excel file INTO sap.


    Kind regards,


      1. Bruno Esperança

        Hi Ivan,

        Ok, I think I got it. Is it the class ZCL_EXCEL_READER_2007 and related classes?

        It’s not meant to read normal .xls, is it?

        Thanks so much, sorry for the silly questions.

        Kind regards,



Leave a Reply