Application Development and Automation 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: 
Read only

gui_download codepage

Former Member
0 Likes
2,936

hi,

I am having trouble in viewing the excel file,

I have this guid_dowload using codepage 4103 to view the korean characters

when i open the text file it looks fine the korean characters are there but when i

open in excel file, the korean characters are still there but it was displayed in one column,

i still have to do the te-to-columns procedure t view it in separate columns are there

any solutions available so that when i open the file in excel it will be automatically tabbed delimited?

hi,

I am having trouble in viewing the excel file,

I have this guid_dowload using codepage 4103 to view the korean characters

when i open the text file it looks fine the korean characters are there but when i

open in excel file, the korean characters are still there but it was displayed in one column,

i still have to do the te-to-columns procedure t view it in separate columns are there

any solutions available so that when i open the file in excel it will be automatically tabbed delimited?

12 REPLIES 12
Read only

Former Member
0 Likes
2,041

Hi,

May be you will need to save the file as CSV file. All the field in the CSV file should be seperated by comma.

Cheers,

Read only

Former Member
0 Likes
2,041

yes it was saved as an csv file and it was separated with comma

Read only

0 Likes
2,041

Did you pass WRITE_FIELD_SEPERATOR = 'X' in GUI_DOWNLOAD?

Read only

Former Member
0 Likes
2,041

Write field seprator = ',' although by default also it is space.................

Read only

Former Member
0 Likes
2,041

yes i have the field separator = 'X' but it is still the same

Read only

Former Member
0 Likes
2,041

Hi,

Go to control panal -> date, time,langauge setting -> Regional language options the press customize button.

Here place , (Comma) as LIST SEPRATOR. If your text file is seprated by comma.

So if this setting is right you can open the file in excel and data will displayed in each and every column.

Regards,

Shanmugavel Chandrasekaran

Read only

Former Member
0 Likes
2,041

IT WAS ALREADY IN COMMA. PLEASE HELP.

Read only

0 Likes
2,041

Hi,

Please don't use all caps. Generally it is considered as RUDE

For your question, concatenate all the fields into string variable separated by CL_GUI_FRONTEND_SERVICES=>HORIZONTAL_TAB and append to internal table with single field of type string. Now download this table.

Thanks,

Vinod.

Read only

Former Member
0 Likes
2,041

May i know what are you writing as FILETYPE...

Read only

Former Member
0 Likes
2,041

sorry if you consider that as rude, it wasn't my intention... anyaway, i have no idea on how to use CL_GUI_FRONTEND_SERVICES=>HORIZONTAL_TAB, could you please show me a sample code,,

PS i am using a 'ASC' filetype.

thanks.

Read only

Former Member
0 Likes
2,041

Hi,

If you are downloading CSV file dont use HAS Fieldseprator as X in FM.

Still you encounter this problem.

Then in SAPLOGON pad right click on your system which you are working go to properties.

then press ADVANCED button here you select ENCODING as utf-16le which automatically downloads 4103 format.

don use 4103 in gui_download.

hope it helps,

Shanmugavel chandrasekaran

Read only

Former Member
0 Likes
2,041

@Shanmugavel chandrasekaran

Sorry i did not help me

@Vinod Vemuru

yes it did separate the fields into different columns but the field separator [,] [comma] was gone, please note that this is a CSV file which is viewed in EXCEL.