Skip to Content
0
Former Member
May 20, 2010 at 05:41 AM

how to increase the width of FM gui_upload

54 Views

Dear all,

i want to upload one file through FM gui_upload.

althrough i define record 700 characters, but when i transfer file to i_upload, each entries in i_upload can't exceed 255.

does anyone know how to incease the lengh of entries?

thanks in advance.

DATA begin of i_upload,

record(700) typc c,

end of i_upload.

CALL FUNCTION 'GUI_UPLOAD'

EXPORTING

FILENAME = INP_FILE

FILETYPE = 'ASC'

HAS_FIELD_SEPARATOR = 'X'

TABLES

DATA_TAB = i_upload

EXCEPTIONS

FILE_OPEN_ERROR = 1

FILE_READ_ERROR = 2

NO_BATCH = 3

GUI_REFUSE_FILETRANSFER = 4

INVALID_TYPE = 5

UNKNOWN_ERROR = 6

OTHERS = 7.