cancel
Showing results for 
Search instead for 
Did you mean: 

How to use long text editor in Webdynpro

Former Member
0 Kudos

hi ,

I want to use text editor in webdynpro. I want to save the data in long text.

My requirement is the format of data should remain same(It should not get changed).

Thanks

SK

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

use text editor uielement and bind it with a attribute of type string. convert this string into a table using function module

fill another internal table which is type compatible with table of SAVE_TEXT function module.

CONVERT_STRING_TO_TABLE. Call the function module SAVE_TEXT to save this text.

you need to find proper tdobject and tdid value which is to be passed in importing parameter "header".

similarly use FM "READ_TEXT" and convert the returned data into string using FM CONVERT_TABLE_TO_STRING.

Bind the returned table to an attribute of your context. The data will be displayed in the same format in which you entered it.

Thanks

Vishal Kapoor

Edited by: vishal kapoor on Oct 19, 2010 3:51 PM