Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Text-Editor in Module pool programming

Former Member
0 Likes
401

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
369

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.

1 REPLY 1
Read only

Former Member
0 Likes
370

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.