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

EXCEL to internal table Function Module for large amounts of data

0 Likes
2,715

I'm looking for a function module that supports large amounts of data. My excel file can consist of up to 15000 records that i want uploaded into an internal table that i will work later with. The only FM i am aware of is 'ALSM_EXCEL_TO_INTERNAL_TABLE', but with that i am able to import up to 100 records at a time, only. Alternatively, i could call it in a loop maybe to fill out my whole table multiple times, but is there another FM i could use?

I'm looking for a function module that supports large amounts of data. My excel file can consist of up to 15000 records that i want uploaded into an internal table that i will work later with. The only FM i am aware of is 'ALSM_EXCEL_TO_INTERNAL_TABLE', but with that i am able to import up to 100 records at a time, only. Alternatively, i could call it in a loop maybe to fill out my whole table multiple times, but is there another FM i could use?

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
2,232

Use abap2xlsx to generate your professional Excel spreadsheets from ABAP.

Read only

MateuszAdamus
Active Contributor
2,232

Hello underfree22

There is an ABAP2XLSX library which I strongly recommend. You can get it from here: https://github.com/sapmentors/abap2xlsx

And here is an article about reading large Excel files: https://blogs.sap.com/2014/01/27/a-way-of-reading-huge-excel-files/

Kind regards,
Mateusz
Read only

Patrick_vN
Active Contributor
2,232

What Sandra said, though recently I saw a construction where they saved the XLS as XML and then uploaded the XML and used STRANS to convert it to an internal table. I didn't try, but the developer claimed that it was more performant for "laaarge" XLS files.

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,232

Precision: I meant "generate and read", abap2xlsx works in both directions.