cancel
Showing results for 
Search instead for 
Did you mean: 

custom text editor save issue

Former Member
0 Kudos

Hi,

I need to save data of custom text editor in a table but text editors input data value is very log, is there any way to i can store the data in my ztable as id and rest text editor data store in sap statndard table.

i m using below code for reading date from text editor and code reading input data properly from editor .

data: itftext type tline occurs 0, " ITF text table

notetab type notetab_line occurs 0. " text table for TextEdit Control

form READ_TEXT_FROM_NOTE_EDITOR .

  • * read text from note editor

call method note_editor->get_text_as_stream

importing text = notetab.

perform flush.

  • and convert text stream into ITF text

call function 'CONVERT_STREAM_TO_ITF_TEXT'

tables text_stream = notetab

itf_text = itftext.

endform. " READ_TEXT_FROM_NOTE_EDITOR

But now i want save this editor data, pls provide me code for that.

Thanks in advance,

Tarun

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

solved by myself

Sm1tje
Active Contributor
0 Kudos

I don't think this is possible. But why not create a field in your ztable of type string, and store it there?