I'm using method create_text in interface IF_IXML_DOCUMENT to convert the SAP data for sales orders into a XML file.
The problem i'm facing is when there are special characters in these texts like & ,<,>,lt etc... it is not converting into correct format.
For eg, if Material type is MAT&1 this method is returning MAT& .
similarly for other charaters .
any idea how to resolve it, would be very help full.
any OSS notes that needs to be applied .