on 06-04-2012 7:59 AM
Hi Team,
I need to know about text editor properties.
I have requirement that i have to use Text editor.
I am saving whole data in in SO10 object.
But i cant fetch data properly.
Because i am using string for binding.
Properties cols - 100 and rows - 15
I want by default new line character at start or end of each rows of string in text editor.
Regards,
Sachin.
9960858996
Sachin,
till now you are right. and some more steps to be done.
data: lt_tline type table of tline,
ls_tline type tline,
lv_string type string.
1. use 'READ_TEXT' FM to get text from SO10 which give you TLINE format table (lt_tline).
loop at lt_tline into ls_tline.
concatenate lv_string ls_tline-tdline into lv_string.
clear: ls_tline.
endloop.
2. Now lv_string contains full text of SO10.
3. Bind lv_string to textedit UI element text.
test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.