2007 Jul 26 2:23 PM
Hi all
How can I read contents of text file (from local directory)?
Actully there are two lines (300 chars each ) in side text file.
I just want to display on screen...
could any one please help...
2007 Jul 26 2:24 PM
DATA: BEGIN OF wa_itab OCCURS 0,
line TYPE string.
DATA: END OF wa_itab .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file "File Location
TABLES
data_tab = wa_itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
Hi all
How can I read contents of text file (from local directory)?
Actully there are two lines (300 chars each ) in side text file.
I just want to display on screen...
could any one please help...
2007 Jul 26 2:24 PM
DATA: BEGIN OF wa_itab OCCURS 0,
line TYPE string.
DATA: END OF wa_itab .
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file "File Location
TABLES
data_tab = wa_itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
2007 Jul 26 2:24 PM
Hi,
use FM Gui_DOWNLOAD
if helpful reward some points.
with regards,
Leo Ierardi.
2007 Jul 26 2:25 PM
Hi,
Use Gui_ upload to load the data from presentation server.
Reward if helpful.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |