11-25-2006 4:03 AM
Hi,
I have created a texteditor ( SAP Enjoy control ) in my screen. I want to save and update the text in it as long text. I have used the <b>'get_text_as_stream'</b> function to read the text from the editor. I also used the <b>'CONVERT_STREAM_TO_ITF_TEXT'</b> function to preserve formatting for printing purposes. When I use the latter one, suppose if I had typed a '&' in the texteditor, it gets converted to '<(>&<)>' . The former function call perfectly picks the content of the editor.
Please help me on this..
Regards,
Nikhil Gopalan
11-25-2006 4:16 AM
ur correct but the thing is when u use some characters they get converted into some sort of strings like & will go as <(>&<)>...But when u read the text again it displays as &....
11-25-2006 4:16 AM
ur correct but the thing is when u use some characters they get converted into some sort of strings like & will go as <(>&<)>...But when u read the text again it displays as &....
11-25-2006 4:39 AM
Dear Ramesh,
Thanks for you reply!
You are correct. When I re-read into the textbox, it appears perfectly.The problem is when I print the same in SMARTFORMS. I get the junk characters in the printed output.
Regards,
Nikhil Gopalan
05-16-2016 8:55 PM
06-11-2016 9:03 AM
Hi Nikhil,
we can use READ_TEXT function module to get the value.
And use replace all occurrence of <(>&<)> value with &.
Thanks,
Sivanadh