Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Class/methods used to read data from Excel

Former Member
0 Likes
1,138

Hi,

I need a class/method to read data from an Excel Sheet. Please help me.

Regards,

Vara

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
719

You can use function module GUI_UPLOAD to upload the excel sheet into an internal table. You could also use OLE to read the spreadsheet. Check out this weblog. Make sure to check out the link to the reference guide at the bottom.

/people/rich.heilman2/blog/2005/09/12/manipulate-excel-with-ole-abap

Regards,

Rich Heilman

Hi,

I need a class/method to read data from an Excel Sheet. Please help me.

Regards,

Vara

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
720

You can use function module GUI_UPLOAD to upload the excel sheet into an internal table. You could also use OLE to read the spreadsheet. Check out this weblog. Make sure to check out the link to the reference guide at the bottom.

/people/rich.heilman2/blog/2005/09/12/manipulate-excel-with-ole-abap

Regards,

Rich Heilman

Read only

0 Likes
719

Sorry, I should have paid closer attention to your question. If you would like to use a class/method, you can also use the method GUI_UPLOAD of the class CL_GUI_FRONTEND_SERVICES.

Regards,

Rich Heilman

Read only

0 Likes
719

that's fine. I used OLE....but I was not very sure about that...Thanks for your reply.

Regards,

vara