on 05-08-2008 8:15 AM
Hi Friends,
I am facing a problem while using READ_TEXT FM.
I am fetching the item texts using the FM.
Suppose if my text contains a '&' it is displayed as
<(>&<)> in the output.
Please let me know how to solve it if anyone has come across this.
Thanks in advance,
Kanda.
Hi Kanda,
The thing is not wrong with READ_TEXT FM that is wrong with the Text in SO10....check the text in that and check the Font what Functional is Using...
r u using this Text in Script or SF..
Regards,
sg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suneel,
Thanks for the mail.I am using the standard text in smartform.I checked in debug mode and the value is scrapped only in the FM.
if rt_header-tdtexttype is initial. "SAPscript format
import tline to rt_lines
from database stxl(tx)
client rt_client
id stxl_id
ACCEPTING TRUNCATION "important for Unicode
IGNORING CONVERSION ERRORS.
After this the contents of the tdline is
C M<(>&<)>M's <(>&<)>
Please let me know if somewhere I am going wrong.
I am using standard font Arial.
Thanks in advance,
Kanda.
Hi Kandaswamy,
Try this way of coding.
Chk this sample :
After fetching the text using the FM, use *replace all occurences of <)> with ' ' * and later use CONDENSE keyword, as & is used for dynamic fetching of variables.
Later use WRITE stmt. for printing.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.