on 12-09-2015 9:54 AM
Hi
I have this issue with a SAP script text in Webdynpro. I have a TextView on screen:
First of all i convert the text from TextView to SAP Script format by this
DATA: lt_tline TYPE tline_t
,stream TYPE STANDARD TABLE OF text1024.
SPLIT text_stream AT cl_abap_char_utilities=>cr_lf INTO TABLE stream.
CALL FUNCTION 'CONVERT_STREAM_TO_ITF_TEXT'
EXPORTING
language = sy-langu
TABLES
text_stream = stream
itf_text = lt_tline.
....
CALL FUNCTION 'SAVE_TEXT'
EXPORTING.....
text_stream is the content from the screen...
When i need to read the text back, i use this
CALL FUNCTION 'TEXT_READ'
EXPORTING...
....
data stream_part type standard table of text1024.
call function 'CONVERT_ITF_TO_STREAM_TEXT'
tables
itf_text = lt_tline
text_stream = stream_part.
concatenate lines of stream_part into text_stream.
....
But the problem is that somehow i get an xtra Linefeed into the TextView
Any good ideas?
Hi
Sorry for not responding... The problem solved, but to be honest i don't know how...
I went home and when i got back monday morning there was no problems?! So some kind of browser issue i think...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jakob...
this can also be an issue with the browser you are using. did you already try an different browser?
BR
iSD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to sort LT_TLINE and check.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.