on 05-11-2009 5:00 AM
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
solved by myself
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't think this is possible. But why not create a field in your ztable of type string, and store it there?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.