2010 Apr 23 12:39 PM
Hi All,
I am using a Text Edit (Webdynpro UI Element) to get the input. The value is the converted to GUID Text and stored in the DB.
In another screen, I want to display that value. I am using READ_TEXT FM for converting GUID to string.
The problem that I am facing is that I am getting the input as a single paragraph and not with the formatting (as paragraphs) that the user has made when giving inputs. The output is just a single para.
Is there any way to read the text with formatting?
Hi All,
I am using a Text Edit (Webdynpro UI Element) to get the input. The value is the converted to GUID Text and stored in the DB.
In another screen, I want to display that value. I am using READ_TEXT FM for converting GUID to string.
The problem that I am facing is that I am getting the input as a single paragraph and not with the formatting (as paragraphs) that the user has made when giving inputs. The output is just a single para.
Is there any way to read the text with formatting?
2010 Apr 23 12:43 PM
Hi,
Use the function module "FORMAT_TEXTLINES" to format the text retrieved using READ_TEXT
data : it_lines_sp type standard table of tline,
call function 'FORMAT_TEXTLINES'
exporting
cursor_column = 0
cursor_line = 0
endline = 99999
formatwidth = 40
linewidth = 40
startline = 1
language = sy-langu
tables
lines = it_lines_sp.Regards
Vinod
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |