2007 Nov 01 5:44 AM
Hi experts,
I am using jco (invoke the BAPI) to get the informations from SAP/R3 (4.7) ... but i found that the charset is incorrect . The chinese cannot be displayed ...
Has someone can help me ???
i checked the attribute of the JCOClient found the codepage is : 4103 utf-16...
but my SAP/R3 system is 8400 ....
thanks a lot
Carlos
2007 Nov 01 6:05 AM
I already assigned the codepage to the jco object, but it seems not available...
jcoPropeties.setProperty("jco.client.client", "590");
jcoPropeties.setProperty("jco.client.user", "BC_TRANS");
jcoPropeties.setProperty("jco.client.passwd", "sapsap");
jcoPropeties.setProperty("jco.client.lang", "ZH");
jcoPropeties.setProperty("jco.client.ashost", "192.168.38.23");
jcoPropeties.setProperty("jco.client.sysnr", "29");
jcoPropeties.setProperty("jco.client.codepage", "8400");
.....
...
Output :
[codepage]4103 LANGEUAGE: 1 CHARSET :UTF16
....
..
Anybody can help me ?
2007 Dec 24 4:01 AM
The problem was solved !
Reason : it is the OS problem , when i using the chinese windows server 2003. the problem is solved !