‎2006 Sep 28 10:32 AM
I am using the function module
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = P_FILE1
i_begin_col = 1
i_begin_row = 1
i_end_col = 22
i_end_row = 65536
TABLES
intern = t_excel
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
And passing the parameters as shown . My excel sheet has 22 columns . It is not reading last record .
‎2006 Sep 28 10:34 AM
Hi
Check out if this function module meets what you need.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_field_seperator = 'X'
I_LINE_HEADER =
i_tab_raw_data = i_tab_raw_data
i_filename = p_filepath
TABLES
i_tab_converted_data = l_table
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
‎2006 Sep 28 10:36 AM
‎2006 Sep 28 10:38 AM
‎2006 Sep 28 10:59 AM
easy way of doing this is by using the FM "TEXT_CONVERT_XLS_TO_SAP"
here is the link,how to do that.
http://www.sapdevelopment.co.uk/file/file_upexcel.htm
Regards
srikanth
‎2006 Sep 28 10:38 AM