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

Read Sheet from Excel

Former Member
0 Likes
620

Hi Experts,

Can I upload an Excel Sheet other than the first sheet into an internal table? Please do guide me as to how this can be achieved.

Regards

Abdullah..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
597

hi Abdullah,

sure, you can maintain the column headings in the upload file. But, in the program, immediately after the function module execution, you need to delete the first row from the resulting internal table.

delete itab index 1.

This will delete the row with junk information( the column headings will not be properly uploaded due to the differences in the field size).

Hope this helps,

Sajan Joseph.

5 REPLIES 5
Read only

former_member188829
Active Contributor
0 Likes
597

use FM:ALSM_EXCEL_TO_INTERNAL_TABLE

Read only

Former Member
0 Likes
597

Hi ismail,

in the sense u have three sheets for example in excel and u dont wanna

upload the first sheet...only the second one..jus try the following...

click on the second sheet..save it again(jus ctrl s) and close..

try opening it again..it opens as sheet2 which is ready for upload...

in the sense xcel when closed and saved as a second sheet open..however

wud process the contents of second sheet only...

hope this helps u a bit,

all the best,

regards,

sampath

  • mark helpful answers

Read only

0 Likes
597

If I use tab delimited file can I have a heading for the users to understand the columns.

Regards

Read only

Former Member
0 Likes
598

hi Abdullah,

sure, you can maintain the column headings in the upload file. But, in the program, immediately after the function module execution, you need to delete the first row from the resulting internal table.

delete itab index 1.

This will delete the row with junk information( the column headings will not be properly uploaded due to the differences in the field size).

Hope this helps,

Sajan Joseph.

Read only

0 Likes
597

Hi Sajan,

I meant to have a heading in the tab delimited file before uploading. Is that possible?

Regards