Application Development 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: 

Problem with READ_TEXT FM

Former Member
0 Kudos

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

pramodu
Active Participant
0 Kudos

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

sachin_yadav3
Active Participant
0 Kudos

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

Make sure u r passing correct parameters.

0 Kudos

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?

pramodu
Active Participant
0 Kudos

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

pramodu
Active Participant
0 Kudos

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