SHARE
TWEET

Untitled

a guest Feb 20th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  TYPES:
  2.  
  3.   BEGIN OF lty_file_format,
  4.     matnr    TYPE matnr,
  5.     quant    TYPE w_pabbm,
  6.     price    TYPE w_plvkp,
  7.     pp_price TYPE w_plekp,
  8.   END OF lty_file_format.
  9.  
  10.  
  11.  DATA:
  12.     lv_file    TYPE rlgrap-filename,
  13.     lt_raw_tab TYPE truxs_t_text_data,
  14.     gt_file_in TYPE TABLE OF lty_file_format.
  15.  
  16. CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
  17.         EXPORTING
  18.           i_line_header        = 'X'
  19.           i_tab_raw_data       = lt_raw_tab
  20.           i_filename           = lv_file
  21.         TABLES
  22.           i_tab_converted_data = gt_file_in
  23.         EXCEPTIONS
  24.           conversion_failed    = 1
  25.           OTHERS               = 2.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top