02-07-2008 9:32 PM
Hello friends,
I am using the WS_DOWNLOAD function Module and it gives me a short dump.
DATA: BEGIN OF I_PA0002 OCCURS 10.
INCLUDE STRUCTURE PA0002.
DATA: END OF I_PA0002.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'ASC'
TABLES
data_tab = I_PA0002
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
IS it because of a lot of data.
02-07-2008 9:34 PM
02-07-2008 9:34 PM
02-07-2008 9:55 PM
02-07-2008 9:37 PM
A basic correction but may help, can you change your internal table as occurs 0 ?
02-07-2008 9:41 PM
Hi
check the types you declared the varialbes you are passing..
file name need to be declares as
datA: p_file type RLGRAP-FILENAME.
02-07-2008 9:41 PM
it may not be because of huge data.
check the p_file type, it should be RLGRAP-FILENAME.
and check ur SAP version. Above version 5.00, this fm is obsolete.
02-07-2008 9:47 PM
Hi
what does the dump say?
options: try gui_download..and u can't use this Fm in back ground processing.
Cheers
~Arun