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: 

GUI_UPLOAD and UNICODE or UTF-8

Former Member
0 Kudos
8,807

Hello,

I wanted to convert some files in SAP, i.e. :

- data is processed in MS Excell and saved as Unicode file

- I read the file into SAP, process the strings and write it back

The problem is that there are some special polish characters in the file. I read the file using GUI_UPLOAD FM, but I didn't manage not to have these special characters replaced (by # by default).

Anyone came across this problem before?

Regards,

Michal

2 REPLIES 2

Former Member
0 Kudos
873

Hi Michal,

Try this by sending value to the CODEPAGE parameter of the function module GUI_UPLOAD. Send the respective code page value to this parameter.

Satya

873

Hello Satya,

Actually I forgot to write that I used the CODEPAGE parameter... I tried two cases:

1. Save as Unicode (in Excel or Notepad) and than use CODEPAGE = "4103"

2. Save as UTF-8 in Notepad and use CODEPAGE = "4110"

In both cases the polish caracters are replaced by '#'.

In fact I tried many other code pages (all from tcp00a), but all other combinations return an error.

Regards,

Michal