Skip to Content
avatar image
Former Member

GUI_UPLOAD and UNICODE or UTF-8

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 06, 2006 at 10:57 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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