on 10-19-2010 10:29 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.