Ver Mensaje Individual
  #2  
Viejo 02/10/09, 15:46:15
abfv abfv is offline
Senior Member
 
Fecha de Ingreso: feb 2008
Localización: Buenos Aires - Argentina
Mensajes: 144
Traer de archivo a tabla interna. Funcion

Fijate esta función.
Si no trata de explicar un poco mas tu necesidad. Ej. carga masiva de facturas.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = f_filename
filetype = f_filetype
TABLES
data_tab = f_data_tab
EXCEPTIONS
conversion_error = 1
file_open_error = 2
file_read_error = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Responder Con Cita