2007 Nov 27 5:18 AM
A function module that takes an xml structure as an input and returns a xml string as output is working correctly in a non-unicode system but not in a unicode system. The problem is that the output xml string (of type string) contains some chinese-like characters in the unicode system while it works perfectly in the non-unicode system.
Could someone please suggest what changes should be made to make this work in the unicode as well.
The function module in consideration is in SRM system, it is /SAPPSSRM/CREATE_XML.
The xml structure that it takes as input is of the following type :
dictionary structure : BBPS_XML
fields : version type string
encoding type string
elements type bbpt_xml_table. (this is a table containing xml data)
Any suggestions will be very helpful.
regards,
Priyank
A function module that takes an xml structure as an input and returns a xml string as output is working correctly in a non-unicode system but not in a unicode system. The problem is that the output xml string (of type string) contains some chinese-like characters in the unicode system while it works perfectly in the non-unicode system.
Could someone please suggest what changes should be made to make this work in the unicode as well.
The function module in consideration is in SRM system, it is /SAPPSSRM/CREATE_XML.
The xml structure that it takes as input is of the following type :
dictionary structure : BBPS_XML
fields : version type string
encoding type string
elements type bbpt_xml_table. (this is a table containing xml data)
Any suggestions will be very helpful.
regards,
Priyank
2007 Nov 29 11:29 AM
2008 May 13 9:47 AM
Hi Priyank,
I am having the same problem. Am using the IXML classes here to do it. It works fine in 4.7 (non-unicode) but in ECC6(Unicode) system, the output XML file contains the junk/chinese characters.
Can you explain how you solved the problem?
TQ
2008 May 13 9:51 AM
Hi Claire,
Its been some time since i was working on this. But as much as i can remember, i changed the encoding value to make this work.
try doing the same. probably it works for you too.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |