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

Re: Upload data from XCEL to internal table in SAP GTS system

$
0
0

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.


Viewing all articles
Browse latest Browse all 9071

Trending Articles



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