Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with READ_TEXT FM

Former Member
0 Likes
608

HI Experts,

I am facing a problem while using READ_TEXT FM. The function is returning sum wiered text for specail charter &.

it displays like <(>&<)>.

How so I solve this problem?

1 ACCEPTED SOLUTION
Read only

pramodu
Active Participant
0 Likes
536

Hi,

If you still problem is not solved call the FM SF_SPECIALCHAR_DELETE.

Pass the line returned from READ_TEXT to FM SF_SPECIALCHAR_DELETE and it will remove from

specila chars.

Thanks,

Pramod

4 REPLIES 4
Read only

sachin_yadav3
Active Participant
0 Likes
536

It is bocz of the input parameter which u r passing to the FM.

Make sure u r passing correct parameters.

Read only

0 Likes
536

Hi Sachin,

I am Passing

CALL FUNCTION 'READ_TEXT'

EXPORTING

id = 'F03'

language = sy-langu

name = PO Number

object = 'EKKO'

TABLES

lines = it_lines[]

.

What else should I pass?

Read only

pramodu
Active Participant
0 Likes
536

Hi,

I am not sure what you have passed to FM

It is used as below

CALL FUNCTION 'READ_TEXT'

EXPORTING

id = ' ' ( Text id STXH-TDID

language = sy-langu

name = likp-vbeln

object = 'VBBK'

TABLES

lines = l_it_lines

Thanks,

Pramod

Read only

pramodu
Active Participant
0 Likes
537

Hi,

If you still problem is not solved call the FM SF_SPECIALCHAR_DELETE.

Pass the line returned from READ_TEXT to FM SF_SPECIALCHAR_DELETE and it will remove from

specila chars.

Thanks,

Pramod