abapx2xlsx Sap inside track chicago 2011

  • 2,700 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,700
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. abap2xlsx
    Generate your professional Excel spreadsheet from ABAP
    Ivan Femia
    SCN Active Member
    @IvanFemia
    Date: July 2011
  • 2. Agenda
    2
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 3. Agenda
    3
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 4. 4
    Mr. abap2xlsx ID
    abap2xlsx
    Community Driven project for happier users
    Birthday
    July, 12th 2010
    Numbers
    most viewed SDN blog of 2010
    most popular project on SAP Code Exchange
    more than 2,500 downloads
    more than 150 project members
    9 active developers
    Address
    Code Exchange at https://cw.sdn.sap.com/cw/groups/abap2xlsx
    Standard
    Open XML supported by MS Excel 2007, MS Excel 2010, LibreOffice, Open Office and many others
  • 5. The goal
    5
    Improving ABAP capabilities to create and read rich .xlsx files
  • 6. “you know, to work I use this Excel but now we need to upload it into the system…”
    Some days later…
    “well Ivan, you know, to work I need to download from the system an Excel like this…”
    The problemspace
    6
  • 7. The result
    7
    Wow
  • 8. The result
    8
    “Ivan, you know, everyday the system has also to eMail the Excel to each recipient and let them download an fresh version from our portal”
    “before going home, Ivan remember that recipients need also to update the Excel and send it back to the system…”
    “he’s a bit crazy, when he can’t do his simple job, he begin speaking alone. He believes in a community…”
    “I have to say him everything to do but he’s not a bad guy”
  • 9. Agenda
    9
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 10. Standard solution
    10
    Most of the standard SAP components (such as ABAP ALV, WebDynpro ALV, System menu, etc.) provide the option to export data in MS Excel 2003 or in many other MS Excel compatible file formats (csv, plain text, mhtml and so on).
    What are the limits?
    • Depend on SAP GUI or Web Dynpro
    • 11. Are not available for example in case you want to send it as email attachment or in a batch process.
    • 12. Have a no professional Look and Feel
  • Custom solution
    11
    To avoid some limitations and create spreadsheet with a professional look and feel SAP Mentor Sergio Ferrari proposed in 2006 a great trick: create an HTML file and open in Excel.
    What are the limits again?
    • Only one sheet for each workbook
    • 13. No conditional formatting
    • 14. HTML extension is not associated by default with MS Excel
    • 15. No advanced features
  • Custom solution
    12
    Community was really active, SDN contributors began to create workbooks using the OLE Object technology; this was a good approach with great results, but…
    What are the limits?
    • SAPGui dependent
    • 16. Cannot be used in a no dialog process
    • 17. Cannot send as email attachment (without some dirty trick)
    • 18. Is platform dependent
  • Export data AS-IS
    13
    Which one do you prefer?
  • 19. New frontiers
    14
    I prefer this one!
    abap2xlsx inside – full optional – unlimited miles
  • 20. Agenda
    15
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 21. Old scenario
    16
    Request an export
    It is so difficult to analyze the data
    User reaction
  • 22. abap2xlsx scenario
    17
    Request an Excel
    Green light!
    I can get my bonus this year!
    User reaction
  • 23. abap2xls solution
    18
    On June 2010 I had an idea; use ABAP to create Excel from scratch based on Open XML standard.
    Basically abap2xlsx is a powerfull ABAP framework that creates pure Excel files directly from ABAP without any plugin.
  • 24. Open XML was developed by Microsoft starting from 2000 and has been standardized in 2006 by Ecma International (as ECMA-376) and in 2008 by ISO and IEC (ISO/IEC 29500).
    In Microsoft Office 2007 Suite, Open XML become the default file format for all documents (Excel, Word, Power Point).
    Open XML
    19
  • 25. Open XML
    20
    An Office Open XML file is a ZIP-compatible OPC package containing XML documents and other resources. That is, one can see the contents of an OOXML file, for example by renaming it to a .zip file and opening it with any zip tool. The actual .xml files can then be viewed in a web browser or a plain text editor.
  • 26. Agenda
    21
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 27. Compare tecnologies
    22
    SCN Olympic Games
    2011
  • 28. CSV Properties
    23
  • 29. HTML & MHTML Properties
    24
    Font styles
    Formulas
    Images
    Column merge
    Cell style
    External Hyperlinks
    Row merge
    Text alignment
  • 30. OLE Properties
    25
    Internal Hyperlinks
    Font styles
    Hide/Show cell labels
    Formulas
    Iconset
    Sheet protection
    Data validation
    Page layout
    Images
    Multi sheets
    Column merge
    Table totals
    Hide zeros
    Conditional formatting
    Cell style
    Print settings
    Column hide
    External Hyperlinks
    Freezing panes
    Sheet hiding
    Row height
    Row merge
    Cell lock
    Workbook protection
    Cell format
    Column size
    Gridlines control
    Password protection
    Text alignment
    Ranges
    Row hide
    Shrink text
    Table style
    Table auto filter
  • 31. abap2xlsx properties
    26
    Internal Hyperlinks
    Font styles
    Hide/Show cell labels
    Formulas
    Iconset
    Export in XLSM
    RGB Colors
    Sheet protection
    Table binding
    Data validation
    SU01 proprerties
    Page layout
    Images
    Multi sheets
    Column merge
    Table totals
    Hide zeros
    Conditional formatting
    Cell style
    Print settings
    Column hide
    Batch support
    External Hyperlinks
    i8n compliant
    Freezing panes
    Sheet hiding
    Row height
    Row merge
    Visual Basic for Application
    Cell lock
    Workbook protection
    Cell format
    Column size
    Gridlines control
    Password protection
    Text alignment
    XLSX Reader
    Ranges
    DDIC Field Label
    Color tynts
    Row hide
    Shrink text
    Table style
    Export in CSV
    Table auto filter
  • 32. Final result
    27
    CSV
    OLE
    abap2xlsx
    MHTML
  • 33. Demo time
    28
    abap2xlsx
    Demo time
  • 34. Agenda
    29
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 35. Orchestration
    30
    Is abap2xls ready for orchestration?
  • 36. On Premise
    Orchestration
    31
    Ok serious! Is abap2xls ready for orchestration?
    Orchestration
    On Demand
    On Device
  • 37. Orchestration
    32
    Orchestration
    On Premise
    On Demand
    On Device
  • 38. Orchestration
    33
    abap2xlsx
    SAPGui
    NetWeaver Business Client
  • 39. Orchestration
    34
    Orchestration
    On Premise
    On Demand
    On Device
  • 40. Orchestration
    35
    RESTful Web Service
  • 41. Orchestration
    36
    Orchestration
    On Premise
    On Demand
    On Device
  • 42. Orchestration
    37
  • 43. Agenda
    38
    Introduction
    Export data AS-IS
    Standard solution
    Custom solution
    abap2xlsx solution
    Why abap2xlsx?
    Orchestration
    abap2xlsx on Code Exchange
    References
  • 44. Informations: Download, Install and Learn
    39
    abap2xlsx is the leading project on SAP Code Exchange platform
    It has more than 150 active members and 9 contributors
    It is free and it is released under SAP NetWeaver Developer License Agreement (NDLA)
    Stable releases are distributed as nugg file (SAPLink) and Transport Request
    There are about 30 demos available to test and learn abap2xlsx
  • 45. Code Exchange
    40
    abap2xlsx
    on code exchange
    live
  • 46. References
    41
    Open XML definition
    http://en.wikipedia.org/wiki/Office_Open_XML
    Standard ECMA-376
    http://www.ecma-international.org/publications/standards/Ecma-376.htm
    Standard ISO/IEC 29500-1:2008
    http://www.iso.org/iso/catalogue_detail?csnumber=51463
    abap2xlsx SDN related blogs
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/u/251856298
    • abap2xlsx Code Exchange project
    https://cw.sdn.sap.com/cw/groups/abap2xlsx
  • 47. All rights reserved
    42