Skip to Content
author's profile photo
Former Member

Download

Hi.

am using Gui_download .

i want to save the file in CSV type . how to do this.

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 08:54 AM

    Hi,

    From the final table concatenate all the field values by COMMA and place it in the in anothre internal table containing one field of type character and size equal to or greater than sum all the field lengths in the final value table. Then use this table with gui_download. The name of the file should end with '*.csv'. You have CSV file.

    Thanks...

    Preetham S

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 08:55 AM

    export FILETYPE as 'CSV'

    Sameer

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 08:55 AM

    hi,

    you can generate a CSV in one of the following ways.

    GUI_DOWNLOAD

    1) generate the comma seperated entries in your internal table and download it with extension .csv

    2) use the WRITE_FIELD_SEPARATOR field to specify comma as field seperator.

    i would suggest the first one.

    Regards,

    Kanchan

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 08:59 AM

    Hi,

    use the FM

    SAP_CONVERT_TO_CSV_FORMAT

    Regards,

    nagaraj

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 09:32 AM

    Thanks to all.

    Add comment
    10|10000 characters needed characters exceeded