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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Download

Former Member
0 Kudos

Hi.

am using Gui_download .

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

export FILETYPE as 'CSV'

Sameer

Former Member
0 Kudos

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

former_member404244
Active Contributor
0 Kudos

Hi,

use the FM

SAP_CONVERT_TO_CSV_FORMAT

Regards,

nagaraj

Former Member
0 Kudos

Thanks to all.