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

using function module Read_text

Former Member
0 Likes
574

Hi Experts

I Am trying to extract info record Purchase order text.

I am using the function module " Read_text".

The input parameters which I am using are

CLIENT <cl>

ID BT

LANGUAGE EN

NAME <inforecordnopurchaseorgcategoryplant>

OBJECT EINE

However I find an inconsistency in data extraction.

If the Purchase order text is automatically populated from material master in the inforecord the function module

does not return back any data.

( There is status"*" on screen against such inforecord text)

When the Purchase order text is changed at inforecord level , the function module returns the correct data

(There is status no "*" on screen against such inforecord text)

Please do advise how do we get the correct data for both the above scenarios.

Thanks and Regards

Vikrant

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
447

If READ_TEXT doesn't return text for the inforec (you can tell whether it will or not by simply reading table STXH for the values), do a 2nd call to READ_TEXT supplying the MM master data text you've alluded to.

1 REPLY 1
Read only

Former Member
0 Likes
448

If READ_TEXT doesn't return text for the inforec (you can tell whether it will or not by simply reading table STXH for the values), do a 2nd call to READ_TEXT supplying the MM master data text you've alluded to.