Skip to Content
author's profile photo Former Member
Former Member

Problem with GUI_DOWNLOAD

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'.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 23, 2004 at 01:38 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.