‎2009 Feb 03 2:53 PM
Hi all,
I use the func. read_text but the text that i got is looking like this : "<AB>i</><AB>go</><AB>to</><AB>school</>"
what is the problem?does anyone competing with this undesired effect?
‎2009 Feb 03 2:55 PM
check SO10 with the parameters that u hv passed to read text.
see what is maintained thr.
‎2009 Feb 04 5:04 AM
The paragraph defined for the line may have some formatting like Tabs.
‎2009 Feb 04 5:10 AM
HI,
See if you are passing the correct ID, LANGUAGE and OBJECT and using the correct type for lines paramater.
Here is a demo:
DATA : BEGIN OF ST_LINE OCCURS 0,
TDFORMAT LIKE TLINE-TDFORMAT,
TDLINE LIKE TLINE-TDLINE,
END OF ST_LINE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = '0001'
language = 'E'
name = W_TDNAME
object = 'MVKE'
tables
lines = ST_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Vinod.
‎2009 Feb 04 5:10 AM