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