02-15-2007 9:58 AM
Hi mighty ABAP experts,
I have created a standard text via SO10 and retrieves it with the FM READ_TEXT.
But I seem to get escape characters with the text.
output from the FM:
</STYLE>
</HEAD>
<body>
<(><<)>p>
<table width="640" cellSpacing=0 cellPadding=0 border=0>
<(><<)>tr>
<td width="500" class="leftborder" style="padding-bottom: 4mm">
<(><<)>b>Til: <(><<)>br> <(><<)>br>%ORGEH%, %TEAMLEAD%<(>
<<)>/b></td>
<td width="140" class="border" style="padding-bottom: 4mm">
<(><<)>b>Dato: <(><<)>br> <(><<)>br>%date% <(><<)>/b><(>
<<)>/td>
</tr>
The string "(><<)>" is not present in the text saved in SO10.
How do I get text exactly like it is typed in SO10?
02-15-2007 10:02 AM
Hi,
What are the Parameters you are passing to the FM READ_TEXT:
You have to pass: TDNAME, TDOBJECT,TDIF, TDSPRAS etc.
You will get the Similar text of SO10 in the Table LINES (TLINE).
You are getting all HTML tags, Why?
Pass the above paramters correctly it will fetch the exact text.
Regards,
Anji
02-15-2007 10:04 AM
Hello,
This string (><<)> which is being dispalyed in text ,what was the exact character that you have saved in text ?
Just see if you can enter this character by isert-> displayable charcters menu option.
Hope this helps.
Thanks.
02-15-2007 10:09 AM
TDNAME = ZHR_ABS_VARIGHEDSATTEST
TDOBJECT = TEXT
TDIF = ST
TDSPRAS = DA
I have saved a html mail, that I would like to maintain in SO10.
I expect to output to be:
</STYLE>
</HEAD>
<body>
<P>
<table width="640" cellSpacing=0 cellPadding=0 border=0>
<tr>
<td width="500" class="leftborder" style="padding-bottom: 4mm"> <b>Til: <br> <br>%ORGEH%, %TEAMLEAD%</b></td>
<td width="140" class="border" style="padding-bottom: 4mm"> <b>Dato: <br> <br>%date% </b></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
02-15-2007 10:37 AM
just check whenever you need new line with space ...ar you putting the correct instrcution in text.(i.e.tag column entry where you can select raw line,continuous line etc...is correct or not.) just put default paragraph where you need empty line.
Thanks.
02-15-2007 11:16 AM
I have solved the problem by calling the FM CONVERT_ITF_TO_STREAM_TEXT after the calling the FM READ_TEXT. This give me the text just as I want it.