Skip to Content
author's profile photo Former Member
Former Member

download data to excel2007

Hi, everyone:

How to download data of an internal table to excel2007 with extension .XLSX ?

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2011 at 09:19 AM

    You can use abap2xlsx.

    This community project is shared on SAP Code Exchange.

    Here is the link.

    [/people/community.user/blog/2010/07/12/abap2xlsx--generate-your-professional-excel-spreadsheet-from-abap|/people/community.user/blog/2010/07/12/abap2xlsx--generate-your-professional-excel-spreadsheet-from-abap]

    [https://cw.sdn.sap.com/cw/groups/abap2xlsx|https://cw.sdn.sap.com/cw/groups/abap2xlsx]

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2011 at 10:50 AM

    HI...

    To download Data from Internal Table you have to go in debugging mode. If the the debugger is in Classic mode then its perfect otherwise change the debugger to classic mode( Debugger=>Switch to classic mode).

    In the top you will find a button for Table, Click on the Table button.

    Now after that double click on the internal table from ur program of which you want to download data.

    Above Breakpoints button you will found a small green button having a right arrow sign, Just click on that.

    Enter the path where you want to download ur Excel sheet and hit enter.

    The file will be downloaded.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 23, 2011 at 11:18 AM

    If you are using classic report from the output > goto-> system Menum> List-> save--> local file there you can select spread sheet and download.

    from the ALV just select Export button in the ALV toolbar > to spread sheet> Table radio button -->Microsoft Excel

    Or else you can do it in debugging also by selecting the internal table and excel and then select the format 2003-2007 format.

    Hope this helps,

    Thanks ,

    Bhargav

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 23, 2011 at 11:53 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 27, 2011 at 08:00 AM

    Hi Donnie126,

    Did you check the link i gave about abap2xlsx?

    It is a separate program/library which can export data from SAP to Excel 2007 format.

    Gui_download produce plain text files, whose extension can be set to xls so that the file opens directly in excel.

    However, this does not mean that file format is excel.

    OLE technique can be used to create .xls format files.

    .xlsx is newer format which is probably not yet supported by OLE.

    Abap2xlsx is a third-party solution which creates true xlsx files from SAP.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.