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 DATA

Former Member
0 Likes
883

Can we read data horizontally(in an excel Sheet) through a BDCprogram??

Please help me out

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
854

hi,

1) Use the function module:ALSM_EXCEL_TO_INTERNAL_TABLE.

2) specify the file location.

3) enter the row and the column where the data is starting, in the excel.

4) we can avoid the header row and column, if the excel has any header.

5) this funciton module reads the data horizontally.

Thanks

Anitha T S

6 REPLIES 6
Read only

Former Member
0 Likes
854

Hi,

we can using a functional module TEXT_CONVERT_XLS_TO_SAP which will get the data from excel into sap.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 23, 2008 5:15 PM

Read only

Former Member
0 Likes
854

Another FM.

ALSM_EXCEL_TO_INTERNAL_TABLE

This FM reads each and every Cell of Excel step by step.

A

Read only

Former Member
0 Likes
854

hi Malloc Lee ,

use function module ALSM_EXCEL_TO_INTERNAL_TABLE

it reads the data horizontally only.

<REMOVED BY MODERATOR>

Thanks and regards.

Rajeshwar.

Edited by: Alvaro Tejada Galindo on Apr 23, 2008 5:16 PM

Read only

Former Member
0 Likes
855

hi,

1) Use the function module:ALSM_EXCEL_TO_INTERNAL_TABLE.

2) specify the file location.

3) enter the row and the column where the data is starting, in the excel.

4) we can avoid the header row and column, if the excel has any header.

5) this funciton module reads the data horizontally.

Thanks

Anitha T S

Read only

Former Member
0 Likes
854

Save the excel file as a text file.

Then your progr can read it in and populate an internal table.

Read only

Former Member
0 Likes
854

Save the excel file as a text file.

Then your progr can read it in and populate an internal table.