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

upload data from excel to internal table

Former Member
0 Likes
1,411

hi everyone, I need a help in developing a code for retrieving data from excel file to internal table without header where I create a internal table in the report itself. kindly help me with this. searched for all similar examples but couldn't get clear on.

hi everyone, I need a help in developing a code for retrieving data from excel file to internal table without header where I create a internal table in the report itself. kindly help me with this. searched for all similar examples but couldn't get clear on.

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
1,299

Impossible. You didn't search well, the question has been asked and answered so many times... You'll get as many answers as all the threads you have read, so you'd just try the first answer you have found, then the second, etc.

abap2xlsx (which works in both directions)

Read only

0 Likes
1,299

Hi Karon,

Please find the Attached code which will help you to upload excel and get the excel data to internal table.

Hope it helps.

Regards

Sri Ramexcel-code.txt

Read only

1,299

Solution based on ALSM_EXCEL_TO_INTERNAL_TABLE.

See consulting note 933420 - ALSM_EXCEL_TO_INTERNAL_TABLE:

  • The module is not released for customers
  • The module is only available in a SAP_APPL system (ECC, S/4)
  • The output structure is limited to 9999 rows and columns
  • The output structure is limited to 50 characters per cell.

and is based on OLE, so:

  • Is slow
  • Doesn't work in background