Solved

ABAP ALV grid export to Excel 2007?

Posted on 2014-12-11
4
421 Views
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.
0
Comment
Question by:esemmoc
4 Comments
 
LVL 32

Accepted Solution

by:
Rob Henson earned 500 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.

Thanks
Rob H
0
 

Author Comment

by:esemmoc
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.
0
 
LVL 46

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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now