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

How to extract item text in PR... using function module read_text...?

Former Member
0 Likes
3,839

Dear all,

I want to extract the Item text in transaction ME53N.

for that I'm using function module READ_TEXT.

for the above function module we have to provide 7 inputs...

I want to know

Name = ?

object = ?

Archive_handle = ?

Local_cat = ?

were can we get above variables....?

Regards

Nagaraju.B

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,166

Hi,

ID = 'B01'

NAME = '001002150700010' this is combination of PReq + item.

here reqno = 0010021507

item no = 00010

OBJECT = 'EBAN'.

Thanks,

Hari

5 REPLIES 5
Read only

Former Member
0 Likes
2,166

Please check the table T166P for item text details.

Read only

Former Member
0 Likes
2,166

Hi,

Try This code

CALL FUNCTION 'READ_TEXT' EXPORTING client = sy-mandt id = 'B01' language = sy-langu name = w_zht_tdname " PR Number object = 'EBANH' TABLES lines = t_zht_lines EXCEPTIONS id = 1 language = 2 name = 3 not_found = 4 object = 5 reference_check = 6 wrong_access_to_archive = 7 OTHERS = 8.

Regards

Krishna

Read only

Former Member
0 Likes
2,166

Do a where used list on the FM in your system and look for the parameters UR interested.

This will easily solve your problem.

Read only

Former Member
0 Likes
2,167

Hi,

ID = 'B01'

NAME = '001002150700010' this is combination of PReq + item.

here reqno = 0010021507

item no = 00010

OBJECT = 'EBAN'.

Thanks,

Hari

Read only

Former Member
0 Likes
2,166

Hi,

Display item long text in Sapscript editor mode then do : Goto-->Header in the menu. The displayed popup contains the keys that are required by READ_TEXT FM.

Hope this will help.

Issa