‎2008 Jun 11 7:15 AM
I have created text-editor but I dont know how to capture the text in the text-editor and SAVE it in the database table or capture it into an internal table.
‎2008 Jun 11 8:07 AM
Hi Naveen,
Check ur previous thread.....the method get_text_as_r3table returns text typed in de editor into an internal table......
From an int table u can easily store it in DB table using Insert/Modify commands(check F1 hlp)...
CALL METHOD text_editor->get_text_as_r3table
IMPORTING
table = lt_texttab " Text tyed in editor gets collected in this table
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
IF sy-subrc 0.
ENDIF.
Cheers,
Jose.
‎2008 Jun 11 8:07 AM
Hi Naveen,
Check ur previous thread.....the method get_text_as_r3table returns text typed in de editor into an internal table......
From an int table u can easily store it in DB table using Insert/Modify commands(check F1 hlp)...
CALL METHOD text_editor->get_text_as_r3table
IMPORTING
table = lt_texttab " Text tyed in editor gets collected in this table
EXCEPTIONS
error_dp = 1
error_dp_create = 2
OTHERS = 3.
IF sy-subrc 0.
ENDIF.
Cheers,
Jose.