cancel
Showing results for 
Search instead for 
Did you mean: 

READ_TEXT showing problem in smart-forms

Former Member
0 Kudos

Hi All,

I am using the FM READ_TEXT in Smartforms.I have a text like M & M.When passed in the FM i get the output as M<(>&<)>M.

Symbol & is displayed as junk.

I debugged the FM and i can find it is getting converted at

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.

So please help me how to resolve this issue.I am using Arial font size 8.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Pravik,

Check with the font as you said you are using arial font.

Regards,

Sravanthi

Former Member
0 Kudos

after fetching the text using FM READ_TEXT you need to replace the text like

REPLACE 'M<(>&<)>M' with 'M & M' into TEXT.