Solved

ABAP ALV grid export to Excel 2007?

Posted on 2014-12-11
4
589 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 33

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 48

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

624 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