Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: ALSM_EXCEL_TO_INTERNAL_TABLE hangs

$
0
0

Hi Kurt,

 

why you are not using FM 'TEXT_CONVERT_XLS_TO_SAP'. It will be quite faster and no need to provide column and row parameters as well.

 

 

  TYPE-POOLS truxs.

  DATA : lt_tab_raw_data      TYPE truxs_t_text_data.

 

 

 

 

 

*Get data of Excel File into Internal table.

 

  CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'

    EXPORTING

      i_field_seperator    = 'X'

      i_line_header        = 'X'

      i_tab_raw_data       = lt_tab_raw_data

      i_filename           =  p_file "file name with path

    TABLES

      i_tab_converted_data = <fs_dyntable>  "Target table

    EXCEPTIONS

      conversion_failed    = 1

      OTHERS               = 2.


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>