02-26-2007 9:07 AM
02-26-2007 9:20 AM
Hi!
You can check the import and export parameters in SE37 transaction.
This function module calls 2 methods:
CALL METHOD cl_gui_frontend_services=>file_open_dialog (pick the file from dialog) and then
CALL METHOD cl_gui_frontend_services=>gui_upload (uplaod picked file)
You have to use somehow like this:
CALL FUNCTION 'c13z_upload_dialog'
IMPORTING
filemask = '*.txt'
EXPORTING
cancel = gv_cancel
TABLES
data_tab = gt_main. "gt_main is your internal table
Regards
Tamá
02-26-2007 9:20 AM
Hi!
You can check the import and export parameters in SE37 transaction.
This function module calls 2 methods:
CALL METHOD cl_gui_frontend_services=>file_open_dialog (pick the file from dialog) and then
CALL METHOD cl_gui_frontend_services=>gui_upload (uplaod picked file)
You have to use somehow like this:
CALL FUNCTION 'c13z_upload_dialog'
IMPORTING
filemask = '*.txt'
EXPORTING
cancel = gv_cancel
TABLES
data_tab = gt_main. "gt_main is your internal table
Regards
Tamá