Hi,
Unicode or Non-Unincode System ?
Displayed where ? SAPGUI ? Print Preview ? Spool-Display ?
And how is the XML file written ? OPEN DATASET ? BAPI ?
At all of these stages it might be either that it is only a display system, like the selected display CHARSET in SAPGUI, when it is a non-unicode system, or simply not coded correctly like OPEN DATASET without specifying the cdepage when necessary.
And it might even be, that even "displaying" the XML File is simply done with the incorrect codepage while the data inside the file is correct.
If you are on Windows, you might even face funny results when saving a simple textfile from notepad with ANSI/DOS and both Unicode variants and then go to CMD.EXE ans simply "type" the content.
All 4 results will be different, allthough notepad will display the same stuff.
So first of all, makes sure which codepage is relevant at all stages from DB-table to "display"
- DB-Charset
- SAP system type (unicode/non-unicode)
- SAP codepage (1100 / 410x )
- crosscheck the test from report RSCPINST
- Codepage on Windows running SAPGUI
- Selected codpage for Sapgui
:
:
Good hunting
Volker