Hi Kbs ,
Here is the code i am using, excel columns and internal table colums have to be same sequences!
type-pools: truxs,slis.
data gv_raw type truxs_t_text_data.
selection-screen begin of block b2 with frame title text-000.
parameters: p_fname type rlgrap-filename obligatory.
selection-screen end of block b2.
call function 'TEXT_CONVERT_XLS_TO_SAP'
exporting
i_line_header = 'X'
i_tab_raw_data = gv_raw " WORK TABLE
i_filename = p_fname
tables
i_tab_converted_data = gt_excel[] "ACTUAL DATA
exceptions
conversion_failed = 1
others = 2.