I'm using a TextEdit Control in a Dynpro. To get the text within this TextEdit I've got two possibilities:
call method g_editor->get_text_as_r3table importing table = g_mytable.
call method g_editor->get_text_as_stream importing text = text_tab.
Text1 Text2 Text3
The first method (get_text_as_r3table) puts the text into a temporary table for each newline it makes a new line in the internal table. The content of g_mytable is:
line 1: Text1 line 2: line 3: Text2 line 4: Text3
The second method (get_text_as_stream) gives me the text in a stream mode separated by "#". The content of text_tab is:
As I need to store this text, <b>has anyone got any experience where and how to store this text, or which one is better, and easier to handle?</b> I would like to store it with a key in a table.
Thanks very much!