Hi all,
I am trying to get the text from text editor using the method (get_text_as_stream) from the class (cl_gui_textedit).
Code :
when 'SAVE'.
CALL METHOD g_editor->get_text_as_stream
EXPORTING
ONLY_WHEN_MODIFIED = 1
IMPORTING
TEXT = gt_text[]
IS_MODIFIED = lc_x
EXCEPTIONS
ERROR_DP = 1
ERROR_CNTL_CALL_METHOD = 2
others = 3
While saving first time it is working fine. But when i click the save button twice or editing the text it is not fetching the text from the text editor. Can anyone tell me about it?