Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Problem with GUI_DOWNLOAD

Former Member
0 Kudos

I have a internal table with records length 256 characters. This table must be placed on the PC in Latin-5, but i don't want to have CR LF.

Which parameters i need to fill on GUI_DOWNLOAD to place the table on the PC and which for the GUI_UPLOAD

Now i'm using

DATA lc_codepage TYPE abap_encod.

lc_codepage = '1611'.



filename = ls_filename

  • filetype = 'ASC'

  • WRITE_LF = 'X'

codepage = lc_codepage

This give CRLF.

Using BIN gives a very big file. Even bigger dan the one with CRLF.

Using ASC and write_lf = spaces gives a dump.

The file is 8 MB big.


Former Member
0 Kudos

Hi Maarten,

I am not sure, but maybe you should use the Class CL_GUI_FRONTEND_SERVICES. This method has a lot of methods, one of them is GUI_DOWNLOAD. There are a lot of parameters.

Hope it will help you.

Greetings Maarten