Curenlty I am using SET_TEXT_AS_STREAM method of class CL_GUI_TEXTEDIT to display text. Since my table contains voth the format and the text, the format is also getting displayed as a text in the editor.
Eg. My table contains value as
My output in the Text editor is
but i need only 'Vijay' to be displayed not the *.