cancel
Showing results for 
Search instead for 
Did you mean: 

Text editor

0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

chengalarayulu
Active Contributor
0 Kudos

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.

chengalarayulu
Active Contributor
0 Kudos

is it resolved?

0 Kudos

Yes its resolved.

Thanks,

Regards,

Sachin

Answers (0)