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

uploading excel file into the program

Former Member
0 Likes
742

Hi,

My excel file contains four sheets inside. Each sheet contains data.

When i upload this file using Function "UPLOAD" and data format of "DAT", how is the data transferred into internal table.

How is the data in various sheets of excel file is transfered into the internal table of the ABAP program.

Thanks for the response.

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
689

I believe that you will need to use OLE in order to upload all four sheets.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
689

I cannot tell you if it's possible to transfer all 4 sheets in 1-shot, but use this function module:

TEXT_CONVERT_XLS_TO_SAP

This converts data from 1 sheet to internal table.

Read only

Former Member
0 Likes
689

Hi,

Does all the 4 sheets contain same fields..

I guess the data for fields matching the internal table would be filled up properly..

n for the remaining it doesnt get filled in proper manner..

OLE would be a better solution for this.

Regards,

Tanveer.

Please mark helpful answers

Read only

Former Member
Read only

0 Likes
689

also check this...

the Above is In OLE

Regards

vijay

Read only

Former Member
0 Likes
689

Hi Mohan,

Try Function module 'ALSM_EXCEL_TO_INTERNAL_TABLE'

Regards,

Raj