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

How to download a file to the development server??

Hi,

Can someone guide me as to how to download the contents of an internal table into the development server.

Kindly advice...

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 09:46 AM

    Hi Renu,

    You can use GUI_DOWNLOAD function module.

    Best Regards,

    Ram.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 09:48 AM

    Hi,

    To download to application server (or development server) use dataset operations like:

    Open dataset, trasfer, read, and close dataset. For exact syntax check tcode: abapdocu.

    To download to local system ( or presentation server) use function module gui_download

    Thanks & Regards,

    Navneeth K.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 09:49 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 09:49 AM

    Hai,

    FILE_READ_AND_CONVERT_SAP_DATA --> Uploads the file from either presentation or application server into an internal table

    GUI_UPLOAD --> Upload a file from the presentation server

    Regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2008 at 09:52 AM

    Hi,

    for the downloading the internal table into development server means downloading the data into application server.

    you can use the key word

    OPEN DATASET .......

    eg:

    parameters:p_file like rlgrap-filename default 'F:\usr\sap\.....'.

    open dataset p_file for input in text mode encoding default.

    do.

    read dataset p_file into it_tab.

    if sy-subrc = 0.

    pass the value of it_tab to it_final.

    it_final-pernr = it_pa0002+0(8).

    append it_final.

    clear it_final.

    else.

    exit.

    endif.

    enddo.

    close dataset p_file.

    Regards,

    Venkatesh

    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.