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: 

Chinese characters GUI Download to text file

Former Member
0 Kudos

hello

i am facing the issue in my BP extraction program, which is extracting all the Business Partners from table BUT000

to text file. I found related topic on the forum but it does not seem to work properly.

I have a BP with name: 黄晖

in SAP GUI.

My code:

CALL METHOD cl_gui_frontend_services=>gui_download

EXPORTING

filename = wv_filename2

filetype = 'DAT'

append = 'X'

write_field_separator = 'X'

col_select = 'X'

col_select_mask = wv_file_mask

codepage = '4103'

write_bom = 'X'

CHANGING

data_tab = wt_zessrin051_venex_new2

after running my program, text file is generated, which I open in Excel (as simplified Chinese) with this result of the same BP name:

臑Vf

the result after extraction is not the same as in SAP.

can anybody help on this?

Thanks in advance

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos

can you try filetype = 'ASC'

4 REPLIES 4

former_member156446
Active Contributor
0 Kudos

can you try filetype = 'ASC'

0 Kudos

it does not help. i have the same output as with "DAT"

0 Kudos

code page = 8400

0 Kudos

works

thanx