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

Read Text Problem

Former Member
0 Likes
636

Hi All,

I am using the function module Read_text for fetching the Purchase order text for a material using the id as BEST and object as MATERIAL.Problem occurs whenever there is & in the text it returns a different value.

For example actual text is -- Order for 1 pencil & 1 pen

Read text will give -- Order for 1 pencil <(>&<)> 1 pen

How can I get the actual text.

Regards

Lalit

4 REPLIES 4
Read only

Former Member
0 Likes
607

Hi,

Actually it scripts it behaves like that only..

But try in ur script like this 'Order for 1 pencil & 1 pen'.

and let me know how it is behaving..

dont write any & for '&'

Regards

Kiran

Read only

viquar_iqbal
Active Contributor
0 Likes
607

Hi

you need to pass correct ID, LANGUAGE and OBJECT and using the correct type for lines paramater

also try using read_text_inline

Thanks

Viquar Iqbal

Read only

kanishakgupta1
Contributor
0 Likes
607

HI frend,

Well the Read_text module picks the & character from Database in the way u have mentioned.

If u want to upload it somewhere again,then I can tell you that Create_text FM again removes these extra characters and jsut gives &.

So i suppose your problem is solved if u want to upload it somewhere else.

Read only

Former Member
0 Likes
607

Hi Lalit,

Is there any solution to this issue.. me too facing same problem.

If you got any solution plz share.

Thanks,

Shrinivas