Skip to Content
0
May 15, 2008 at 10:32 PM

Incomplete internal table downloading to pc file

47 Views

Hi

I'm downloading an internal table to pc local file with the function 'DOWNLOAD'.

But some times the internal table is downloaded incomplete, that is it only creates a pc file with some N first records of internal table.

I don't find what causes this , i look the internal tables generated and i do not see any special in the data.

The code is:

call function 'DOWNLOAD'

exporting

filename = 'C:\report.xls'

filetype = 'DAT'

tables

data_tab = int_tab

exceptions

invalid_filesize = 1

invalid_table_width = 2

invalid_type = 3

no_batch = 4

unknown_error = 5

gui_refuse_filetransfer = 6

customer_error = 7

others = 8.

I use this function because this FM itself ask for the path-file to create in a window where user can give the pc file name.

Does somebody knows if this FM has a 'special' behavior or if there is other FM wich i can use ?

Regards

Frank