ABAP ALV grid export to Excel 2007?

Posted on 2014-12-11
Medium Priority
Last Modified: 2015-01-08
I need to export an internal table to an Excel 2007 spreadsheet using abap.   The report is a scheduled report run in background.  All I need formatted are the column names which are in bold.  What would be the best way to achieve this?  Code example would be helpful.
Question by:esemmoc
LVL 35

Accepted Solution

Rob Henson earned 2000 total points
ID: 40495887
I haven't used SAP for a couple of years but if I recall correctly when setting the parameters for running the report in background there was an option for saving it to a network drive or send it to a recipient; that option might have gone to the SAP inbox rather than e-mail.

Alternatively when you pull up the report from the spool (transaction SM37 or SP01 ??) you can export it. Again if I recall the report displayed may be limited to a certain number of pages so you have to show the whole report first.

If you want the whole data table, you may be able to use transaction SE16 to display the table. Places that I have worked before have restricted access to the raw data tables, eventhough it is a view only option.

Rob H

Author Comment

ID: 40497216
I appreciate the suggestions and will look into them.  I also came across an open source code called abap2xlsx and was wondering if anyone had heard of it and had used it before.
LVL 52

Expert Comment

by:Martin Liss
ID: 40537500
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Live webcast with Pinal Dave

Pinal Dave will teach you tricks to help identify the real root cause of database problems rather than red herrings. Attendees will learn scripts that they can use in their environment to immediately figure out their performance Blame Shifters and fix them quickly.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
I tried to use the SharePoint app to Import a Spreadsheet and import an Excel sheet into a Team site made in SharePoint 2016. But that just resulted in getting an error message 'Unknown Error'...
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question