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

Question to CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

Hi,

i use this class to download data to präsentation server.

i create the itab dynamicly. it works OK, but i have problems with

value-fields, which shell have allwas the some lenght.

For example i will doenloa PA0015 the field PA0015-BETRG

has someone a lenght of 6 and someone a lenght of 8 char.

Question: can i give the class, which i use, any parameter

which says that fields have the same lengh?

Or is ther another was to download it?

CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD

EXPORTING

FILENAME = DATEI_PC

FILETYPE = 'ASC'

WRITE_FIELD_SEPARATOR = 'X'

CHANGING

DATA_TAB = [].

Thanks.

Regards, Dieter

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2007 at 10:48 AM

    Hi

    I can only suppose the method should manage the TAB in order of the size of the fields of the structure <GT_ITAB>.

    If it can't do it, probably you should write the data (in order of structure <GT_ITAB>) in a new table before downloading them without using WRITE_FIELD_SEPARATOR parameter.

    Max

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 13, 2010 at 01:20 PM

    Hi Dieter,

    I have a similar situation, the on-the-fly generated structure have all fields of type string but the sy-subrc gets sets to 6 (unknown error).

    @Max: i did not get the point of "in order of structure <GT_TAB>". Can you please elaborate?

    Regards,

    Pankaj

    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.